Skip to content

Instantly share code, notes, and snippets.

@lewurm

lewurm/- Secret

Created February 27, 2017 20:58
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 lewurm/df89877b554ba73aad10d014111ef6b3 to your computer and use it in GitHub Desktop.
Save lewurm/df89877b554ba73aad10d014111ef6b3 to your computer and use it in GitHub Desktop.
(lldb) bt all
* thread #1: tid = 0x19fd59, 0x00007fffc2f8d38a libsystem_kernel.dylib`mach_msg_trap + 10, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fffc2f8d38a libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fffc2f8c7d7 libsystem_kernel.dylib`mach_msg + 55
frame #2: 0x00007fffc2f895e2 libsystem_kernel.dylib`thread_suspend + 72
frame #3: 0x0000000108640f28 dontlink-mac`mono_threads_suspend_begin_async_suspend(info=<unavailable>, interrupt_kernel=<unavailable>) + 40 at mono-threads-mach.c:77 [opt]
frame #4: 0x00000001086446c4 dontlink-mac`mono_thread_info_safe_suspend_and_run [inlined] begin_async_suspend(info=0x00007fa9500b4200, interrupt_kernel=1) + 356 at mono-threads.c:125 [opt]
frame #5: 0x00000001086446b9 dontlink-mac`mono_thread_info_safe_suspend_and_run [inlined] suspend_sync(interrupt_kernel=1) + 201 at mono-threads.c:900 [opt]
frame #6: 0x00000001086445f0 dontlink-mac`mono_thread_info_safe_suspend_and_run [inlined] suspend_sync_nolock at mono-threads.c:932 [opt]
frame #7: 0x00000001086445f0 dontlink-mac`mono_thread_info_safe_suspend_and_run(id=0x000070000942f000, interrupt_kernel=1, callback=<unavailable>, user_data=0x00007fff5786edc8) + 144 at mono-threads.c:975 [opt]
frame #8: 0x00000001085bc620 dontlink-mac`async_suspend_internal(thread=0x000000010b550508, interrupt=1) + 80 at threads.c:4976 [opt]
frame #9: 0x00000001085bc427 dontlink-mac`mono_thread_suspend_all_other_threads + 327 at threads.c:3459 [opt]
frame #10: 0x0000000108512d60 dontlink-mac`ves_icall_System_Environment_Exit(result=0) + 32 at icall.c:6647 [opt]
frame #11: 0x000000010e5e0479
frame #12: 0x000000010e5e019f
frame #13: 0x000000010e5e014a
frame #14: 0x00000001084a85c8 dontlink-mac`mono_jit_runtime_invoke(method=<unavailable>, obj=<unavailable>, params=0x00007fff5786f8e0, exc=<unavailable>, error=<unavailable>) + 2264 at mini-runtime.c:2530 [opt]
* frame #15: 0x0000000108572fe8 dontlink-mac`do_runtime_invoke(method=0x00007fa94d8f2880, obj=0x0000000109ceb788, params=0x00007fff5786f8e0, exc=0x0000000000000000, error=0x00007fff5786f828) + 88 at object.c:2858 [opt]
frame #16: 0x0000000108572f60 dontlink-mac`mono_runtime_invoke [inlined] mono_runtime_invoke_checked(method=<unavailable>, obj=0x0000000109ceb788, params=0x00007fff5786f8e0, error=0x00007fff5786f828) + 63 at object.c:3016 [opt]
frame #17: 0x0000000108572f21 dontlink-mac`mono_runtime_invoke(method=0x00007fa94d8f2880, obj=0x0000000109ceb788, params=0x00007fff5786f8e0, exc=<unavailable>) + 145 at object.c:2915 [opt]
frame #18: 0x0000000108671ddd dontlink-mac`native_to_managed_trampoline_11(self=0x00007fa94d6a7210, _cmd="xamarinApplySelector", managed_method_ptr=0x0000000108864978, token_ref=3511) + 237 at Xamarin.Mac.registrar.mobile.x86_64.m:474
frame #19: 0x0000000108671ce4 dontlink-mac`::-[__MonoMac_NSActionDispatcher xamarinApplySelector](self=0x00007fa94d6a7210, _cmd="xamarinApplySelector") + 52 at Xamarin.Mac.registrar.mobile.x86_64.m:29147
frame #20: 0x00007fffaf37288a Foundation`__NSThreadPerformPerform + 326
frame #21: 0x00007fffad92e981 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
frame #22: 0x00007fffad90fa7d CoreFoundation`__CFRunLoopDoSources0 + 557
frame #23: 0x00007fffad90ef76 CoreFoundation`__CFRunLoopRun + 934
frame #24: 0x00007fffad90e974 CoreFoundation`CFRunLoopRunSpecific + 420
frame #25: 0x00007ffface9aa5c HIToolbox`RunCurrentEventLoopInMode + 240
frame #26: 0x00007ffface9a799 HIToolbox`ReceiveNextEventCommon + 184
frame #27: 0x00007ffface9a6c6 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
frame #28: 0x00007fffab4405b4 AppKit`_DPSNextEvent + 1120
frame #29: 0x00007fffabbbad6b AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
frame #30: 0x00007fffab434f35 AppKit`-[NSApplication run] + 926
frame #31: 0x00000001083ae529 dontlink-mac`xamarin_dyn_objc_msgSend + 217
frame #32: 0x000000010e5defa6
frame #33: 0x000000010d8ff014
frame #34: 0x000000010d8fd57f
frame #35: 0x00000001084a85c8 dontlink-mac`mono_jit_runtime_invoke(method=<unavailable>, obj=<unavailable>, params=0x00007fff578718f0, exc=<unavailable>, error=<unavailable>) + 2264 at mini-runtime.c:2530 [opt]
frame #36: 0x0000000108572fe8 dontlink-mac`do_runtime_invoke(method=0x00007fa94d633488, obj=0x0000000000000000, params=0x00007fff578718f0, exc=0x0000000000000000, error=0x00007fff57871940) + 88 at object.c:2858 [opt]
frame #37: 0x0000000108576500 dontlink-mac`do_exec_main_checked [inlined] mono_runtime_invoke_checked(method=<unavailable>, obj=<unavailable>, error=0x00007fff57871940) + 144 at object.c:3016 [opt]
frame #38: 0x00000001085764bf dontlink-mac`do_exec_main_checked(method=0x00007fa94d633488, args=<unavailable>, error=0x00007fff57871940) + 79 at object.c:4678 [opt]
frame #39: 0x0000000108409bba dontlink-mac`mono_jit_exec(domain=<unavailable>, assembly=<unavailable>, argc=1, argv=0x00007fa94d62ae80) + 298 at driver.g.c:1037 [opt]
frame #40: 0x000000010840c25f dontlink-mac`mono_main [inlined] main_thread_handler + 8799 at driver.g.c:1106 [opt]
frame #41: 0x000000010840c22c dontlink-mac`mono_main(argc=<unavailable>, argv=<unavailable>) + 8748 at driver.g.c:2215 [opt]
frame #42: 0x00000001083aecf6 dontlink-mac`::xamarin_main(argc=1, argv=0x00007fff57871c70, is_extension=false) + 1046 at launcher.m:612
frame #43: 0x00000001083afa04 dontlink-mac`main(argc=1, argv=0x00007fff57871c70) + 36 at launcher.m:623
frame #44: 0x000000010838ee74 dontlink-mac`start + 52
thread #2: tid = 0x19fd5f, 0x00007fffc2f94c86 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'SGen worker'
frame #0: 0x00007fffc2f94c86 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fffc307e96a libsystem_pthread.dylib`_pthread_cond_wait + 712
frame #2: 0x000000010862d35e dontlink-mac`thread_func [inlined] mono_os_cond_wait(mutex=0x0000000108862d38) + 15 at mono-os-mutex.h:146 [opt]
frame #3: 0x000000010862d34f dontlink-mac`thread_func(thread_data=<unavailable>) + 687 at sgen-thread-pool.c:129 [opt]
frame #4: 0x00007fffc307daab libsystem_pthread.dylib`_pthread_body + 180
frame #5: 0x00007fffc307d9f7 libsystem_pthread.dylib`_pthread_start + 286
frame #6: 0x00007fffc307d1fd libsystem_pthread.dylib`thread_start + 13
thread #3: tid = 0x19fd60, 0x00007fffc2f8d3c6 libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'Finalizer'
frame #0: 0x00007fffc2f8d3c6 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x000000010850df51 dontlink-mac`finalizer_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) + 11 at mono-os-semaphore.h:90 [opt]
frame #2: 0x000000010850df46 dontlink-mac`finalizer_thread + 8 at mono-coop-semaphore.h:40 [opt]
frame #3: 0x000000010850df3e dontlink-mac`finalizer_thread(unused=<unavailable>) + 174 at gc.c:907 [opt]
frame #4: 0x00000001085be7c3 dontlink-mac`start_wrapper [inlined] start_wrapper_internal + 301 at threads.c:836 [opt]
frame #5: 0x00000001085be696 dontlink-mac`start_wrapper(data=<unavailable>) + 38 at threads.c:888 [opt]
frame #6: 0x00000001086450ed dontlink-mac`inner_start_thread(data=<unavailable>) + 189 at mono-threads.c:1165 [opt]
frame #7: 0x00007fffc307daab libsystem_pthread.dylib`_pthread_body + 180
frame #8: 0x00007fffc307d9f7 libsystem_pthread.dylib`_pthread_start + 286
frame #9: 0x00007fffc307d1fd libsystem_pthread.dylib`thread_start + 13
thread #4: tid = 0x19fd66, 0x00007fffc2f94c86 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Threadpool worker'
frame #0: 0x00007fffc2f94c86 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fffc307e96a libsystem_pthread.dylib`_pthread_cond_wait + 712
frame #2: 0x00007fffaf333dcb Foundation`-[NSCondition wait] + 240
frame #3: 0x00007fffaf332e88 Foundation`-[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 904
frame #4: 0x00007fffaf332a82 Foundation`-[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
frame #5: 0x00000001083ae529 dontlink-mac`xamarin_dyn_objc_msgSend + 217
thread #5: tid = 0x19fd6b, 0x00007fffc2f8d3c6 libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'com.apple.NSEventThread'
frame #0: 0x00007fffc2f8d3c6 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x00007fffc2e3929e libdispatch.dylib`_dispatch_semaphore_wait_slow + 171
frame #2: 0x00007fffaceaead2 HIToolbox`_BeginEventReceiptOnThread + 165
frame #3: 0x00007fffab58d9ba AppKit`_NSEventThread + 37
frame #4: 0x00007fffc307daab libsystem_pthread.dylib`_pthread_body + 180
frame #5: 0x00007fffc307d9f7 libsystem_pthread.dylib`_pthread_start + 286
frame #6: 0x00007fffc307d1fd libsystem_pthread.dylib`thread_start + 13
thread #6: tid = 0x1a0392, 0x00007fffc2f954e2 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fffc2f954e2 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fffc307d791 libsystem_pthread.dylib`_pthread_wqthread + 1426
frame #2: 0x00007fffc307d1ed libsystem_pthread.dylib`start_wqthread + 13
(lldb) call mono_pmip (0x000000010d8fd57f)
error: no matching function for call to 'mono_pmip'
candidate function not viable: no known conversion from 'long' to 'void *' for 1st argument
(lldb) call mono_pmip ((void *) 0x000000010d8fd57f)
(char *) $2 = 0x00007fa94e914410 " GuiUnit.TestRunner:Main (string[]) {0x7fa94d985340} + 0x4f (0x10d8fd530 0x10d8fd591) [0x7fa94d631dc0 - dontlink-mac.exe]"
(lldb) call mono_pmip ((void *) 0x000000010d8ff014)
(char *) $3 = 0x00007fa94d6024f0 " GuiUnit.TestRunner:Execute (string[]) {0x7fa94d9ca078} + 0x2b4 (0x10d8fed60 0x10d8ff078) [0x7fa94d631dc0 - dontlink-mac.exe]"
(lldb) call mono_pmip ((void *) 0x000000010e5defa6)
(char *) $4 = 0x00007fa94d54f780 " (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSend (intptr,intptr) {0x7fa94d8f21e0} + 0x66 (0x10e5def40 0x10e5df02a) [0x7fa94d631dc0 - dontlink-mac.exe]"
(lldb) call mono_pmip ((void *) 0x000000010e5e014a)
(char *) $5 = 0x00007fa94d74c0a0 " Foundation.NSActionDispatcher:Apply () {0x7fa94d8f2880} + 0x1a (0x10e5e0130 0x10e5e0154) [0x7fa94d631dc0 - dontlink-mac.exe]"
(lldb) call mono_pmip ((void *) 0x000000010e5e019f)
(char *) $6 = 0x00007fa94e914750 " GuiUnit.InvokerHelper:Invoke () {0x7fa95002fbe8} + 0x3f (0x10e5e0160 0x10e5e02b0) [0x7fa94d631dc0 - dontlink-mac.exe]"
(lldb) call mono_pmip ((void *) 0x000000010e5e0479)
(char *) $7 = 0x00007fa94e91fc40 " (wrapper managed-to-native) System.Environment:Exit (int) {0x7fa94f8929e0} + 0x59 (0x10e5e0420 0x10e5e04fa) [0x7fa94d631dc0 - dontlink-mac.exe]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment