Skip to content

Instantly share code, notes, and snippets.

@kumpera
Created July 17, 2017 23:13
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 kumpera/f343ea6cec0708315a665329c10db46d to your computer and use it in GitHub Desktop.
Save kumpera/f343ea6cec0708315a665329c10db46d to your computer and use it in GitHub Desktop.
(lldb) bt all
thread #1, name = 'tid_307', queue = 'com.apple.main-thread'
frame #0: 0x00007fffc5304386 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x00000001001d1539 mono`create_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_NONE) at mono-os-semaphore.h:91 [opt]
frame #2: 0x00000001001d1523 mono`create_thread at mono-coop-semaphore.h:43 [opt]
frame #3: 0x00000001001d151b mono`create_thread(thread=<unavailable>, internal=0x000000010830dad0, start_delegate=<unavailable>, start_func=<unavailable>, start_func_arg=<unavailable>, flags=<unavailable>, error=<unavailable>) at threads.c:1015 [opt]
frame #4: 0x00000001001d0f70 mono`mono_thread_create_internal(domain=<unavailable>, func=<unavailable>, arg=<unavailable>, flags=<unavailable>, error=0x00007fff5fbfdf38) at threads.c:1079 [opt]
frame #5: 0x00000001001fe9ee mono`mono_domain_try_unload(domain=[root], exc=<unavailable>) at appdomain.c:2749 [opt]
frame #6: 0x00000001001fe800 mono`ves_icall_System_AppDomain_InternalUnload(domain_id=<unavailable>, error=0x00007fff5fbfe078) at appdomain.c:2277 [opt]
frame #7: 0x000000010924f615
frame #8: 0x00000001037afa81
frame #9: 0x0000000100010a44 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=<unavailable>, params=0x0000000000000000, exc=0x0000000000000003, error=<unavailable>) at mini-runtime.c:2798 [opt]
frame #10: 0x000000010020ca04 mono`do_runtime_invoke(method=[net_4_x_corlib_test]MonoTests.System.AppDomainTest:TearDown(), obj=0x0000000101c457b8, params=0x0000000000000000, exc=0x0000000000000000, error=0x00007fff5fbfe700) at object.c:2829 [opt]
frame #11: 0x000000010021084b mono`mono_runtime_try_invoke_array [inlined] mono_runtime_invoke_checked(method=<unavailable>, error=<unavailable>) at object.c:2982 [opt]
frame #12: 0x000000010021080f mono`mono_runtime_try_invoke_array(method=<unavailable>, obj=<unavailable>, params=0x0000000000000000, exc=0x0000000000000000, error=0x00007fff5fbfe700) at object.c:5140 [opt]
frame #13: 0x000000010016b217 mono`ves_icall_InternalInvoke(method=<unavailable>, this_arg=<unavailable>, params=0x0000000000000000, exc=0x00007fff5fbfe848) at icall.c:3339 [opt]
frame #14: 0x0000000107cf6371
frame #15: 0x0000000107cf5e9b
frame #16: 0x000000010924828c
frame #17: 0x0000000107cf51eb
frame #18: 0x0000000107cf5019
frame #19: 0x0000000107cf09a4
frame #20: 0x0000000107cf09a4
frame #21: 0x0000000107cf09a4
frame #22: 0x00000001018f121d
frame #23: 0x0000000100010a44 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=<unavailable>, params=0x00007fff5fbff4f8, exc=0x00007fff5fbfe848, error=<unavailable>) at mini-runtime.c:2798 [opt]
frame #24: 0x000000010020ca04 mono`do_runtime_invoke(method=[nunit-lite-console]NUnitLite.Console:Main(), obj=0x0000000000000000, params=0x00007fff5fbff4f8, exc=0x0000000000000000, error=0x00007fff5fbff538) at object.c:2829 [opt]
frame #25: 0x00000001002101b9 mono`do_exec_main_checked [inlined] mono_runtime_invoke_checked(method=<unavailable>, obj=<unavailable>, error=<unavailable>) at object.c:2982 [opt]
frame #26: 0x0000000100210178 mono`do_exec_main_checked(method=[nunit-lite-console]NUnitLite.Console:Main(), args=<unavailable>, error=0x00007fff5fbff538) at object.c:4699 [opt]
frame #27: 0x000000010007b46f mono`mono_jit_exec(domain=<unavailable>, assembly=<unavailable>, argc=5, argv=0x00007fff5fbff870) at driver.c:1027 [opt]
frame #28: 0x000000010007da7a mono`mono_main [inlined] main_thread_handler at driver.c:1096 [opt]
frame #29: 0x000000010007da46 mono`mono_main(argc=8, argv=<unavailable>) at driver.c:2178 [opt]
frame #30: 0x0000000100000aed mono`main [inlined] mono_main_with_options(argc=<unavailable>, argv=<unavailable>) at main.c:46 [opt]
frame #31: 0x0000000100000ad9 mono`main(argc=8, argv=<unavailable>) at main.c:339 [opt]
frame #32: 0x00007fffc51dd235 libdyld.dylib`start + 1
frame #33: 0x00007fffc51dd235 libdyld.dylib`start + 1
thread #2, name = 'SGen worker'
frame #0: 0x00007fffc530bbf2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fffc53f786e libsystem_pthread.dylib`_pthread_cond_wait + 712
frame #2: 0x000000010028429e mono`thread_func [inlined] mono_os_cond_wait(mutex=<unavailable>) at mono-os-mutex.h:173 [opt]
frame #3: 0x000000010028428b mono`thread_func at sgen-thread-pool.c:164 [opt]
frame #4: 0x000000010028427d mono`thread_func(worker_index=0) at sgen-thread-pool.c:193 [opt]
frame #5: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #6: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #7: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
thread #3, name = 'Finalizer'
frame #0: 0x00007fffc5304386 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x0000000100204a0c mono`finalizer_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) at mono-os-semaphore.h:91 [opt]
frame #2: 0x0000000100204a01 mono`finalizer_thread at mono-coop-semaphore.h:43 [opt]
frame #3: 0x00000001002049f5 mono`finalizer_thread(unused=<unavailable>) at gc.c:864 [opt]
frame #4: 0x00000001001d81ac mono`start_wrapper [inlined] start_wrapper_internal at threads.c:853 [opt]
frame #5: 0x00000001001d80e3 mono`start_wrapper(data=<unavailable>) at threads.c:915 [opt]
frame #6: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #7: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #8: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
thread #4
frame #0: 0x00007fffc530c44e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fffc53f6695 libsystem_pthread.dylib`_pthread_wqthread + 1426
frame #2: 0x00007fffc53f60f1 libsystem_pthread.dylib`start_wqthread + 13
thread #5
frame #0: 0x00007fffc530c44e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fffc53f6695 libsystem_pthread.dylib`_pthread_wqthread + 1426
frame #2: 0x00007fffc53f60f1 libsystem_pthread.dylib`start_wqthread + 13
thread #6
frame #0: 0x00007fffc530c44e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fffc53f6502 libsystem_pthread.dylib`_pthread_wqthread + 1023
frame #2: 0x00007fffc53f60f1 libsystem_pthread.dylib`start_wqthread + 13
thread #7, name = 'Profiler sampler'
frame #0: 0x00007fffc5304386 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x00000001001c620b mono`mono_profiler_sampling_thread_wait [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_NONE) at mono-os-semaphore.h:91 [opt]
frame #2: 0x00000001001c61f4 mono`mono_profiler_sampling_thread_wait at profiler.c:368 [opt]
frame #3: 0x0000000100124457 mono`sampling_thread_func(data=<unavailable>) at mini-posix.c:643 [opt]
frame #4: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #5: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #6: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
thread #8, name = 'Profiler helper'
frame #0: 0x00007fffc530beb6 libsystem_kernel.dylib`__select + 10
frame #1: 0x00000001005ac32e libmono-profiler-log.dylib`helper_thread(arg=<unavailable>) at log.c:3768 [opt]
frame #2: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #3: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #4: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
thread #9, name = 'Profiler writer'
frame #0: 0x00007fffc5304386 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x00000001005acfeb libmono-profiler-log.dylib`writer_thread [inlined] mono_os_sem_wait at mono-os-semaphore.h:91 [opt]
frame #2: 0x00000001005acfd2 libmono-profiler-log.dylib`writer_thread(arg=<unavailable>) at log.c:4007 [opt]
frame #3: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #4: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #5: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
thread #10, name = 'Profiler dumper'
frame #0: 0x00007fffc530439e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #1: 0x00000001005adb32 libmono-profiler-log.dylib`dumper_thread [inlined] mono_os_sem_timedwait(timeout_ms=1000, flags=MONO_SEM_FLAGS_NONE) at mono-os-semaphore.h:125 [opt]
frame #2: 0x00000001005adb1e libmono-profiler-log.dylib`dumper_thread(arg=<unavailable>) at log.c:4116 [opt]
frame #3: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #4: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #5: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
* thread #11, name = 'tid_4307', stop reason = signal SIGABRT
* frame #0: 0x00007fffc530bd42 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fffc53f95bf libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fffc5271420 libsystem_c.dylib`abort + 129
frame #3: 0x00000001005b74da libmono-profiler-log.dylib`monoeg_log_default_handler(log_domain=0x0000000000000000, log_level=G_LOG_LEVEL_ERROR, message="* Assertion at log.c:546, condition `mono_lls_insert (&log_profiler.profiler_thread_list, hp, &thread->node) && \"Why can't we insert the thread in the LLS?\"' not met\n", unused_data=0x0000000000000000) at goutput.c:235
frame #4: 0x00000001005b73fd libmono-profiler-log.dylib`monoeg_g_logv(log_domain=0x0000000000000000, log_level=G_LOG_LEVEL_ERROR, format="* Assertion at %s:%d, condition `%s' not met\n", args=0x00007000012e4c00) at goutput.c:115
frame #5: 0x00000001005b77e4 libmono-profiler-log.dylib`monoeg_assertion_message(format="* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:135
frame #6: 0x00000001005a95c7 libmono-profiler-log.dylib`init_thread(add_to_lls=<unavailable>) at log.c:546 [opt]
frame #7: 0x00000001005a57a3 libmono-profiler-log.dylib`gc_root_register [inlined] get_thread at log.c:568 [opt]
frame #8: 0x00000001005a5799 libmono-profiler-log.dylib`gc_root_register(prof=<unavailable>, start="", size=1024, kind=MONO_ROOT_SOURCE_THREAD_STATIC, key=0x00007000012e5000, msg="managed thread-static variables") at log.c:1229 [opt]
frame #9: 0x00000001001c9daa mono`mono_profiler_raise_gc_root_register(start="", size=1024, kind=MONO_ROOT_SOURCE_THREAD_STATIC, key=0x00007000012e5000, msg="managed thread-static variables") at profiler-events.h:77 [opt]
frame #10: 0x00000001002505f2 mono`sgen_register_root [inlined] sgen_client_root_registered(msg=<unavailable>) at sgen-client-mono.h:678 [opt]
frame #11: 0x00000001002505e1 mono`sgen_register_root(start="", size=1024, descr=13, root_type=0, source=4, key=<unavailable>, msg=<unavailable>) at sgen-gc.c:2700 [opt]
frame #12: 0x0000000100240887 mono`mono_gc_alloc_fixed [inlined] mono_gc_register_root(start="", size=1024, descr=13, source=MONO_ROOT_SOURCE_THREAD_STATIC, key=0x00007000012e5000, msg="managed thread-static variables") at sgen-mono.c:2642 [opt]
frame #13: 0x0000000100240866 mono`mono_gc_alloc_fixed(size=1024, descr=13, source=MONO_ROOT_SOURCE_THREAD_STATIC, key=0x00007000012e5000, msg="managed thread-static variables") at sgen-mono.c:987 [opt]
frame #14: 0x00000001001d8750 mono`mono_alloc_static_data(static_data_ptr=0x000000010830db30, offset=<unavailable>, alloc_key=0x00007000012e5000, threadlocal=1) at threads.c:4066 [opt]
frame #15: 0x00000001001d849c mono`mono_thread_attach_internal(thread=<unavailable>, force_attach=<unavailable>, force_domain=0) at threads.c:717 [opt]
frame #16: 0x00000001001d7f03 mono`start_wrapper [inlined] start_wrapper_internal at threads.c:788 [opt]
frame #17: 0x00000001001d7ef0 mono`start_wrapper(data=0x00000001019c6290) at threads.c:915 [opt]
frame #18: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #19: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #20: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
thread #12, name = 'Timer-Scheduler'
frame #0: 0x00007fffc530bbf2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fffc53f78a7 libsystem_pthread.dylib`_pthread_cond_wait + 769
frame #2: 0x000000010028fa24 mono`mono_os_cond_timedwait(cond=0x0000000101019070, mutex=0x0000000101019030, timeout_ms=2997) at mono-os-mutex.c:44 [opt]
frame #3: 0x00000001001f9264 mono`mono_w32handle_timedwait_signal_handle [inlined] mono_w32handle_timedwait_signal_naked(cond=<unavailable>, mutex=<unavailable>, timeout=2997, poll=0, alerted=<unavailable>) at w32handle.c:1000 [opt]
frame #4: 0x00000001001f925c mono`mono_w32handle_timedwait_signal_handle(handle=<unavailable>, timeout=<unavailable>, poll=0, alerted=<unavailable>) at w32handle.c:1117 [opt]
frame #5: 0x00000001001f9080 mono`mono_w32handle_wait_one(handle=0x0000000000000a04, timeout=2997, alertable=<unavailable>) at w32handle.c:1238 [opt]
frame #6: 0x00000001001f9396 mono`mono_w32handle_wait_multiple(handles=<unavailable>, nhandles=<unavailable>, waitall=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) at w32handle.c:1274 [opt]
frame #7: 0x00000001001d37d4 mono`ves_icall_System_Threading_WaitHandle_Wait_internal(handles=<unavailable>, numhandles=<unavailable>, waitall=<unavailable>, timeout=-1, error=0x0000700000ede598) at threads.c:1920 [opt]
frame #8: 0x0000000108f6bd87
frame #9: 0x0000000108f6bb0a
frame #10: 0x0000000108f689a7
frame #11: 0x0000000108f67c59
frame #12: 0x0000000100010a44 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=<unavailable>, params=0x0000700000edeea8, exc=0x0000000000000bb5, error=<unavailable>) at mini-runtime.c:2798 [opt]
frame #13: 0x000000010020ca04 mono`do_runtime_invoke(method=[mscorlib]System.Threading.ThreadStart:Invoke(), obj=0x0000000101d629f0, params=0x0000700000edeea8, exc=0x0000000000000000, error=0x0000700000edee40) at object.c:2829 [opt]
frame #14: 0x00000001001d81d7 mono`start_wrapper at threads.c:861 [opt]
frame #15: 0x00000001001d80e3 mono`start_wrapper(data=<unavailable>) at threads.c:915 [opt]
frame #16: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #17: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #18: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
thread #13, name = 'Timer-Scheduler'
frame #0: 0x00007fffc530bbf2 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fffc53f78a7 libsystem_pthread.dylib`_pthread_cond_wait + 769
frame #2: 0x000000010028fa24 mono`mono_os_cond_timedwait(cond=0x000000010101de00, mutex=0x000000010101ddc0, timeout_ms=9997) at mono-os-mutex.c:44 [opt]
frame #3: 0x00000001001f9264 mono`mono_w32handle_timedwait_signal_handle [inlined] mono_w32handle_timedwait_signal_naked(cond=<unavailable>, mutex=<unavailable>, timeout=9997, poll=0, alerted=<unavailable>) at w32handle.c:1000 [opt]
frame #4: 0x00000001001f925c mono`mono_w32handle_timedwait_signal_handle(handle=<unavailable>, timeout=<unavailable>, poll=0, alerted=<unavailable>) at w32handle.c:1117 [opt]
frame #5: 0x00000001001f9080 mono`mono_w32handle_wait_one(handle=0x0000000000000a96, timeout=9997, alertable=<unavailable>) at w32handle.c:1238 [opt]
frame #6: 0x00000001001f9396 mono`mono_w32handle_wait_multiple(handles=<unavailable>, nhandles=<unavailable>, waitall=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) at w32handle.c:1274 [opt]
frame #7: 0x00000001001d37d4 mono`ves_icall_System_Threading_WaitHandle_Wait_internal(handles=<unavailable>, numhandles=<unavailable>, waitall=<unavailable>, timeout=-1, error=0x00007000010e1598) at threads.c:1920 [opt]
frame #8: 0x0000000109221b67
frame #9: 0x000000010922185a
frame #10: 0x000000010921e297
frame #11: 0x000000010921d639
frame #12: 0x0000000100010a44 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=<unavailable>, params=0x00007000010e1ea8, exc=0x000000000000270d, error=<unavailable>) at mini-runtime.c:2798 [opt]
frame #13: 0x000000010020ca04 mono`do_runtime_invoke(method=[mscorlib]System.Threading.ThreadStart:Invoke(), obj=0x0000000101f58090, params=0x00007000010e1ea8, exc=0x0000000000000000, error=0x00007000010e1e40) at object.c:2829 [opt]
frame #14: 0x00000001001d81d7 mono`start_wrapper at threads.c:861 [opt]
frame #15: 0x00000001001d80e3 mono`start_wrapper(data=<unavailable>) at threads.c:915 [opt]
frame #16: 0x00007fffc53f69af libsystem_pthread.dylib`_pthread_body + 180
frame #17: 0x00007fffc53f68fb libsystem_pthread.dylib`_pthread_start + 286
frame #18: 0x00007fffc53f6101 libsystem_pthread.dylib`thread_start + 13
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment