[Mono-osx] Mono crashing in register_thread

Michael Gorbach michael at mgorbach.name
Fri Aug 19 15:27:08 EDT 2011


Hello mono folks,

We are seeing mono crash logs from customers with the following trace:

Thread 36 Crashed:
0   libsystem_kernel.dylib        	0x9aad99c6 __pthread_kill + 10
1   libsystem_c.dylib             	0x9209ef78 pthread_kill + 106
2   libsystem_c.dylib             	0x9208fbdd abort + 167
3   libmono-2.0.1.dylib           	0x001e337d mono_handle_native_sigsegv + 1114
4   libmono-2.0.1.dylib           	0x00250132 sigabrt_signal_handler + 116
5   libsystem_c.dylib             	0x920f459b _sigtramp + 43
6   ???                           	0xffffffff 0 + 4294967295
7   libsystem_c.dylib             	0x9208fbdd abort + 167
8   libmono-2.0.1.dylib           	0x003aa5d5 monoeg_g_logv + 205
9   libmono-2.0.1.dylib           	0x003aa637 monoeg_assertion_message + 46
10  libmono-2.0.1.dylib           	0x0039d458 register_thread + 250
11  libmono-2.0.1.dylib           	0x0039d688 mono_thread_info_attach + 75
12  libmono-2.0.1.dylib           	0x0039cffc inner_start_thread + 47
13  libmono-2.0.1.dylib           	0x003c354e GC_start_routine + 107
14  libsystem_c.dylib             	0x9209ced9 _pthread_start + 335
15  libsystem_c.dylib             	0x920a06de thread_start + 34

The output of the process shows:
* Assertion at mono-threads.c:145, condition `result' not met

The code at this point says:

	/*If this fail it means a given thread has been registered twice, which doesn't make sense. */
	result = mono_thread_info_insert (info);
	g_assert (result);


This seems to be happening consistently for the customer on Mac OS X 10.7 Lion, Mono version 2.10. Any help figuring out this issue would be very much appreciated.

Thanks,
~ Michael Gorbach





More information about the Mono-osx mailing list