Skip to content

Instantly share code, notes, and snippets.

@alanmcgovern
Created February 15, 2017 00:41
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 alanmcgovern/83df2090ed42697ad75f78e4fd93d88f to your computer and use it in GitHub Desktop.
Save alanmcgovern/83df2090ed42697ad75f78e4fd93d88f to your computer and use it in GitHub Desktop.
(lldb) thread backtrace all
* thread #1: tid = 0x1d59c7, 0x00007fff90910db6 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_a0b', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff90910db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff89e00728 libsystem_pthread.dylib`_pthread_cond_wait + 767
frame #2: 0x000000010dc27558 mono64`mono_os_event_wait_multiple [inlined] mono_os_cond_wait(mutex=<unavailable>) + 12 at mono-os-mutex.h:146 [opt]
frame #3: 0x000000010dc2754c mono64`mono_os_event_wait_multiple(events=0x00007fff5225e210, nevents=6, waitall=1, timeout=4294967295) + 524 at os-event-unix.c:186 [opt]
frame #4: 0x000000010dc3b64e mono64`mono_thread_info_wait_multiple_handle(thread_handles=<unavailable>, nhandles=<unavailable>, background_change_event=<unavailable>, waitall=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) + 126 at mono-threads.c:1686 [opt]
frame #5: 0x000000010db76eb2 mono64`wait_for_tids(wait=<unavailable>, timeout=<unavailable>, check_state_change=<unavailable>) + 82 at threads.c:3122 [opt]
frame #6: 0x000000010db76cfb mono64`mono_thread_manage + 427 at threads.c:3342 [opt]
frame #7: 0x000000010da2228a mono64`mono_main(argc=<unavailable>, argv=<unavailable>) + 8090 at driver.g.c:2216 [opt]
frame #8: 0x000000010d9a263a mono64`main [inlined] mono_main_with_options(argc=9, argc=9, argc=9, argv=0x00007fff5225ec50, argv=0x00007fff5225ec50, argv=0x00007fff5225ec50) + 17 at main.c:45 [opt]
frame #9: 0x000000010d9a2629 mono64`main(argc=9, argv=0x00007fff5225ec50) + 1673 at main.c:338 [opt]
frame #10: 0x000000010d9a1f94 mono64`start + 52
thread #2: tid = 0x1d59c8, 0x00007fff90910db6 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'SGen worker'
frame #0: 0x00007fff90910db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff89e00728 libsystem_pthread.dylib`_pthread_cond_wait + 767
frame #2: 0x000000010dc25045 mono64`thread_func [inlined] mono_os_cond_wait(mutex=0x000000010dd78488) + 15 at mono-os-mutex.h:146 [opt]
frame #3: 0x000000010dc25036 mono64`thread_func(thread_data=0x000000010e0d0108) + 230 at sgen-thread-pool.c:129 [opt]
frame #4: 0x00007fff89dff99d libsystem_pthread.dylib`_pthread_body + 131
frame #5: 0x00007fff89dff91a libsystem_pthread.dylib`_pthread_start + 168
frame #6: 0x00007fff89dfd351 libsystem_pthread.dylib`thread_start + 13
thread #3: tid = 0x1d59c9, 0x00007fff9090afae libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'Finalizer'
frame #0: 0x00007fff9090afae libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x000000010dba6d81 mono64`finalizer_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) + 11 at mono-os-semaphore.h:90 [opt]
frame #2: 0x000000010dba6d76 mono64`finalizer_thread [inlined] mono_coop_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) + 8 at mono-coop-semaphore.h:40 [opt]
frame #3: 0x000000010dba6d6e mono64`finalizer_thread(unused=<unavailable>) + 174 at gc.c:907 [opt]
frame #4: 0x000000010db79f83 mono64`start_wrapper [inlined] start_wrapper_internal + 302 at threads.c:836 [opt]
frame #5: 0x000000010db79e55 mono64`start_wrapper(data=<unavailable>) + 37 at threads.c:888 [opt]
frame #6: 0x000000010dc3a771 mono64`inner_start_thread(data=<unavailable>) + 193 at mono-threads.c:1165 [opt]
frame #7: 0x00007fff89dff99d libsystem_pthread.dylib`_pthread_body + 131
frame #8: 0x00007fff89dff91a libsystem_pthread.dylib`_pthread_start + 168
frame #9: 0x00007fff89dfd351 libsystem_pthread.dylib`thread_start + 13
thread #4: tid = 0x1d59cb, 0x00007fff90911efa libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff90911efa libsystem_kernel.dylib`kevent_qos + 10
frame #1: 0x00007fff8ecf1165 libdispatch.dylib`_dispatch_mgr_invoke + 216
frame #2: 0x00007fff8ecf0dcd libdispatch.dylib`_dispatch_mgr_thread + 52
thread #5: tid = 0x1d59cf, 0x00007fff90910db6 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Threadpool worker'
frame #0: 0x00007fff90910db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff89e00728 libsystem_pthread.dylib`_pthread_cond_wait + 767
frame #2: 0x000000010db9c8a3 mono64`mono_os_cond_timedwait [inlined] mono_os_cond_wait(cond=0x00007fa544007208, mutex=0x00007fa5440071c8) + 11 at mono-os-mutex.h:146 [opt]
frame #3: 0x000000010db9c898 mono64`mono_os_cond_timedwait(cond=0x00007fa544007208, mutex=0x00007fa5440071c8, timeout_ms=<unavailable>) + 152 at mono-os-mutex.h:160 [opt]
frame #4: 0x000000010db9b41d mono64`mono_w32handle_timedwait_signal_handle [inlined] mono_w32handle_timedwait_signal_naked(cond=<unavailable>, mutex=<unavailable>, timeout=4294967295, poll=0, alerted=<unavailable>) + 8 at w32handle.c:973 [opt]
frame #5: 0x000000010db9b415 mono64`mono_w32handle_timedwait_signal_handle(poll=0, handle=<unavailable>, timeout=<unavailable>, alerted=<unavailable>) + 213 at w32handle.c:1088 [opt]
frame #6: 0x000000010db9b2bb mono64`mono_w32handle_wait_one(handle=0x0000000000000407, timeout=4294967295, alertable=<unavailable>) + 907 at w32handle.c:1207 [opt]
frame #7: 0x000000010db9b59e mono64`mono_w32handle_wait_multiple(handles=<unavailable>, nhandles=<unavailable>, waitall=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) + 190 at w32handle.c:1241 [opt]
frame #8: 0x000000010db74b23 mono64`mono_wait_uninterrupted(thread=<unavailable>, numhandles=<unavailable>, handles=<unavailable>, waitall=<unavailable>, ms=<unavailable>, error=<unavailable>) + 115 at threads.c:1867 [opt]
frame #9: 0x000000010db74e40 mono64`ves_icall_System_Threading_WaitHandle_WaitOne_internal(handle=0x0000000000000407, ms=-1) + 112 at threads.c:1992 [opt]
frame #10: 0x0000000110e7c99f
frame #11: 0x0000000110e7c7aa
frame #12: 0x0000000110e7a71f
frame #13: 0x0000000110e72017
frame #14: 0x0000000110e716f9
frame #15: 0x0000000110e5f5d4
frame #16: 0x000000010d9b15e5 mono64`mono_jit_runtime_invoke(method=<unavailable>, obj=0x0000000000000000, params=<unavailable>, error=<unavailable>) + 2261 at mini-runtime.c:2530 [opt]
frame #17: 0x000000010dbae2a8 mono64`do_runtime_invoke(method=0x00007fa544020478, obj=0x0000000000000000, params=0x0000000000000000, exc=0x0000700000825bd8, error=0x0000700000825be0) + 88 at object.c:2858 [opt]
frame #18: 0x000000010db7bc8f mono64`worker_callback [inlined] try_invoke_perform_wait_callback(exc=0x0000000000000000, error=0x0000700000000000) + 26 at threadpool.c:356 [opt]
frame #19: 0x000000010db7bc75 mono64`worker_callback(unused=<unavailable>) + 933 at threadpool.c:433 [opt]
frame #20: 0x000000010db7e879 mono64`worker_thread(data=0x00007fa543ca9600) + 1129 at threadpool-worker-default.c:592 [opt]
frame #21: 0x000000010db79f83 mono64`start_wrapper [inlined] start_wrapper_internal + 302 at threads.c:836 [opt]
frame #22: 0x000000010db79e55 mono64`start_wrapper(data=<unavailable>) + 37 at threads.c:888 [opt]
frame #23: 0x000000010dc3a771 mono64`inner_start_thread(data=<unavailable>) + 193 at mono-threads.c:1165 [opt]
frame #24: 0x00007fff89dff99d libsystem_pthread.dylib`_pthread_body + 131
frame #25: 0x00007fff89dff91a libsystem_pthread.dylib`_pthread_start + 168
frame #26: 0x00007fff89dfd351 libsystem_pthread.dylib`thread_start + 13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment