Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(lldb) process attach --pid 11069
Process 11069 stopped
Executable module set to "/usr/local/bin/mono".
Architecture set to: x86_64-apple-macosx.
(lldb) thread list
Process 11069 stopped
* thread #1: tid = 0x491a9, 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0x491ad, 0x00007fff9133ea56 libsystem_kernel.dylib`semaphore_wait_trap + 10
thread #3: tid = 0x491ae, 0x00007fff91343662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
thread #4: tid = 0x491e9, 0x00007fff91342a3a libsystem_kernel.dylib`__semwait_signal + 10
thread #5: tid = 0x491ea, 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10
thread #6: tid = 0x4954b, 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10
thread #7: tid = 0x4954c, 0x00007fff91342746 libsystem_kernel.dylib`__psynch_mutexwait + 10
(lldb) disassemble
libsystem_kernel.dylib`__psynch_cvwait:
0x7fff9134270c: movl $0x2000131, %eax
0x7fff91342711: movq %rcx, %r10
0x7fff91342714: syscall
-> 0x7fff91342716: jae 0x7fff91342720 ; __psynch_cvwait + 20
0x7fff91342718: movq %rax, %rdi
0x7fff9134271b: jmpq 0x7fff9133f175 ; cerror_nocancel
0x7fff91342720: ret
0x7fff91342721: nop
0x7fff91342722: nop
0x7fff91342723: nop
(lldb) thread backtrace all
* thread #1: tid = 0x491a9, 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff89afac3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x000000010ea7c58a mono`_wapi_handle_timedwait_signal_handle(handle=0x0000000000000321, timeout=0x0000000000000000, alertable=1, poll=0) + 698 at handles.c:1596
frame #3: 0x000000010ea7c61d mono`_wapi_handle_wait_signal_handle(handle=0x0000000000000321, alertable=1) + 45 at handles.c:1541
frame #4: 0x000000010ea97243 mono`WaitForSingleObjectEx(handle=0x0000000000000321, timeout=4294967295, alertable=1) + 691 at wait.c:194
frame #5: 0x000000010e97cac8 mono`mono_wait_uninterrupted(thread=0x000000010eeb8010, multiple=0, numhandles=1, handles=0x00007fff51544fb8, waitall=0, ms=-1, alertable=1) + 152 at threads.c:1329
frame #6: 0x000000010e97cddf mono`ves_icall_System_Threading_WaitHandle_WaitOne_internal(this=0x000000010f3bafa8, handle=0x0000000000000321, ms=-1, exitContext=0) + 111 at threads.c:1461
frame #7: 0x0000000113ab9c4f
frame #8: 0x00000001129e2969
frame #9: 0x00000001129e1ac9
frame #10: 0x000000011243a715
frame #11: 0x000000011243a9ee
frame #12: 0x000000010e6cea74 mono`mono_jit_runtime_invoke(method=0x00007fd5849cbdd8, obj=0x000000010f0d8058, params=0x00007fff515455f0, exc=0x0000000000000000) + 3428 at mini.c:6723
frame #13: 0x000000010e9c266d mono`mono_runtime_invoke(method=0x00007fd5849cbdd8, obj=0x000000010f0d8058, params=0x00007fff515455f0, exc=0x0000000000000000) + 141 at object.c:2828
frame #14: 0x000000010e9cec72 mono`mono_runtime_invoke_array(method=0x00007fd5849cbdd8, obj=0x000000010f0d8058, params=0x000000010f0d8460, exc=0x0000000000000000) + 2034 at object.c:4297
frame #15: 0x000000010e8f4d77 mono`ves_icall_InternalInvoke(method=0x000000010f0d79f0, this=0x000000010f0d8058, params=0x000000010f0d8460, exc=0x00007fff515458c8) + 1671 at icall.c:2845
frame #16: 0x000000011097acdf
frame #17: 0x000000011097a8e3
frame #18: 0x00000001109a35b1
frame #19: 0x00000001109a38a5
frame #20: 0x000000010e6cea74 mono`mono_jit_runtime_invoke(method=0x00007fd58268b6a8, obj=0x000000010f01af78, params=0x00007fff51545ec0, exc=0x0000000000000000) + 3428 at mini.c:6723
frame #21: 0x000000010e9c266d mono`mono_runtime_invoke(method=0x00007fd58268b6a8, obj=0x000000010f01af78, params=0x00007fff51545ec0, exc=0x0000000000000000) + 141 at object.c:2828
frame #22: 0x000000010e9cec72 mono`mono_runtime_invoke_array(method=0x00007fd58268b6a8, obj=0x000000010f01af78, params=0x000000010f01b2d0, exc=0x0000000000000000) + 2034 at object.c:4297
frame #23: 0x000000010e8f4d77 mono`ves_icall_InternalInvoke(method=0x000000010f01a9d8, this=0x000000010f01af78, params=0x000000010f01b2d0, exc=0x00007fff51546198) + 1671 at icall.c:2845
frame #24: 0x000000011097acdf
frame #25: 0x000000011097a8e3
frame #26: 0x000000010e6cea74 mono`mono_jit_runtime_invoke(method=0x00007fd583906bb0, obj=0x000000010f015c88, params=0x00007fff51546610, exc=0x0000000000000000) + 3428 at mini.c:6723
frame #27: 0x000000010e9c266d mono`mono_runtime_invoke(method=0x00007fd583906bb0, obj=0x000000010f015c88, params=0x00007fff51546610, exc=0x0000000000000000) + 141 at object.c:2828
frame #28: 0x000000010e9cec72 mono`mono_runtime_invoke_array(method=0x00007fd583906bb0, obj=0x000000010f015c88, params=0x000000010f015ca8, exc=0x0000000000000000) + 2034 at object.c:4297
frame #29: 0x000000010e8f4d77 mono`ves_icall_InternalInvoke(method=0x000000010f015a98, this=0x000000010f015c88, params=0x000000010f015ca8, exc=0x00007fff515468e8) + 1671 at icall.c:2845
frame #30: 0x000000011097acdf
frame #31: 0x000000011097a8e3
frame #32: 0x000000010ee30729
frame #33: 0x000000010ee2ce5d
frame #34: 0x000000010e6cea74 mono`mono_jit_runtime_invoke(method=0x00007fd5826033b0, obj=0x0000000000000000, params=0x00007fff51546f40, exc=0x0000000000000000) + 3428 at mini.c:6723
frame #35: 0x000000010e9c266d mono`mono_runtime_invoke(method=0x00007fd5826033b0, obj=0x0000000000000000, params=0x00007fff51546f40, exc=0x0000000000000000) + 141 at object.c:2828
frame #36: 0x000000010e9cd68f mono`mono_runtime_exec_main(method=0x00007fd5826033b0, args=0x000000010f000ca8, exc=0x0000000000000000) + 703 at object.c:4085
frame #37: 0x000000010e9cd3c1 mono`mono_runtime_run_main(method=0x00007fd5826033b0, argc=2, argv=0x00007fff515474a0, exc=0x0000000000000000) + 913 at object.c:3711
frame #38: 0x000000010e7863b3 mono`mono_jit_exec(domain=0x00007fd582601e80, assembly=0x00007fd58262fff0, argc=3, argv=0x00007fff51547498) + 211 at driver.c:1006
frame #39: 0x000000010e789cf0 mono`main_thread_handler(user_data=0x00007fff51547340) + 560 at driver.c:1065
frame #40: 0x000000010e788876 mono`mono_main(argc=4, argv=0x00007fff51547490) + 8166 at driver.c:2024
frame #41: 0x000000010e6b9bfe mono`mono_main_with_options(argc=4, argv=0x00007fff51547490) + 1006 at main.c:91
frame #42: 0x000000010e6b9803 mono`main(argc=4, argv=0x00007fff51547490) + 51 at main.c:122
thread #2: tid = 0x491ad, 0x00007fff9133ea56 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #0: 0x00007fff9133ea56 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x000000010eaaf38a mono`mono_sem_wait(sem=0x000000010ebda3b8, alertable=1) + 26 at mono-semaphore.c:121
frame #2: 0x000000010e9bdc06 mono`finalizer_thread(unused=0x0000000000000000) + 166 at gc.c:1073
frame #3: 0x000000010e985d1f mono`start_wrapper_internal(data=0x00007fd58262f130) + 1039 at threads.c:660
frame #4: 0x000000010e985901 mono`start_wrapper(data=0x00007fd58262f130) + 33 at threads.c:707
frame #5: 0x000000010eab9484 mono`inner_start_thread(arg=0x00007fff51546d60) + 580 at mono-threads-posix.c:94
frame #6: 0x00007fff89af8899 libsystem_pthread.dylib`_pthread_body + 138
frame #7: 0x00007fff89af872a libsystem_pthread.dylib`_pthread_start + 137
thread #3: tid = 0x491ae, 0x00007fff91343662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff91343662 libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x00007fff8b1da421 libdispatch.dylib`_dispatch_mgr_invoke + 239
frame #2: 0x00007fff8b1da136 libdispatch.dylib`_dispatch_mgr_thread + 52
thread #4: tid = 0x491e9, 0x00007fff91342a3a libsystem_kernel.dylib`__semwait_signal + 10
frame #0: 0x00007fff91342a3a libsystem_kernel.dylib`__semwait_signal + 10
frame #1: 0x00007fff8f10fdc0 libsystem_c.dylib`nanosleep + 200
frame #2: 0x000000010ea9a020 mono`SleepEx(ms=500, alertable=1) + 224 at wthreads.c:290
frame #3: 0x000000010e98a2f4 mono`monitor_thread(unused=0x0000000000000000) + 132 at threadpool.c:779
frame #4: 0x000000010e985d1f mono`start_wrapper_internal(data=0x00007fd58271daa0) + 1039 at threads.c:660
frame #5: 0x000000010e985901 mono`start_wrapper(data=0x00007fd58271daa0) + 33 at threads.c:707
frame #6: 0x000000010eab9484 mono`inner_start_thread(arg=0x00007fff51543640) + 580 at mono-threads-posix.c:94
frame #7: 0x00007fff89af8899 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x00007fff89af872a libsystem_pthread.dylib`_pthread_start + 137
thread #5: tid = 0x491ea, 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff89afac3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x000000010ea7c58a mono`_wapi_handle_timedwait_signal_handle(handle=0x00000000000003bd, timeout=0x0000000000000000, alertable=1, poll=0) + 698 at handles.c:1596
frame #3: 0x000000010ea7c61d mono`_wapi_handle_wait_signal_handle(handle=0x00000000000003bd, alertable=1) + 45 at handles.c:1541
frame #4: 0x000000010ea97243 mono`WaitForSingleObjectEx(handle=0x00000000000003bd, timeout=4294967295, alertable=1) + 691 at wait.c:194
frame #5: 0x000000010e97cac8 mono`mono_wait_uninterrupted(thread=0x0000000113a15090, multiple=0, numhandles=1, handles=0x0000000113e3cdf8, waitall=0, ms=-1, alertable=1) + 152 at threads.c:1329
frame #6: 0x000000010e97cddf mono`ves_icall_System_Threading_WaitHandle_WaitOne_internal(this=0x000000010f033a40, handle=0x00000000000003bd, ms=-1, exitContext=0) + 111 at threads.c:1461
frame #7: 0x0000000113ab9c4f
frame #8: 0x0000000113ab8c36
frame #9: 0x0000000113ab7251
frame #10: 0x0000000113ab2fb9
frame #11: 0x0000000113ab2c51
frame #12: 0x0000000113ab1988
frame #13: 0x0000000113ab186b
frame #14: 0x0000000113aa9d7f
frame #15: 0x0000000113aa99fc
frame #16: 0x0000000113aa996f
frame #17: 0x0000000114578867
thread #6: tid = 0x4954b, 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x00007fff91342716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff89afac3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x000000010ea7c58a mono`_wapi_handle_timedwait_signal_handle(handle=0x0000000000000336, timeout=0x0000000000000000, alertable=1, poll=0) + 698 at handles.c:1596
frame #3: 0x000000010ea7c61d mono`_wapi_handle_wait_signal_handle(handle=0x0000000000000336, alertable=1) + 45 at handles.c:1541
frame #4: 0x000000010ea97243 mono`WaitForSingleObjectEx(handle=0x0000000000000336, timeout=4294967295, alertable=1) + 691 at wait.c:194
frame #5: 0x000000010e97cac8 mono`mono_wait_uninterrupted(thread=0x000000011417f5b0, multiple=0, numhandles=1, handles=0x00000001147909b8, waitall=0, ms=-1, alertable=1) + 152 at threads.c:1329
frame #6: 0x000000010e97cddf mono`ves_icall_System_Threading_WaitHandle_WaitOne_internal(this=0x000000010f3fea00, handle=0x0000000000000336, ms=-1, exitContext=0) + 111 at threads.c:1461
frame #7: 0x0000000113ab9c4f
frame #8: 0x0000000114587760
frame #9: 0x000000010e6cea74 mono`mono_jit_runtime_invoke(method=0x00007fd58527f6a0, obj=0x000000010f3fed08, params=0x0000000114790df0, exc=0x0000000000000000) + 3428 at mini.c:6723
frame #10: 0x000000010e9c266d mono`mono_runtime_invoke(method=0x00007fd58527f6a0, obj=0x000000010f3fed08, params=0x0000000114790df0, exc=0x0000000000000000) + 141 at object.c:2828
frame #11: 0x000000010e9cccf8 mono`mono_runtime_delegate_invoke(delegate=0x000000010f3fed08, params=0x0000000114790df0, exc=0x0000000000000000) + 136 at object.c:3539
frame #12: 0x000000010e985d9f mono`start_wrapper_internal(data=0x00007fd584edce70) + 1167 at threads.c:666
frame #13: 0x000000010e985901 mono`start_wrapper(data=0x00007fd584edce70) + 33 at threads.c:707
frame #14: 0x000000010eab9484 mono`inner_start_thread(arg=0x00007fff515448e0) + 580 at mono-threads-posix.c:94
frame #15: 0x00007fff89af8899 libsystem_pthread.dylib`_pthread_body + 138
frame #16: 0x00007fff89af872a libsystem_pthread.dylib`_pthread_start + 137
thread #7: tid = 0x4954c, 0x00007fff91342746 libsystem_kernel.dylib`__psynch_mutexwait + 10
frame #0: 0x00007fff91342746 libsystem_kernel.dylib`__psynch_mutexwait + 10
frame #1: 0x00007fff89afb779 libsystem_pthread.dylib`_pthread_mutex_lock + 372
frame #2: 0x000000010e9046c2 mono`mono_loader_lock + 34 at loader.c:2308
frame #3: 0x000000010e8b3d42 mono`mono_class_inflate_generic_method_full_checked(method=0x00007fd582834990, klass_hint=0x0000000000000000, context=0x0000000114b80370, error=0x0000000114b80188) + 930 at class.c:1069
frame #4: 0x000000010e8b390d mono`mono_class_inflate_generic_method_full(method=0x00007fd582834990, klass_hint=0x0000000000000000, context=0x0000000114b80370) + 61 at class.c:968
frame #5: 0x000000010e8b38ca mono`mono_class_inflate_generic_method(method=0x00007fd582834990, context=0x0000000114b80370) + 42 at class.c:954
frame #6: 0x000000010e7c95b8 mono`common_call_trampoline(regs=0x0000000114b806f8, code=0x0000000113aba3b3, m=0x00007fd5870150d0, tramp=0x0000000113aba466, vt=0x0000000000000000, vtable_slot=0x0000000000000000, need_rgctx_tramp=0) + 2408 at mini-trampolines.c:571
frame #7: 0x000000010e7c8c3e mono`mono_magic_trampoline(regs=0x0000000114b806f8, code=0x0000000113aba3b3, arg=0x00007fd5870150d0, tramp=0x0000000113aba466) + 110 at mini-trampolines.c:717
frame #8: 0x000000010ed57172
frame #9: 0x0000000113aba3b3
frame #10: 0x0000000113ab73f9
frame #11: 0x000000010e6cea74 mono`mono_jit_runtime_invoke(method=0x00007fd58527f6a0, obj=0x000000010f033970, params=0x0000000114b80df0, exc=0x0000000000000000) + 3428 at mini.c:6723
frame #12: 0x000000010e9c266d mono`mono_runtime_invoke(method=0x00007fd58527f6a0, obj=0x000000010f033970, params=0x0000000114b80df0, exc=0x0000000000000000) + 141 at object.c:2828
frame #13: 0x000000010e9cccf8 mono`mono_runtime_delegate_invoke(delegate=0x000000010f033970, params=0x0000000114b80df0, exc=0x0000000000000000) + 136 at object.c:3539
frame #14: 0x000000010e985d9f mono`start_wrapper_internal(data=0x00007fd587093cc0) + 1167 at threads.c:666
frame #15: 0x000000010e985901 mono`start_wrapper(data=0x00007fd587093cc0) + 33 at threads.c:707
frame #16: 0x000000010eab9484 mono`inner_start_thread(arg=0x0000000113e3cc60) + 580 at mono-threads-posix.c:94
frame #17: 0x00007fff89af8899 libsystem_pthread.dylib`_pthread_body + 138
frame #18: 0x00007fff89af872a libsystem_pthread.dylib`_pthread_start + 137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment