Bug 33762 - Shutdown deadlock
Summary: Shutdown deadlock
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 3.12.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-08 05:28 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2015-09-08 05:28 UTC (History)
2 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 for Bug 33762 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Rolf Bjarne Kvinge [MSFT] 2015-09-08 05:28:55 UTC
(gdb) t a a bt

Thread 3 (Thread 0xb54e6b40 (LWP 12020)):
#0  0xb7774424 in __kernel_vsyscall ()
#1  0xb771bcc5 in sem_wait@@GLIBC_2.1 () from /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0
#2  0x0826d6a8 in mono_sem_wait (sem=sem@entry=0x9d7f3d0, alertable=alertable@entry=0) at mono-semaphore.c:101
#3  0x08271740 in mono_thread_info_self_suspend () at mono-threads.c:494
#4  0x081ce11d in self_suspend_internal (thread=0xb74bc220) at threads.c:4723
#5  mono_thread_execute_interruption (thread=thread@entry=0xb74bc220) at threads.c:4139
#6  0x081ce1b7 in mono_thread_interruption_checkpoint_request (bypass_abort_protection=bypass_abort_protection@entry=0) at threads.c:4272
#7  0x081ceef7 in mono_thread_interruption_checkpoint () at threads.c:4283
#8  0x081d151f in check_for_interruption_critical () at threadpool.c:1539
#9  0x081d201d in tp_epoll_wait (p=0x83ad420) at ../../mono/metadata/tpool-epoll.c:116
#10 0x081cf7c9 in start_wrapper_internal (data=0xb5303ec0) at threads.c:663
#11 start_wrapper (data=data@entry=0xb5303ec0) at threads.c:710
#12 0x0827248d in inner_start_thread (arg=0xb55eaf88) at mono-threads-posix.c:88
#13 0xb7715d4c in start_thread () from /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0
#14 0xb7653fde in clone () from /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6

Thread 2 (Thread 0xaf282b40 (LWP 30767)):
#0  0xb7774424 in __kernel_vsyscall ()
#1  0xb7661c51 in ?? () from /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6
#2  0xb75dfebe in ?? () from /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb7564940 (LWP 11883)):
#0  0xb7774424 in __kernel_vsyscall ()
#1  0xb771bcc5 in sem_wait@@GLIBC_2.1 () from /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0
#2  0x0826d6a8 in mono_sem_wait (sem=sem@entry=0x97a3338, alertable=alertable@entry=0) at mono-semaphore.c:101
#3  0x08271740 in mono_thread_info_self_suspend () at mono-threads.c:494
#4  0x081cfcbb in mono_thread_suspend (thread=0xb74bc010) at threads.c:2195
#5  mono_thread_suspend (thread=0xb74bc010) at threads.c:2171
#6  0x081d1191 in mono_thread_manage () at threads.c:2936
#7  0x080d23b7 in mono_main (argc=argc@entry=8, argv=argv@entry=0xbfc967c4) at driver.c:2023
#8  0x08067712 in mono_main_with_options (argv=0xbfc967c4, argc=8) at main.c:91
#9  main (argc=8, argv=0xbfc967c4) at main.c:122
(gdb) 

/usr/bin/mono-sgen --version
Mono JIT compiler version 3.12.1 (tarball Fri Mar  6 19:14:08 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen

This happened on the internal wrench server.