Segfault when running mono examples from CVS

Rémi Cardona remi.cardona at free.fr
Wed Feb 15 11:25:58 PST 2006


Hi all,

I'm having segfault I'm having with the mono dbus bindings examples 
taken from freedesktop.org's cvs.

I modified the Makefile to build without having to checkout the entire 
dbus module and things mostly work fine :
  - BusListener.exe sees everything that happens
  - EchoServer.exe replies to EchoClient.exe and all output works fine ...

But EchoClient.exe segfaults when quitting (see below for console output).

Hope you can help me trace this issue.

Thanks,

Rémi Cardona

Note, this is done using mono-1.1.12.1 and dbus-0.60, both with gentoo 
patches (don't really know if they are significant)

****************


remi at atmos ~/Projets/dbus/mono/example $ mono EchoClient.exe
Reply: Hello world!


=================================================================
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.
=================================================================

Stacktrace:

in <0x4> (wrapper managed-to-native) 
System.Threading.Monitor:Monitor_try_enter (object,int)
in <0xffffffb3> (wrapper managed-to-native) 
System.Threading.Monitor:Monitor_try_enter (object,int)
in <0x13> System.Threading.Monitor:Enter (object)
in <0xffffffe5> (wrapper synchronized) DBus.Service:remove_SignalCalled 
(DBus.Service/SignalCalledHandler)
in <0x15> Foo.Echoer.Proxy:Finalize ()
in <0x50e76e78> (wrapper runtime-invoke) 
System.Object:runtime_invoke_void (object,intptr,intptr,intptr)

Native stacktrace:

         mono(mono_handle_native_sigsegv+0xc0) [0x8150ab0]
         mono [0x813cf6b]
         [0xffffe440]
         mono [0x80e7de5]
         [0xb73509f9]
         [0xb7350984]
         [0xb72db534]
         [0xb72db506]
         [0xb72db481]
         mono [0x81522d1]
         mono [0x8152f74]
         mono [0x80b0aa9]
         mono [0x81025a7]
         mono [0x81100b3]
         /lib/libpthread.so.0 [0xb7e45380]
         /lib/libc.so.6(__clone+0x5e) [0xb7db1d3e]
Abandon
remi at atmos ~/Projets/dbus/mono/example $



More information about the dbus mailing list