Bug 52421 - mono crashes
Summary: mono crashes
Status: RESOLVED DUPLICATE of bug 51654
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: 4.6.0 (C8)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Aleksey Kliger
URL:
Depends on:
Blocks:
 
Reported: 2017-02-09 14:30 UTC by Roman
Modified: 2017-02-13 23:19 UTC (History)
4 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 DUPLICATE of bug 51654

Description Roman 2017-02-09 14:30:57 UTC
STATE CUE CARD: (? means a positive number, usually 1 or 2, * means any number)
	0x0	- starting (GOOD, unless the thread is running managed code)
Stacktrace:


Native stacktrace:

	0x1	- running (BAD, unless it's the gc thread)
	0x2	- detached (GOOD, unless the thread is running managed code)
	0x?03	- async suspended (GOOD)
	0x?04	- self suspended (GOOD)
	0x?05	- async suspend requested (BAD)
	0x?06	- self suspend requested (BAD)
	0x*07	- blocking (GOOD)
	0x?08	- blocking with pending suspend (GOOD)
--thread 0x7f6b200008e0 id 0x7f6b65cf6700 [(nil)] state 1  GC INITIATOR
--thread 0x7f6b2c0008c0 id 0x7f6b664f5700 [(nil)] state 1  
--thread 0x7f6b280008c0 id 0x7f6b666f6700 [(nil)] state 1  
--thread 0x7f6b340008e0 id 0x7f6b668f7700 [(nil)] state 1  
--thread 0x7f6b3005de00 id 0x7f6b66af8700 [(nil)] state 1  
--thread 0x7f6b3c0010d0 id 0x7f6b66cf9700 [(nil)] state 105  
--thread 0x7f6b380008e0 id 0x7f6b66efa700 [(nil)] state 1  
--thread 0x7f6b440008e0 id 0x7f6b670fb700 [(nil)] state 1  
--thread 0x7f6b4c0008e0 id 0x7f6b67421700 [(nil)] state 1  
--thread 0x7f6b880008e0 id 0x7f6b67626700 [(nil)] state 1  
--thread 0x7f6b54008b80 id 0x7f6b678a3700 [(nil)] state 1  
--thread 0x7f6b500670d0 id 0x7f6b67aa8700 [(nil)] state 1  
--thread 0x7f6b5c0008e0 id 0x7f6b67cad700 [(nil)] state 1  
--thread 0x7f6b580008e0 id 0x7f6b67eae700 [(nil)] state 1  
--thread 0x7f6b600008e0 id 0x7f6b680af700 [(nil)] state 1  
--thread 0x7f6b40032380 id 0x7f6b687a5700 [(nil)] state 1  
--thread 0x7f6b48010000 id 0x7f6b68802700 [(nil)] state 1  
--thread 0x7f6b700008e0 id 0x7f6b87630700 [(nil)] state 1  
--thread 0x7f6b7c0008e0 id 0x7f6b87bfd700 [(nil)] state 1  
--thread 0x7f6b7834a380 id 0x7f6b87dfe700 [(nil)] state 1  
--thread 0x7f6b800ecba0 id 0x7f6b87fff700 [(nil)] state 1  
--thread 0x7f6b8c13e280 id 0x7f6b9a61c700 [(nil)] state 1  
--thread 0x7f6b9c0008e0 id 0x7f6babd3b700 [(nil)] state 1  
--thread 0x7f6ba40008e0 id 0x7f6babf3c700 [(nil)] state 1  
--thread 0x27852e0 id 0x7f6baf5c0780 [(nil)] state 1  
WAITING for 1 threads, got 0 suspended
suspend_thread suspend took 200 ms, which is more than the allowed 200 ms
	/usr/bin/mono() [0x4accca]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7f6baeaad330]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f6bae4f8c37]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f6bae4fc028]
	/usr/bin/mono() [0x65a909]
	/usr/bin/mono() [0x65ab17]
	/usr/bin/mono() [0x65abc2]
	/usr/bin/mono() [0x6510ec]
	/usr/bin/mono() [0x65217a]
	/usr/bin/mono() [0x4c86ce]
	/usr/bin/mono(mono_g_hash_table_foreach+0x5c) [0x5bef4c]
	/usr/bin/mono() [0x4cbab8]
	/usr/bin/mono() [0x4d7e34]
	/usr/bin/mono() [0x4d8236]
	/usr/bin/mono() [0x4d905e]
	/usr/bin/mono() [0x590343]
	/usr/bin/mono() [0x59c466]
	/usr/bin/mono() [0x65363c]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184) [0x7f6baeaa5184]
	/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f6bae5bc37d]

Debug info from gdb:

Mono support loaded.
Mono support loaded.
[New LWP 5171]
[New LWP 5169]
[New LWP 5168]
[New LWP 5167]
[New LWP 5166]
[New LWP 5165]
[New LWP 5164]
[New LWP 5155]
[New LWP 5154]
[New LWP 5142]
[New LWP 5136]
[New LWP 5133]
[New LWP 5131]
[New LWP 5130]
[New LWP 5128]
[New LWP 5127]
[New LWP 5108]
[New LWP 5106]
[New LWP 5105]
[New LWP 5104]
[New LWP 5088]
[New LWP 5086]
[New LWP 5085]
[New LWP 5079]
[New LWP 5073]
[New LWP 5072]
[New LWP 5070]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135	../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Немає такого файла або каталогу.
  Id   Target Id         Frame 
  28   Thread 0x7f6badbff700 (LWP 5070) "SGen worker" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  27   Thread 0x7f6babf3c700 (LWP 5072) "Finalizer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
  26   Thread 0x7f6babd3b700 (LWP 5073) "Debugger agent" 0x00007f6baeaac7eb in __libc_recv (fd=fd@entry=3, buf=buf@entry=0x7f6babd3ad30, n=n@entry=11, flags=-1, flags@entry=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:33
  25   Thread 0x7f6b9b173700 (LWP 5079) "gmain" 0x00007f6bae5aefdd in poll () at ../sysdeps/unix/syscall-template.S:81
  24   Thread 0x7f6b87bfd700 (LWP 5085) "Threadpool work" 0x00007f6baeaac3ad in read () at ../sysdeps/unix/syscall-template.S:81
  23   Thread 0x7f6b87630700 (LWP 5086) "Threadpool work" __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  22   Thread 0x7f6b87dfe700 (LWP 5088) "Main" __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  21   Thread 0x7f6b680af700 (LWP 5104) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  20   Thread 0x7f6b67eae700 (LWP 5105) "Threadpool work" __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  19   Thread 0x7f6b67cad700 (LWP 5106) "Threadpool work" 0x00007f6baeaac3ad in read () at ../sysdeps/unix/syscall-template.S:81
  18   Thread 0x7f6b9a61c700 (LWP 5108) "Timer-Scheduler" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  17   Thread 0x7f6b87fff700 (LWP 5127) "StartRun" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  16   Thread 0x7f6b678a3700 (LWP 5128) "StartRun" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  15   Thread 0x7f6b67421700 (LWP 5130) "MQSendEvent" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  14   Thread 0x7f6b68802700 (LWP 5131) "Threadpool work" 0x00007f6bae5aefdd in poll () at ../sysdeps/unix/syscall-template.S:81
  13   Thread 0x7f6b670fb700 (LWP 5133) "GetResourceLinu" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
  12   Thread 0x7f6b66efa700 (LWP 5136) "BillListener" __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  11   Thread 0x7f6b668f7700 (LWP 5142) "StartRun" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  10   Thread 0x7f6b67626700 (LWP 5154) "SendHardwareInf" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
  9    Thread 0x7f6b687a5700 (LWP 5155) "Timer-Scheduler" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
  8    Thread 0x7f6b66cf9700 (LWP 5164) "MQSendEvent" 0x00007f6bae4f8fb2 in do_sigsuspend (set=0x98b340 <suspend_signal_mask>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:31
  7    Thread 0x7f6b664f5700 (LWP 5165) "Main" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  6    Thread 0x7f6b666f6700 (LWP 5166) "MQSendEvent" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  5    Thread 0x7f6b66af8700 (LWP 5167) "MQSendEvent" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7f6b67aa8700 (LWP 5168) "Main" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  3    Thread 0x7f6b65cf6700 (LWP 5169) "Main" 0x00007f6baeaaced9 in __libc_waitpid (pid=pid@entry=5170, stat_loc=stat_loc@entry=0x7f6b65cf45cc, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
  2    Thread 0x7f6b65af5700 (LWP 5171) "Timer-Scheduler" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
* 1    Thread 0x7f6baf5c0780 (LWP 5069) "Main" __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135

Thread 28 (Thread 0x7f6badbff700 (LWP 5070)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000000000623537 in mono_os_cond_wait (cond=0x98a420 <work_cond>, mutex=<optimized out>) at ../../mono/utils/mono-os-mutex.h:107
#2  thread_func (thread_data=0x0) at sgen-thread-pool.c:110
#3  0x00007f6baeaa5184 in start_thread (arg=0x7f6badbff700) at pthread_create.c:312
#4  0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 27 (Thread 0x7f6babf3c700 (LWP 5072)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00000000005bb6f9 in mono_os_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x97b100 <finalizer_sem>) at ../../mono/utils/mono-os-semaphore.h:166
#2  mono_coop_sem_wait (sem=<optimized out>, flags=<optimized out>) at ../../mono/utils/mono-coop-semaphore.h:40
#3  finalizer_thread (unused=unused@entry=0x0) at gc.c:761
#4  0x000000000059c4ac in start_wrapper_internal (data=<optimized out>) at threads.c:740
#5  start_wrapper (data=<optimized out>) at threads.c:788
#6  0x000000000065363c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#7  0x00007f6baeaa5184 in start_thread (arg=0x7f6babf3c700) at pthread_create.c:312
#8  0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 26 (Thread 0x7f6babd3b700 (LWP 5073)):
#0  0x00007f6baeaac7eb in __libc_recv (fd=fd@entry=3, buf=buf@entry=0x7f6babd3ad30, n=n@entry=11, flags=-1, flags@entry=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:33
#1  0x00000000004d8718 in recv (__flags=0, __n=11, __buf=0x7f6babd3ad30, __fd=3) at /usr/include/x86_64-linux-gnu/bits/socket2.h:45
#2  socket_transport_recv (buf=0x7f6babd3ad30, len=11) at debugger-agent.c:1130
#3  0x00000000004dba67 in transport_recv (len=11, buf=0x7f6babd3ad30) at debugger-agent.c:1536
#4  debugger_thread (arg=<optimized out>) at debugger-agent.c:9847
#5  0x000000000065363c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#6  0x00007f6baeaa5184 in start_thread (arg=0x7f6babd3b700) at pthread_create.c:312
#7  0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 25 (Thread 0x7f6b9b173700 (LWP 5079)):
#0  0x00007f6bae5aefdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6baacb9fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6baacba0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6baacba129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6baacdef05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6baeaa5184 in start_thread (arg=0x7f6b9b173700) at pthread_create.c:312
#6  0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 24 (Thread 0x7f6b87bfd700 (LWP 5085)):
#0  0x00007f6baeaac3ad in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000000062bc20 in read (__nbytes=1024, __buf=0x7f6badc83208, __fd=24) at /usr/include/x86_64-linux-gnu/bits/unistd.h:45
#2  pipe_read (handle=0x18, buffer=0x7f6badc83208, numbytes=1024, bytesread=0x7f6b87bfc114, overlapped=<optimized out>) at io.c:1225
#3  0x00000000005f29a7 in ves_icall_System_IO_MonoIO_Read (handle=0x18, dest=<optimized out>, dest_offset=<optimized out>, count=1024, error=0x7f6b87bfc270) at file-io.c:869
#4  0x0000000041844311 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 23 (Thread 0x7f6b87630700 (LWP 5086)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f6baeaa7649 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f6baeaa7470 in __GI___pthread_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../nptl/pthread_mutex_lock.c:79
#3  0x00000000004d296f in mono_os_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-os-mutex.h:72
#4  mono_coop_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-coop-mutex.h:55
#5  suspend_current () at debugger-agent.c:2913
#6  suspend_current () at debugger-agent.c:2895
#7  0x00000000004d98df in process_suspend (ctx=0x7f6b70002018, tls=<optimized out>) at debugger-agent.c:2742
#8  process_single_step_inner (tls=tls@entry=0x7f6b70001980, from_signal=from_signal@entry=0) at debugger-agent.c:4884
#9  0x00000000004dfa33 in debugger_agent_single_step_from_context (ctx=0x7f6b8762f0c0) at debugger-agent.c:5012
#10 0x0000000040ef833b in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 22 (Thread 0x7f6b87dfe700 (LWP 5088)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f6baeaa7649 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f6baeaa7470 in __GI___pthread_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../nptl/pthread_mutex_lock.c:79
#3  0x00000000004d296f in mono_os_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-os-mutex.h:72
#4  mono_coop_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-coop-mutex.h:55
#5  suspend_current () at debugger-agent.c:2913
#6  suspend_current () at debugger-agent.c:2895
#7  0x00000000004d98df in process_suspend (ctx=0x7f6b78359148, tls=<optimized out>) at debugger-agent.c:2742
#8  process_single_step_inner (tls=tls@entry=0x7f6b78358ab0, from_signal=from_signal@entry=0) at debugger-agent.c:4884
#9  0x00000000004dfa33 in debugger_agent_single_step_from_context (ctx=0x7f6b87dfd500) at debugger-agent.c:5012
#10 0x0000000040ef833b in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 21 (Thread 0x7f6b680af700 (LWP 5104)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000629938 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x27a2df0, cond=0x27a2e18) at ../../mono/utils/mono-os-mutex.h:136
#2  _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x4e0, timeout=<optimized out>, alertable=alertable@entry=1, poll=poll@entry=0, alerted=alerted@entry=0x7f6b680adc8c) at handles.c:1555
#3  0x000000000063f64d in wapi_WaitForSingleObjectEx (handle=0x4e0, timeout=timeout@entry=20000, alertable=alertable@entry=1) at wait.c:189
#4  0x000000000059c1e7 in mono_wait_uninterrupted (numhandles=numhandles@entry=1, handles=handles@entry=0x7f6b680add48, waitall=waitall@entry=0, ms=ms@entry=20000, error=error@entry=0x7f6b680add50, thread=<optimized out>) at threads.c:1595
#5  0x000000000059d4a6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (handle=0x4e0, ms=20000) at threads.c:1731
#6  0x0000000041b3d951 in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7f6b67eae700 (LWP 5105)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f6baeaa7649 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f6baeaa7470 in __GI___pthread_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../nptl/pthread_mutex_lock.c:79
#3  0x00000000004d296f in mono_os_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-os-mutex.h:72
#4  mono_coop_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-coop-mutex.h:55
#5  suspend_current () at debugger-agent.c:2913
#6  suspend_current () at debugger-agent.c:2895
#7  0x00000000004d98df in process_suspend (ctx=0x7f6b58002018, tls=<optimized out>) at debugger-agent.c:2742
#8  process_single_step_inner (tls=tls@entry=0x7f6b58001980, from_signal=from_signal@entry=0) at debugger-agent.c:4884
#9  0x00000000004dfa33 in debugger_agent_single_step_from_context (ctx=0x7f6b67ead0a0) at debugger-agent.c:5012
#10 0x0000000040ef833b in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f6b67cad700 (LWP 5106)):
#0  0x00007f6baeaac3ad in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000000062bc20 in read (__nbytes=1024, __buf=0x7f6badda9fe8, __fd=30) at /usr/include/x86_64-linux-gnu/bits/unistd.h:45
#2  pipe_read (handle=0x1e, buffer=0x7f6badda9fe8, numbytes=1024, bytesread=0x7f6b67cac114, overlapped=<optimized out>) at io.c:1225
#3  0x00000000005f29a7 in ves_icall_System_IO_MonoIO_Read (handle=0x1e, dest=<optimized out>, dest_offset=<optimized out>, count=1024, error=0x7f6b67cac270) at file-io.c:869
#4  0x0000000041844311 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f6b9a61c700 (LWP 5108)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000629938 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x279f6f0, cond=0x279f718) at ../../mono/utils/mono-os-mutex.h:136
#2  _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x490, timeout=<optimized out>, alertable=alertable@entry=1, poll=poll@entry=0, alerted=alerted@entry=0x7f6b9a61b2bc) at handles.c:1555
#3  0x000000000063f64d in wapi_WaitForSingleObjectEx (handle=0x490, timeout=timeout@entry=19999, alertable=alertable@entry=1) at wait.c:189
#4  0x000000000059c1e7 in mono_wait_uninterrupted (numhandles=numhandles@entry=1, handles=handles@entry=0x7f6b9a61b378, waitall=waitall@entry=0, ms=ms@entry=19999, error=error@entry=0x7f6b9a61b380, thread=<optimized out>) at threads.c:1595
#5  0x000000000059d4a6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (handle=0x490, ms=19999) at threads.c:1731
#6  0x0000000041b3d951 in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f6b87fff700 (LWP 5127)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000651ac7 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x98b2a0 <sleep_mutex>, cond=0x98b2e0 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:136
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, cond=<optimized out>, mutex=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:107
#3  sleep_interruptable (alerted=0x7f6b87ffe61c, ms=57000) at mono-threads.c:1213
#4  mono_thread_info_sleep (ms=ms@entry=57000, alerted=alerted@entry=0x7f6b87ffe61c) at mono-threads.c:1245
#5  0x000000000059d939 in ves_icall_System_Threading_Thread_Sleep_internal (ms=57000) at threads.c:1227
#6  0x0000000041e282f8 in ?? ()
#7  0x00007f6badcb0c88 in ?? ()
#8  0x00007f6badcb0c88 in ?? ()
#9  0x00007f6badcb0c88 in ?? ()
#10 0x00007f6badc9daf0 in ?? ()
#11 0x000000000000dea8 in ?? ()
#12 0x0000000000979e28 in mini_arch_mutex ()
#13 0x0000000000979e48 in ?? ()
#14 0x00007f6b800f67d0 in ?? ()
#15 0x6300656b6f766e49 in ?? ()
#16 0x00007f6b87ffe870 in ?? ()
#17 0x00007f6b87ffe640 in ?? ()
#18 0x0000000041e28208 in ?? ()
#19 0x00007f6badc9daf0 in ?? ()
#20 0x0000000000979e28 in mini_arch_mutex ()
#21 0x0000000000979e48 in ?? ()
#22 0x0000000041e28110 in ?? ()
#23 0x00007f6b87ffe870 in ?? ()
#24 0x0000000041f48c5c in ?? ()
#25 0x00007f6badcb0d58 in ?? ()
#26 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f6b678a3700 (LWP 5128)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000651ac7 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x98b2a0 <sleep_mutex>, cond=0x98b2e0 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:136
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, cond=<optimized out>, mutex=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:107
#3  sleep_interruptable (alerted=0x7f6b678a264c, ms=120000) at mono-threads.c:1213
#4  mono_thread_info_sleep (ms=ms@entry=120000, alerted=alerted@entry=0x7f6b678a264c) at mono-threads.c:1245
#5  0x000000000059d939 in ves_icall_System_Threading_Thread_Sleep_internal (ms=120000) at threads.c:1227
#6  0x0000000041e282f8 in ?? ()
#7  0x00007f6badcb0e38 in ?? ()
#8  0x00007f6badcb0e38 in ?? ()
#9  0x00007f6badcb0e38 in ?? ()
#10 0x00007f6badcb0f08 in ?? ()
#11 0x000000000001d4c0 in ?? ()
#12 0x0000000000979e28 in mini_arch_mutex ()
#13 0x0000000000979e48 in ?? ()
#14 0x00007f6b54006960 in ?? ()
#15 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f6b67421700 (LWP 5130)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000651ac7 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x98b2a0 <sleep_mutex>, cond=0x98b2e0 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:136
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, cond=<optimized out>, mutex=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:107
#3  sleep_interruptable (alerted=0x7f6b6742053c, ms=2000) at mono-threads.c:1213
#4  mono_thread_info_sleep (ms=ms@entry=2000, alerted=alerted@entry=0x7f6b6742053c) at mono-threads.c:1245
#5  0x000000000059d939 in ves_icall_System_Threading_Thread_Sleep_internal (ms=2000) at threads.c:1227
#6  0x0000000041e282f8 in ?? ()
#7  0x00007f6baddaaac8 in ?? ()
#8  0x00007f6baddaaac8 in ?? ()
#9  0x00007f6baddaaac8 in ?? ()
#10 0x00007f6baddaab98 in ?? ()
#11 0x00000000000007d0 in ?? ()
#12 0x0000000000979e28 in mini_arch_mutex ()
#13 0x0000000000979e48 in ?? ()
#14 0x00007f6b4c001950 in ?? ()
#15 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f6b68802700 (LWP 5131)):
#0  0x00007f6bae5aefdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000000064c347 in mono_poll (ufds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at mono-poll.c:26
#2  0x00000000005a29bf in poll_event_wait (callback=0x5a3430 <wait_callback>, user_data=0x7f6b48006120) at threadpool-ms-io-poll.c:147
#3  0x00000000005a39d3 in selector_thread (data=<optimized out>) at threadpool-ms-io.c:424
#4  selector_thread (data=data@entry=0x0) at threadpool-ms-io.c:309
#5  0x000000000059c4ac in start_wrapper_internal (data=<optimized out>) at threads.c:740
#6  start_wrapper (data=<optimized out>) at threads.c:788
#7  0x000000000065363c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#8  0x00007f6baeaa5184 in start_thread (arg=0x7f6b68802700) at pthread_create.c:312
#9  0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7f6b670fb700 (LWP 5133)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00000000006350a8 in mono_os_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x7f6b44018608) at ../../mono/utils/mono-os-semaphore.h:166
#2  process_wait (handle=0x4b3, timeout=4294967295, alertable=1) at processes.c:2796
#3  0x000000000063f875 in wapi_WaitForSingleObjectEx (handle=0x4b3, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:125
#4  0x000000000059c1e7 in mono_wait_uninterrupted (numhandles=numhandles@entry=1, handles=handles@entry=0x7f6b670fa1d8, waitall=waitall@entry=0, ms=ms@entry=-1, error=error@entry=0x7f6b670fa1e0, thread=<optimized out>) at threads.c:1595
#5  0x000000000059d4a6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (handle=0x4b3, ms=-1) at threads.c:1731
#6  0x0000000041b3d951 in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f6b66efa700 (LWP 5136)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f6baeaa7649 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f6baeaa7470 in __GI___pthread_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../nptl/pthread_mutex_lock.c:79
#3  0x00000000004d296f in mono_os_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-os-mutex.h:72
#4  mono_coop_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-coop-mutex.h:55
#5  suspend_current () at debugger-agent.c:2913
#6  suspend_current () at debugger-agent.c:2895
#7  0x00000000004d98df in process_suspend (ctx=0x7f6b38002018, tls=<optimized out>) at debugger-agent.c:2742
#8  process_single_step_inner (tls=tls@entry=0x7f6b38001980, from_signal=from_signal@entry=0) at debugger-agent.c:4884
#9  0x00000000004dfa33 in debugger_agent_single_step_from_context (ctx=0x7f6b66ef9210) at debugger-agent.c:5012
#10 0x0000000040ef833b in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f6b668f7700 (LWP 5142)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000651ac7 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x98b2a0 <sleep_mutex>, cond=0x98b2e0 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:136
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, cond=<optimized out>, mutex=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:107
#3  sleep_interruptable (alerted=0x7f6b668f664c, ms=6000) at mono-threads.c:1213
#4  mono_thread_info_sleep (ms=ms@entry=6000, alerted=alerted@entry=0x7f6b668f664c) at mono-threads.c:1245
#5  0x000000000059d939 in ves_icall_System_Threading_Thread_Sleep_internal (ms=6000) at threads.c:1227
#6  0x0000000041e282f8 in ?? ()
#7  0x00007f6badd33c08 in ?? ()
#8  0x00007f6badd33c08 in ?? ()
#9  0x00007f6badd33c08 in ?? ()
#10 0x00007f6badd33cd8 in ?? ()
#11 0x0000000000001770 in ?? ()
#12 0x0000000000979e28 in mini_arch_mutex ()
#13 0x0000000000979e48 in ?? ()
#14 0x00007f6b34001950 in ?? ()
#15 0x0000000000979e48 in ?? ()
#16 0x00007f6b668f6870 in ?? ()
#17 0x00007f6b668f6670 in ?? ()
#18 0x0000000041e28208 in ?? ()
#19 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f6b67626700 (LWP 5154)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00000000006350a8 in mono_os_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x7f6b880085f8) at ../../mono/utils/mono-os-semaphore.h:166
#2  process_wait (handle=0x4d6, timeout=4294967295, alertable=1) at processes.c:2796
#3  0x000000000063f875 in wapi_WaitForSingleObjectEx (handle=0x4d6, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:125
#4  0x000000000059c1e7 in mono_wait_uninterrupted (numhandles=numhandles@entry=1, handles=handles@entry=0x7f6b67625078, waitall=waitall@entry=0, ms=ms@entry=-1, error=error@entry=0x7f6b67625080, thread=<optimized out>) at threads.c:1595
#5  0x000000000059d4a6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (handle=0x4d6, ms=-1) at threads.c:1731
#6  0x0000000041b3d951 in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f6b687a5700 (LWP 5155)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00000000006533b8 in mono_os_sem_wait (sem=0x7f6b687a4bb8, flags=<optimized out>) at ../../mono/utils/mono-os-semaphore.h:166
#2  mono_coop_sem_wait (sem=0x7f6b687a4bb8, flags=<optimized out>) at ../../mono/utils/mono-coop-semaphore.h:40
#3  mono_threads_core_create_thread (start_routine=start_routine@entry=0x59c320 <start_wrapper>, arg=arg@entry=0x7f6b4001fe00, stack_size=<optimized out>, stack_size@entry=0, creation_flags=creation_flags@entry=4, out_tid=out_tid@entry=0x7f6b687a4c20) at mono-threads-posix.c:144
#4  0x00000000006514e5 in mono_threads_create_thread (start=start@entry=0x59c320 <start_wrapper>, arg=arg@entry=0x7f6b4001fe00, stack_size=stack_size@entry=0, creation_flags=creation_flags@entry=4, out_tid=out_tid@entry=0x7f6b687a4c20) at mono-threads.c:1134
#5  0x000000000059dc6e in create_thread (thread=thread@entry=0x7f6b6927f910, internal=internal@entry=0x7f6b671f4130, start_info=0x7f6b4001fe00, threadpool_thread=threadpool_thread@entry=1, stack_size=0, error=error@entry=0x7f6b687a4ce0) at threads.c:844
#6  0x000000000059e0de in mono_thread_create_internal (domain=<optimized out>, func=func@entry=0x5a0230 <worker_thread>, arg=arg@entry=0x0, threadpool_thread=threadpool_thread@entry=1, stack_size=stack_size@entry=0, error=error@entry=0x7f6b687a4ce0) at threads.c:941
#7  0x000000000059ff81 in worker_try_create () at threadpool-ms.c:748
#8  0x00000000005a11eb in monitor_thread () at threadpool-ms.c:959
#9  0x000000000059c4ac in start_wrapper_internal (data=<optimized out>) at threads.c:740
#10 start_wrapper (data=<optimized out>) at threads.c:788
#11 0x000000000065363c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#12 0x00007f6baeaa5184 in start_thread (arg=0x7f6b687a5700) at pthread_create.c:312
#13 0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f6b66cf9700 (LWP 5164)):
#0  0x00007f6bae4f8fb2 in do_sigsuspend (set=0x98b340 <suspend_signal_mask>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:31
#1  __GI___sigsuspend (set=set@entry=0x98b340 <suspend_signal_mask>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
#2  0x0000000000653b2e in suspend_signal_handler (_dummy=<optimized out>, info=<optimized out>, context=0x7f6b66cf74c0) at mono-threads-posix-signals.c:208
#3  <signal handler called>
#4  0x00007f6baeaaca7d in fsync () at ../sysdeps/unix/syscall-template.S:81
#5  0x00007f6b87776233 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#6  0x00007f6b8776a297 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#7  0x00007f6b8778f08d in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007f6b8778f2ba in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007f6b8779fdbb in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007f6b877b7fde in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007f6b877b8f87 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x0000000041bd73a0 in ?? ()
#13 0x0000000000227609 in ?? ()
#14 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6b664f5700 (LWP 5165)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000651ac7 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x98b2a0 <sleep_mutex>, cond=0x98b2e0 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:136
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, cond=<optimized out>, mutex=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:107
#3  sleep_interruptable (alerted=0x7f6b664f453c, ms=2000) at mono-threads.c:1213
#4  mono_thread_info_sleep (ms=ms@entry=2000, alerted=alerted@entry=0x7f6b664f453c) at mono-threads.c:1245
#5  0x000000000059d939 in ves_icall_System_Threading_Thread_Sleep_internal (ms=2000) at threads.c:1227
#6  0x0000000041e282f8 in ?? ()
#7  0x00007f6badc025f0 in ?? ()
#8  0x00007f6badc025f0 in ?? ()
#9  0x00007f6badc025f0 in ?? ()
#10 0x00007f6badc026c0 in ?? ()
#11 0x00000000000007d0 in ?? ()
#12 0x0000000000979e28 in mini_arch_mutex ()
#13 0x0000000000979e48 in ?? ()
#14 0x00007f6b2c002250 in ?? ()
#15 0x00007f6b664f4550 in ?? ()
#16 0x00007f6b664f4720 in ?? ()
#17 0x00007f6b664f4560 in ?? ()
#18 0x0000000041e28208 in ?? ()
#19 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6b666f6700 (LWP 5166)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000000000629a51 in mono_os_cond_wait (mutex=0x27a1d70, cond=0x27a1d98) at ../../mono/utils/mono-os-mutex.h:107
#2  mono_os_cond_timedwait (timeout_ms=4294967295, mutex=0x27a1d70, cond=0x27a1d98) at ../../mono/utils/mono-os-mutex.h:122
#3  _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x4c8, timeout=timeout@entry=4294967295, alertable=alertable@entry=1, poll=poll@entry=0, alerted=alerted@entry=0x7f6b666f53ec) at handles.c:1555
#4  0x000000000063f7b4 in wapi_WaitForSingleObjectEx (handle=0x4c8, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:181
#5  0x00000000005bcb9b in mono_monitor_try_enter_inflated (obj=0x7f6b87089e10, ms=4294967295, allow_interruption=1, id=87) at monitor.c:885
#6  0x00000000005bdf87 in mono_monitor_try_enter_internal (allow_interruption=1, ms=4294967295, obj=0x7f6b87089e10) at monitor.c:994
#7  ves_icall_System_Threading_Monitor_Monitor_try_enter_with_atomic_var (obj=0x7f6b87089e10, ms=4294967295, lockTaken=0x7f6b666f5658 "") at monitor.c:1079
#8  0x00000000417cbd5a in ?? ()
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6b66af8700 (LWP 5167)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000000000629a51 in mono_os_cond_wait (mutex=0x27a1d70, cond=0x27a1d98) at ../../mono/utils/mono-os-mutex.h:107
#2  mono_os_cond_timedwait (timeout_ms=4294967295, mutex=0x27a1d70, cond=0x27a1d98) at ../../mono/utils/mono-os-mutex.h:122
#3  _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x4c8, timeout=timeout@entry=4294967295, alertable=alertable@entry=1, poll=poll@entry=0, alerted=alerted@entry=0x7f6b66af73ec) at handles.c:1555
#4  0x000000000063f7b4 in wapi_WaitForSingleObjectEx (handle=0x4c8, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:181
#5  0x00000000005bcb9b in mono_monitor_try_enter_inflated (obj=0x7f6b87089e10, ms=4294967295, allow_interruption=1, id=88) at monitor.c:885
#6  0x00000000005bdf87 in mono_monitor_try_enter_internal (allow_interruption=1, ms=4294967295, obj=0x7f6b87089e10) at monitor.c:994
#7  ves_icall_System_Threading_Monitor_Monitor_try_enter_with_atomic_var (obj=0x7f6b87089e10, ms=4294967295, lockTaken=0x7f6b66af7658 "") at monitor.c:1079
#8  0x00000000417cbd5a in ?? ()
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6b67aa8700 (LWP 5168)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000651ac7 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x98b2a0 <sleep_mutex>, cond=0x98b2e0 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:136
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, cond=<optimized out>, mutex=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:107
#3  sleep_interruptable (alerted=0x7f6b67aa753c, ms=2000) at mono-threads.c:1213
#4  mono_thread_info_sleep (ms=ms@entry=2000, alerted=alerted@entry=0x7f6b67aa753c) at mono-threads.c:1245
#5  0x000000000059d939 in ves_icall_System_Threading_Thread_Sleep_internal (ms=2000) at threads.c:1227
#6  0x0000000041e282f8 in ?? ()
#7  0x00007f6badc19418 in ?? ()
#8  0x00007f6badc19418 in ?? ()
#9  0x00007f6badc19418 in ?? ()
#10 0x00007f6badc194e8 in ?? ()
#11 0x00000000000007d0 in ?? ()
#12 0x0000000000979e28 in mini_arch_mutex ()
#13 0x0000000000979e48 in ?? ()
#14 0x00007f6b500058a0 in ?? ()
#15 0x00007f6b67aa7550 in ?? ()
#16 0x00007f6b67aa7720 in ?? ()
#17 0x00007f6b67aa7560 in ?? ()
#18 0x0000000041e28208 in ?? ()
#19 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6b65cf6700 (LWP 5169)):
#0  0x00007f6baeaaced9 in __libc_waitpid (pid=pid@entry=5170, stat_loc=stat_loc@entry=0x7f6b65cf45cc, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00000000004acd59 in mono_handle_native_sigsegv (signal=<optimized out>, ctx=<optimized out>, info=<optimized out>) at mini-exceptions.c:2427
#2  <signal handler called>
#3  0x00007f6bae4f8c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#4  0x00007f6bae4fc028 in __GI_abort () at abort.c:89
#5  0x000000000065a909 in monoeg_log_default_handler (log_domain=<optimized out>, log_level=<optimized out>, message=<optimized out>, unused_data=<optimized out>) at goutput.c:233
#6  monoeg_log_default_handler (log_domain=<optimized out>, log_level=G_LOG_LEVEL_ERROR, message=<optimized out>, unused_data=<optimized out>) at goutput.c:221
#7  0x000000000065ab17 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7f6b65cf5538) at goutput.c:113
#8  0x000000000065abc2 in monoeg_g_log (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x715f70 "suspend_thread suspend took %d ms, which is more than the allowed %d ms") at goutput.c:123
#9  0x00000000006510ec in mono_threads_wait_pending_operations () at mono-threads.c:245
#10 0x000000000065217a in suspend_sync (interrupt_kernel=0, tid=140099263108864) at mono-threads.c:918
#11 suspend_sync_nolock (interrupt_kernel=0, id=140099263108864) at mono-threads.c:935
#12 mono_thread_info_safe_suspend_and_run (id=140099263108864, interrupt_kernel=interrupt_kernel@entry=0, callback=callback@entry=0x4ccd00 <debugger_interrupt_critical>, user_data=user_data@entry=0x7f6b65cf5ac0) at mono-threads.c:978
#13 0x00000000004c86ce in notify_thread (key=0x7f6b69287930, value=0x7f6b3c002d00, user_data=<optimized out>) at debugger-agent.c:2688
#14 0x00000000005bef4c in mono_g_hash_table_foreach (hash=0x2785e50, func=func@entry=0x4c8660 <notify_thread>, user_data=user_data@entry=0x0) at mono-hash.c:286
#15 0x00000000004cbab8 in suspend_vm () at debugger-agent.c:2765
#16 0x00000000004d7e34 in process_event (event=event@entry=EVENT_KIND_THREAD_START, arg=arg@entry=0x7f6b69287e30, il_offset=il_offset@entry=0, ctx=ctx@entry=0x0, events=events@entry=0x7f6b200021d0, suspend_policy=2) at debugger-agent.c:3733
#17 0x00000000004d8236 in process_profiler_event (event=event@entry=EVENT_KIND_THREAD_START, arg=arg@entry=0x7f6b69287e30) at debugger-agent.c:3788
#18 0x00000000004d905e in thread_startup (prof=<optimized out>, tid=140099246319360) at debugger-agent.c:3860
#19 0x0000000000590343 in mono_profiler_thread_start (tid=140099246319360) at profiler.c:609
#20 0x000000000059c466 in start_wrapper_internal (data=0x5b2d0b0) at threads.c:728
#21 start_wrapper (data=0x5b2d0b0) at threads.c:788
#22 0x000000000065363c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#23 0x00007f6baeaa5184 in start_thread (arg=0x7f6b65cf6700) at pthread_create.c:312
#24 0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f6b65af5700 (LWP 5171)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x0000000000651edc in mono_os_sem_wait (sem=0x98b220 <global_suspend_semaphore>, flags=<optimized out>) at ../../mono/utils/mono-os-semaphore.h:166
#2  mono_thread_info_suspend_lock_with_info (info=<optimized out>) at mono-threads.c:1034
#3  0x0000000000651fc5 in mono_thread_info_suspend_lock () at mono-threads.c:1043
#4  0x0000000000652447 in register_thread (baseptr=0x7f6b65af4e90, info=0x7f6b240008e0) at mono-threads.c:381
#5  mono_thread_info_attach (baseptr=baseptr@entry=0x7f6b65af4e90) at mono-threads.c:595
#6  0x00000000006535bd in inner_start_thread (arg=0x7f6b687a4ba0) at mono-threads-posix.c:69
#7  0x00007f6baeaa5184 in start_thread (arg=0x7f6b65af5700) at pthread_create.c:312
#8  0x00007f6bae5bc37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f6baf5c0780 (LWP 5069)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f6baeaa7649 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f6baeaa7470 in __GI___pthread_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../nptl/pthread_mutex_lock.c:79
#3  0x00000000004d296f in mono_os_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-os-mutex.h:72
#4  mono_coop_mutex_lock (mutex=0x979240 <suspend_mutex>) at ../../mono/utils/mono-coop-mutex.h:55
#5  suspend_current () at debugger-agent.c:2913
#6  suspend_current () at debugger-agent.c:2895
#7  0x00000000004d98df in process_suspend (ctx=0x2804678, tls=<optimized out>) at debugger-agent.c:2742
#8  process_single_step_inner (tls=tls@entry=0x2803fe0, from_signal=from_signal@entry=0) at debugger-agent.c:4884
#9  0x00000000004dfa33 in debugger_agent_single_step_from_context (ctx=0x7ffda5c9c2e0) at debugger-agent.c:5012
#10 0x0000000040ef833b in ?? ()
#11 0x00007f6b86fd2958 in ?? ()
#12 0x0000000000000000 in ?? ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
Comment 1 Rodrigo Kumpera 2017-02-13 21:24:44 UTC
Hey Aleksey/Ludovic,

This is an interesting suspend crash on linux. Could one of you take a look?
Comment 2 Aleksey Kliger 2017-02-13 23:19:08 UTC

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