[Mono-list] Fatal error when running a simple application under Mono

Brett Senior brett_senior at yahoo.com.au
Wed Mar 4 23:04:05 EST 2009


I am running a small, simple application using SVN release 128627 of Mono.  This application used to work fine under earlier (ie pre 2.2) releases of Mono but has began to crash when using the newer version.  When it runs I can interact with the widgets for a while and then it crashes with the below errors:


[0x7fd27edb6720: 75.88669 15] LEAVE: INV_MainWindow:OnButtonExecuteClicked (object,System.EventArgs)
[0x7fd27edb6720: 75.88670 14] LEAVE: (wrapper runtime-invoke) INV_MainWindow:runtime_invoke_void__this___object_object (object,intptr,intptr,intptr)[OBJECT:(nil)]
[0x7fd27edb6720: 75.88671 13] LEAVE: (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)[OBJECT:(nil)]
[0x7fd27edb6720: 75.88673 12] LEAVE: System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)[OBJECT:(nil)]
[0x7fd27edb6720: 75.88674 11] LEAVE: System.Reflection.MethodBase:Invoke (object,object[])[OBJECT:(nil)]
[0x7fd27edb6720: 75.88675 10] LEAVE: System.Delegate:DynamicInvokeImpl (object[])[OBJECT:(nil)]
[0x7fd27edb6720: 75.88675 9] LEAVE: System.MulticastDelegate:DynamicInvokeImpl (object[])[OBJECT:(nil)]
[0x7fd27edb6720: 75.88676 8] LEAVE: System.Delegate:DynamicInvoke (object[])[OBJECT:(nil)]
[0x7fd27edb6720: 75.88677 7] LEAVE: GLib.Signal:ClosureInvokedCB (object,GLib.ClosureInvokedArgs)
[0x7fd27edb6720: 75.88678 6] LEAVE: GLib.SignalClosure:Invoke (GLib.ClosureInvokedArgs)
[0x7fd27edb6720: 75.88679 5] LEAVE: GLib.SignalClosure:MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr)
[0x7fd27edb6720: 75.88680 4] LEAVE: (wrapper native-to-managed) GLib.SignalClosure:MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr)

Stacktrace:

  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x0006d>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x00027>
  at Investment_Returns.MainClass.Main (string[]) <0x00097>
  at (wrapper runtime-invoke) Investment_Returns.MainClass.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    mono [0x481506]
    mono [0x4b28dd]
    /lib/libpthread.so.0 [0x7fd27e0b6a80]

Debug info from gdb:


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

Aborted
**
ERROR:shared.c:543:shm_semaphores_remove: assertion failed: (proc_count > 0)


I have re-installed the 'libc' package that contains libpthread and this did not resolve the problem.  Can anyone help me with this ?  Some clues as to where I can look next would be very much appreciated.
        

Brett Senior.



      Stay connected to the people that matter most with a smarter inbox. Take a look http://au.docs.yahoo.com/mail/smarterinbox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090304/dea2b3f9/attachment.html 


More information about the Mono-list mailing list