[Mono-list] Mono SIGABRT Error when using SystemSounds

Ratfish aaron at radich.com
Tue Jun 25 07:08:42 UTC 2013


I'm running Mono 3.0.12 on Ubuntu 13.04.  I've created a GTK# application
with MonoDevelop 4.1.4 and have found that I get a SIGABRT error if i play a
sound from the SystemSounds class several times.  Usually after the 2nd or
3rd time calling this statement, my application will quit with the following
stack trace.  Is this an error in the core mono?  

SystemSounds.Asterisk.Play();

Aaron
=========================================
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native)
Mono.Audio.AlsaDevice.snd_pcm_hw_params_free (intptr) <IL 0x00023,
0xffffffff>
  at Mono.Audio.AlsaDevice.Dispose (bool) [0x0003b] in
/opt/mono-3.0/mono/mcs/class/System/System.Media/AudioDevice.cs:200
  at Mono.Audio.AlsaDevice.Finalize () [0x00000] in
/opt/mono-3.0/mono/mcs/class/System/System.Media/AudioDevice.cs:185
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__
(object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff>

Native stacktrace:

	/usr/bin/mono() [0x80fa293]
	[0x4002240c]
	[0x40022424]
	/lib/i386-linux-gnu/libc.so.6(gsignal+0x4f) [0x400d8b1f]
	/lib/i386-linux-gnu/libc.so.6(abort+0x143) [0x400dc0b3]
	/lib/i386-linux-gnu/libc.so.6(+0x6bab5) [0x40115ab5]
	/lib/i386-linux-gnu/libc.so.6(+0x767e2) [0x401207e2]
	/lib/i386-linux-gnu/libc.so.6(+0x77530) [0x40121530]
	/usr/lib/i386-linux-gnu/libasound.so.2(snd_pcm_hw_params_free+0x1b)
[0x45bf956b]
	[0x44db6c44]
	[0x4a216b2c]
	[0x4a216a31]
	[0x4393c3b9]
	/usr/bin/mono() [0x81e8e77]

Debug info from gdb:

Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================



--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-SIGABRT-Error-when-using-SystemSounds-tp4660028.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list