[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?  



  at <unknown> <0xffffffff>
  at (wrapper managed-to-native)
Mono.Audio.AlsaDevice.snd_pcm_hw_params_free (intptr) <IL 0x00023,
  at Mono.Audio.AlsaDevice.Dispose (bool) [0x0003b] in
  at Mono.Audio.AlsaDevice.Finalize () [0x00000] in
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__
(object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff>

Native stacktrace:

	/usr/bin/mono() [0x80fa293]
	/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/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