Bug 1695 - mono crashes during shutdown
Summary: mono crashes during shutdown
Status: RESOLVED DUPLICATE of bug 9938
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-10-26 12:15 UTC by Sergey Pachkov
Modified: 2017-08-28 15:04 UTC (History)
3 users (show)

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

core dump for mono 2.10.6 (6.48 MB, application/gzip)
2011-10-26 12:15 UTC, Sergey Pachkov

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:

Description Sergey Pachkov 2011-10-26 12:15:53 UTC
Created attachment 771 [details]
core dump for mono 2.10.6

mono v2.10.6 
crashes with signal 6 and generates core (env set to generate core)
on RHEL 5.5, i686

stack trace for crash
#0  0x0097b402 in __kernel_vsyscall ()
#1  0x005badf0 in raise () from /lib/libc.so.6
#2  0x005bc701 in abort () from /lib/libc.so.6
#3  0x080e6075 in mono_handle_native_sigsegv (signal=11, ctx=0x4d8d0c) at mini-exceptions.c:2245
#4  0x0812a0de in mono_arch_handle_altstack_exception (sigctx=0x4d8d0c, fault_addr=0x5ef8bd8, stack_ovf=0) at exceptions-x86.c:1227
#5  0x08059e74 in mono_sigsegv_signal_handler (_dummy=11, info=0x4d8c8c, context=0x4d8d0c) at mini.c:5882
#6  <signal handler called>
#7  0x006eabbf in pthread_kill () from /lib/libpthread.so.0
#8  0x08240d02 in GC_suspend_all () at pthread_stop_world.c:383
#9  0x08240d84 in pthread_stop_world () at pthread_stop_world.c:418
#10 GC_stop_world () at pthread_stop_world.c:603
#11 0x08233663 in GC_stopped_mark (stop_func=0x8232c90 <GC_never_stop_func>) at alloc.c:503
#12 0x08233a6c in GC_try_to_collect_inner (stop_func=0x8232c90 <GC_never_stop_func>) at alloc.c:382
#13 0x08233eb0 in GC_try_to_collect (stop_func=0x8232c90 <GC_never_stop_func>) at alloc.c:809
#14 0x08233f32 in GC_gcollect () at alloc.c:822
#15 0x081a89c6 in unload_thread_main (arg=0xbff99770) at appdomain.c:2330
#16 0x08218c05 in thread_start_routine (args=0x96e268c) at wthreads.c:287
#17 0x08239d57 in GC_start_routine (arg=0x289e600) at pthread_support.c:1468
#18 0x006e5832 in start_thread () from /lib/libpthread.so.0
#19 0x00663e0e in clone () from /lib/libc.so.6
Comment 1 Miguel de Icaza [MSFT] 2012-01-09 15:41:09 UTC
We need a test case.
Comment 2 Sergey Pachkov 2013-01-31 08:26:36 UTC
we have tried mono-2.10.9 and mono crashed in GC again.

issue described in https://bugzilla.xamarin.com/show_bug.cgi?id=9938
Comment 3 Sergey Pachkov 2013-01-31 08:28:44 UTC
different mono versions (2.6.7, 2.10.6, 2.10.9) crashes in with one application.

*** This bug has been marked as a duplicate of bug 9938 ***