Bug 1297 - mono crashes during shutdown sometimes
Summary: mono crashes during shutdown sometimes
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-06 05:58 UTC by Alan McGovern
Modified: 2014-01-12 01:31 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Alan McGovern 2011-10-06 05:58:38 UTC
I've attached the crashlog from macos but here's the important stacktrace:

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x900ec83e __psynch_cvwait + 10
1   libsystem_c.dylib             	0x96830e21 _pthread_cond_wait + 827
2   libsystem_c.dylib             	0x967e13e0 pthread_cond_timedwait$UNIX2003 + 70
3   monodevelop                   	0x0022214a _wapi_handle_timedwait_signal_handle + 563 (handles.c:1652)
4   monodevelop                   	0x00237500 WaitForSingleObjectEx + 653 (wait.c:205)
5   monodevelop                   	0x0014a86e mono_domain_finalize + 499 (gc.c:386)
6   monodevelop                   	0x00008e07 mini_cleanup + 55 (mini.c:6594)
7   monodevelop                   	0x0010baee mono_runtime_quit + 52 (appdomain.c:380)
8   monodevelop                   	0x0015ca53 ves_icall_System_Environment_Exit + 31 (icall.c:6551)
9   ???                           	0x1b5071ec 0 + 458256876
10  ???                           	0x02b30fc4 0 + 45289412
11  ???                           	0x004bafa8 0 + 4960168
12  ???                           	0x004bad9c 0 + 4959644
13  ???                           	0x004bae56 0 + 4959830
14  monodevelop                   	0x0000fa34 mono_jit_runtime_invoke + 164 (mini.c:5764)
15  monodevelop                   	0x001be768 mono_runtime_invoke + 137 (object.c:2755)
16  monodevelop                   	0x001c0f16 mono_runtime_exec_main + 585 (object.c:3930)
17  monodevelop                   	0x001c02a4 mono_runtime_run_main + 843 (object.c:3561)
18  monodevelop                   	0x000888cb mono_main + 7755 (driver.c:1856)
19  monodevelop                   	0x00001ed6 start + 54
Comment 2 Alan McGovern 2011-10-06 05:59:57 UTC
Whoops, copied the wrong thread there. I meant this one:


Thread 2 Crashed:
0   libsystem_kernel.dylib        	0x900ec9c6 __pthread_kill + 10
1   libsystem_c.dylib             	0x9682ef78 pthread_kill + 106
2   libsystem_c.dylib             	0x9681fbdd abort + 167
3   monodevelop                   	0x000b9344 mono_handle_native_sigsegv + 1060 (mini-exceptions.c:2246)
4   monodevelop                   	0x00003f3e mono_sigsegv_signal_handler + 334 (mini.c:5890)
5   libsystem_c.dylib             	0x9688459b _sigtramp + 43
6   ???                           	0xffffffff 0 + 4294967295
7   monodevelop                   	0x0014be81 finalize_domain_objects + 112 (gc.c:1021)
8   monodevelop                   	0x0014c090 finalizer_thread + 420 (gc.c:1084)
9   monodevelop                   	0x001fb1f6 start_wrapper_internal + 610 (threads.c:783)
10  monodevelop                   	0x001fb296 start_wrapper + 17 (threads.c:832)
11  monodevelop                   	0x002396f2 thread_start_routine + 191 (wthreads.c:287)
12  monodevelop                   	0x0026a481 GC_start_routine + 107 (pthread_support.c:1468)
13  libsystem_c.dylib             	0x9682ced9 _pthread_start + 335
14  libsystem_c.dylib             	0x968306de thread_start + 34
Comment 3 Rodrigo Kumpera 2012-06-19 12:14:58 UTC
A bugfix for domain unloading has been applied to trunk. Maybe it does help this.
Can you trigger it recently?
Comment 4 Rodrigo Kumpera 2014-01-12 01:31:17 UTC
Closing, no response.