Skip to content

Instantly share code, notes, and snippets.

@pjbeaman
Created April 11, 2012 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjbeaman/2360860 to your computer and use it in GitHub Desktop.
Save pjbeaman/2360860 to your computer and use it in GitHub Desktop.
GDB on hung MD process
................................................. done
0x96a8f83e in __psynch_cvwait ()
(gdb) t a a bt
Thread 8 (process 48777):
#0 0x96a9002e in __workq_kernreturn ()
#1 0x90462ccf in _pthread_wqthread ()
#2 0x904646fe in start_wqthread ()
Thread 7 (process 48777):
#0 0x96a8dc22 in mach_msg_trap ()
#1 0x96a8d280 in mach_msg ()
#2 0x91ecec7a in __CFRunLoopServiceMachPort ()
#3 0x91ed7da4 in __CFRunLoopRun ()
#4 0x91ed747c in CFRunLoopRunSpecific ()
#5 0x91ee81a1 in CFRunLoopRun ()
#6 0x053788f4 in ?? ()
#7 0x05378854 in ?? ()
#8 0x05377aa4 in ?? ()
#9 0x03ae04e0 in ?? ()
#10 0x02fd30c9 in ?? ()
#11 0x0000ecf4 in mono_jit_runtime_invoke (method=0x9cd8dc, obj=0x782fe70, params=0xb0bbcee8, exc=0x0) at mini.c:5791
#12 0x00184354 in mono_runtime_invoke (method=0x9cd8dc, obj=0x782fe70, params=0xb0bbcee8, exc=0x0) at object.c:2755
#13 0x0018462f in mono_runtime_delegate_invoke (delegate=0x782fe70, params=0xb0bbcee8, exc=0x0) at object.c:3420
#14 0x001bd96b in start_wrapper (data=0x15eb2050) at threads.c:790
#15 0x001efa8a in thread_start_routine (args=0x1d8dc50) at wthreads.c:287
#16 0x002171d4 in GC_start_routine (arg=0x795fd80) at pthread_support.c:1468
#17 0x90460ed9 in _pthread_start ()
#18 0x904646de in thread_start ()
Thread 6 (process 48777):
#0 0x96a8fb42 in select$DARWIN_EXTSN ()
#1 0x91f25ee5 in __CFSocketManager ()
#2 0x90460ed9 in _pthread_start ()
#3 0x904646de in thread_start ()
Thread 5 (process 48777):
#0 0x96a8fb42 in select$DARWIN_EXTSN ()
#1 0x040b945d in g_poll ()
#2 0x0473b5c4 in select_thread_func ()
#3 0x90460ed9 in _pthread_start ()
#4 0x904646de in thread_start ()
Thread 4 (process 48777):
#0 0x96a9090a in kevent ()
#1 0x929f8c58 in _dispatch_mgr_invoke ()
#2 0x929f76a7 in _dispatch_mgr_thread ()
Thread 3 (process 48777):
#0 0x96a8dc5e in semaphore_wait_trap ()
#1 0x001f7eba in mono_sem_wait (sem=0x2c7df0, alertable=1) at mono-semaphore.c:115
#2 0x0012a142 in finalizer_thread (unused=0x0) at gc.c:1066
#3 0x001bd8ec in start_wrapper (data=0x4661e0) at threads.c:784
#4 0x001efa8a in thread_start_routine (args=0x95cdb8) at wthreads.c:287
#5 0x002171d4 in GC_start_routine (arg=0x502f60) at pthread_support.c:1468
#6 0x90460ed9 in _pthread_start ()
#7 0x904646de in thread_start ()
Thread 2 (process 48777):
#0 0x96a8dc22 in mach_msg_trap ()
#1 0x96a8d1f6 in mach_msg ()
#2 0x000ee0da in mach_exception_thread (arg=0x0) at mini-darwin.c:129
#3 0x002171d4 in GC_start_routine (arg=0x502f60) at pthread_support.c:1468
#4 0x90460ed9 in _pthread_start ()
#5 0x904646de in thread_start ()
Thread 1 (process 48777):
#0 0x96a8f83e in __psynch_cvwait ()
#1 0x90464e21 in _pthread_cond_wait ()
#2 0x9041542c in pthread_cond_wait$UNIX2003 ()
#3 0x001da4bf in _wapi_handle_timedwait_signal_handle (handle=0x400, timeout=0x0, alertable=1, poll=0) at handles.c:1655
#4 0x001da592 in _wapi_handle_wait_signal (poll=0) at handles.c:1584
#5 0x001ed281 in WaitForMultipleObjectsEx (numobjects=11, handles=0xbffff3ec, waitall=1, timeout=4294967295, alertable=1) at wait.c:722
#6 0x001bc5d8 in wait_for_tids (wait=0xbffff3ec, timeout=<value temporarily unavailable, due to optimizations>) at threads.c:2748
#7 0x001bf678 in mono_thread_manage () at threads.c:3048
#8 0x00074652 in mono_main (argc=5, argv=0xbffff93c) at driver.c:1856
#9 0x00001fd6 in start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment