Ticket #39 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Crash when Client.Dispose() is invoked

Reported by: anonymous Owned by: snorp
Milestone: Component: avahi-sharp
Keywords: Cc:

Description

I'm getting the Mono dump I'm appending to the report after I invoke Client.Dispose(). Although I can work around this simply by not calling this method (the application is always terminating) I still think it may be a good idea to report the problem because other people may invoke Client.Dispose() and still keep the application running.

================================================================= 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 (wrapper managed-to-native) Avahi.Client:avahi_simple_poll_loop (intptr) <0x4> in (wrapper managed-to-native) Avahi.Client:avahi_simple_poll_loop (intptr) <0xffffff73> in Avahi.Client:PollLoop () <0x2b> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () <0xffffff90> in (wrapper runtime-invoke) System.Object:runtime_invoke_void (object,intptr,intptr,intptr) <0x15bd95f>

Native stacktrace:

/usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3) [0xb7e1743f] /usr/lib/libmono.so.0 [0xb7dd903e] [0xffffe440] /usr/lib/libavahi-common.so.3(avahi_simple_poll_dispatch+0x37) [0xb681daab] /usr/lib/libavahi-common.so.3(avahi_simple_poll_iterate+0x44) [0xb681dc1c] /usr/lib/libavahi-common.so.3(avahi_simple_poll_loop+0x2b) [0xb681dd20] [0xb6838c9d] [0xb6838be4] [0xb6838ba0] [0xb6838b01] /usr/lib/libmono.so.0 [0xb7df6438] /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7e58eed] /usr/lib/libmono.so.0(mono_runtime_delegate_invoke+0x42) [0xb7e5a0ec] /usr/lib/libmono.so.0 [0xb7e8a4b4] /usr/lib/libmono.so.0 [0xb7ed460f] /usr/lib/libmono.so.0(GC_start_routine+0x5f) [0xb7eee3b3] /lib/tls/i686/cmov/libpthread.so.0 [0xb7cef341] /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7c594ee]

Aborted

Change History

Changed 6 years ago by snorp@…

  • status changed from new to closed
  • resolution set to fixed

I believe I've fixed this in r1216 now, thanks for the report.

Note: See TracTickets for help on using tickets.