Skip to content

Instantly share code, notes, and snippets.

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 timotheecour/bedd47e519d6c07a9d449e619ba1b775 to your computer and use it in GitHub Desktop.
Save timotheecour/bedd47e519d6c07a9d449e619ba1b775 to your computer and use it in GitHub Desktop.
(lldb) process attach --pid 9466
Process 9466 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff6a66955e libsystem_kernel.dylib`__ulock_wait + 10
libsystem_kernel.dylib`__ulock_wait:
-> 0x7fff6a66955e <+10>: jae 0x7fff6a669568 ; <+20>
0x7fff6a669560 <+12>: movq %rax, %rdi
0x7fff6a669563 <+15>: jmp 0x7fff6a668629 ; cerror_nocancel
0x7fff6a669568 <+20>: retq
Target 0: (t12015) stopped.
Executable module set to "/Users/timothee/git_clone/nim/timn/build/nimcache/t12015".
Architecture set to: x86_64h-apple-macosx-.
(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff6a66955e libsystem_kernel.dylib`__ulock_wait + 10
frame #1: 0x00007fff6a72c5c2 libsystem_pthread.dylib`_pthread_join + 347
frame #2: 0x000000010f104010 start-addr:0x000000010f10400b t12015 joinThread__7D7AwDmpXtzT3oBp9c4SUzwsystem(t=tyObject_Thread__YRlh9cu9aRh0NFPkIQ9arDrLg @ 0x00007ffee0b06d00) + 32 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:235:22
frame #3: 0x000000010f103fce start-addr:0x000000010f103fb0 t12015 joinThreads__EUhnNwjGgP1T7DXjHjum7A(t=0x000000010f115cb0, tLen_0=15) + 126 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:239:5
frame #4: 0x000000010f108a08 start-addr:0x000000010f1089e4 t12015 benchmark__zybol9an1ajv6WvIcP5tJgA + 808 at /Users/timothee/git_clone/nim/timn/tests/nim/all/t12015.nim:808:2
frame #5: 0x000000010f108d21 start-addr:0x000000010f108d09 t12015 NimMainModule + 433 at /Users/timothee/git_clone/nim/timn/tests/nim/all/t12015.nim:815:5
frame #6: 0x000000010f108b69 start-addr:0x000000010f108b64 t12015 NimMainInner + 9 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2209:2
frame #7: 0x000000010f108eda start-addr:0x000000010f108ed8 t12015 NimMain + 42 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2217:2
frame #8: 0x000000010f108f2e start-addr:0x000000010f108f29 t12015 main(argc=1, args=0x00007ffee0b06f38, env=0x00007ffee0b06f48) + 62 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2224:2
frame #9: 0x00007fff6a526cc9 libdyld.dylib`start + 1
frame #10: 0x00007fff6a526cc9 libdyld.dylib`start + 1
thread #2
frame #0: 0x00007fff6a66a062 libsystem_kernel.dylib`__psynch_mutexwait + 10
frame #1: 0x00007fff6a728917 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_wait + 83
frame #2: 0x00007fff6a726937 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_slow + 222
frame #3: 0x000000010f0fdb50 start-addr:0x000000010f0fdb44 t12015 allocSharedImpl(size=24) + 32 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1074:2
frame #4: 0x000000010f0fc94d start-addr:0x000000010f0fc948 t12015 allocShared0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(size=24) + 29 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1081:11
frame #5: 0x000000010f0fb571 start-addr:0x000000010f0fb56c t12015 alignedAlloc0__tDURxGxuLs0hKEDbtrBxug(size=24, align=8) + 49 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/memalloc.nim:351:12
frame #6: 0x000000010f0fb353 start-addr:0x000000010f0fb34e t12015 newSeqPayload(cap=1, elemSize=16, elemAlign=8) + 291 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/seqs_v2.nim:38:26
frame #7: 0x000000010f108072 start-addr:0x000000010f10805e t12015 sendHandler__zybol9an1ajv6WvIcP5tJgA_2 + 258 at /Users/timothee/git_clone/nim/timn/tests/nim/all/t12015.nim:798:185
frame #8: 0x000000010f10304c start-addr:0x000000010f103049 t12015 threadProcWrapDispatch__Mxf9cF7DzrT73i52k5zPHQA_2(thrd=0x000000010f115d40) + 28 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:141:2
frame #9: 0x000000010f1031d5 start-addr:0x000000010f1031d0 t12015 threadProcWrapStackFrame__Mxf9cF7DzrT73i52k5zPHQA(thrd=0x000000010f115d40) + 21 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:167:2
frame #10: 0x000000010f103210 start-addr:0x000000010f10320b t12015 threadProcWrapper__KwtUyNVh00QDWGRZcngjGA(closure=0x000000010f115d40) + 48 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:173:2
frame #11: 0x00007fff6a72b109 libsystem_pthread.dylib`_pthread_start + 148
frame #12: 0x00007fff6a726b8b libsystem_pthread.dylib`thread_start + 15
thread #3
frame #0: 0x00007fff6a66a062 libsystem_kernel.dylib`__psynch_mutexwait + 10
frame #1: 0x00007fff6a728917 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_wait + 83
frame #2: 0x00007fff6a726937 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_slow + 222
frame #3: 0x000000010f0fac08 start-addr:0x000000010f0fabfc t12015 deallocSharedImpl__SAtZpVrJ3o5FJvSdLQe9auA(p=0x000000010f1550c0) + 24 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1086:2
frame #4: 0x000000010f0fac45 start-addr:0x000000010f0fac40 t12015 deallocShared(p=0x000000010f1550c0) + 21 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/memalloc.nim:308:2
frame #5: 0x000000010f103233 start-addr:0x000000010f10322b t12015 threadProcWrapper__KwtUyNVh00QDWGRZcngjGA(closure=0x000000010f115d70) + 83 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:195:2
frame #6: 0x00007fff6a72b109 libsystem_pthread.dylib`_pthread_start + 148
frame #7: 0x00007fff6a726b8b libsystem_pthread.dylib`thread_start + 15
thread #4
frame #0: 0x00007fff6a66a062 libsystem_kernel.dylib`__psynch_mutexwait + 10
frame #1: 0x00007fff6a728917 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_wait + 83
frame #2: 0x00007fff6a726937 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_slow + 222
frame #3: 0x000000010f0fdb50 start-addr:0x000000010f0fdb44 t12015 allocSharedImpl(size=24) + 32 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1074:2
frame #4: 0x000000010f0fc94d start-addr:0x000000010f0fc948 t12015 allocShared0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(size=24) + 29 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1081:11
frame #5: 0x000000010f0fb571 start-addr:0x000000010f0fb56c t12015 alignedAlloc0__tDURxGxuLs0hKEDbtrBxug(size=24, align=8) + 49 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/memalloc.nim:351:12
frame #6: 0x000000010f0fb353 start-addr:0x000000010f0fb34e t12015 newSeqPayload(cap=1, elemSize=16, elemAlign=8) + 291 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/seqs_v2.nim:38:26
frame #7: 0x000000010f108072 start-addr:0x000000010f10805e t12015 sendHandler__zybol9an1ajv6WvIcP5tJgA_2 + 258 at /Users/timothee/git_clone/nim/timn/tests/nim/all/t12015.nim:798:185
frame #8: 0x000000010f10304c start-addr:0x000000010f103049 t12015 threadProcWrapDispatch__Mxf9cF7DzrT73i52k5zPHQA_2(thrd=0x000000010f115de8) + 28 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:141:2
frame #9: 0x000000010f1031d5 start-addr:0x000000010f1031d0 t12015 threadProcWrapStackFrame__Mxf9cF7DzrT73i52k5zPHQA(thrd=0x000000010f115de8) + 21 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:167:2
frame #10: 0x000000010f103210 start-addr:0x000000010f10320b t12015 threadProcWrapper__KwtUyNVh00QDWGRZcngjGA(closure=0x000000010f115de8) + 48 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:173:2
frame #11: 0x00007fff6a72b109 libsystem_pthread.dylib`_pthread_start + 148
frame #12: 0x00007fff6a726b8b libsystem_pthread.dylib`thread_start + 15
thread #5
frame #0: 0x00007fff6a66a062 libsystem_kernel.dylib`__psynch_mutexwait + 10
frame #1: 0x00007fff6a728917 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_wait + 83
frame #2: 0x00007fff6a726937 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_slow + 222
frame #3: 0x000000010f0fdb50 start-addr:0x000000010f0fdb44 t12015 allocSharedImpl(size=2009) + 32 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1074:2
frame #4: 0x000000010f0fc94d start-addr:0x000000010f0fc948 t12015 allocShared0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(size=2009) + 29 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1081:11
frame #5: 0x000000010f0fd38e start-addr:0x000000010f0fd389 t12015 rawNewString(space=2000) + 238 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/strs_v2.nim:111:26
frame #6: 0x000000010f10209e start-addr:0x000000010f102094 t12015 signalHandler(sign=11) + 46 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/excpt.nim:629:8
frame #7: 0x00007fff6a71f5fd libsystem_platform.dylib`_sigtramp + 29
frame #8: 0x000000010f0f9d3c start-addr:0x000000010f0f9d3b t12015 del__Io5JDKCS5u26IEWw0J53hQ(a=0x000000010f113018, t=0x000000010f1158c0, x=4548026400) + 92 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/avltree.nim:74:9
frame #9: 0x000000010f0fa858 start-addr:0x000000010f0fa84d t12015 rawDealloc__K7uQ6aTKvW6OnOV8EMoNNQ(a=0x000000010f113018, p=0x000000010f1560c0) + 856 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:871:3
frame #10: 0x000000010f0fabdd start-addr:0x000000010f0fabd8 t12015 dealloc__Jg1OaY9ahkT3MBopLAXRSGw(allocator=0x000000010f113018, p=0x000000010f1560c0) + 93 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:972:2
frame #11: 0x000000010f0fac1b start-addr:0x000000010f0fac0c t12015 deallocSharedImpl__SAtZpVrJ3o5FJvSdLQe9auA(p=0x000000010f1560c0) + 43 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1087:2
frame #12: 0x000000010f0fac45 start-addr:0x000000010f0fac40 t12015 deallocShared(p=0x000000010f1560c0) + 21 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/memalloc.nim:308:2
frame #13: 0x000000010f0fac79 start-addr:0x000000010f0fac74 t12015 alignedDealloc(p=0x000000010f1560c0, align=8) + 41 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/memalloc.nim:367:3
frame #14: 0x000000010f103619 start-addr:0x000000010f10360c t12015 eqdestroy___0RiuPw9cXhtLB9a2rQ2jA69cg(dest=0x000070000b1bcf00) + 169 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2247:58
frame #15: 0x000000010f103a5f start-addr:0x000000010f103a5a t12015 eqsink___r6aagoRVuov7HvfEjIi3Uw_2(dest=0x000070000b1bcf00, src=tySequence__sM4lkSb7zS6F7OVMvW9cffQ @ 0x000070000b1bce80) + 47 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2247:2
frame #16: 0x000000010f108591 start-addr:0x000000010f108580 t12015 recvHandler__zybol9an1ajv6WvIcP5tJgA_3 + 241 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2247:78
frame #17: 0x000000010f10304c start-addr:0x000000010f103049 t12015 threadProcWrapDispatch__Mxf9cF7DzrT73i52k5zPHQA_2(thrd=0x000000010f115c78) + 28 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:141:2
frame #18: 0x000000010f1031d5 start-addr:0x000000010f1031d0 t12015 threadProcWrapStackFrame__Mxf9cF7DzrT73i52k5zPHQA(thrd=0x000000010f115c78) + 21 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:167:2
frame #19: 0x000000010f103210 start-addr:0x000000010f10320b t12015 threadProcWrapper__KwtUyNVh00QDWGRZcngjGA(closure=0x000000010f115c78) + 48 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:173:2
frame #20: 0x00007fff6a72b109 libsystem_pthread.dylib`_pthread_start + 148
frame #21: 0x00007fff6a726b8b libsystem_pthread.dylib`thread_start + 15
thread #6
frame #0: 0x00007fff6a66a062 libsystem_kernel.dylib`__psynch_mutexwait + 10
frame #1: 0x00007fff6a728917 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_wait + 83
frame #2: 0x00007fff6a726937 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_slow + 222
frame #3: 0x000000010f0fac08 start-addr:0x000000010f0fabfc t12015 deallocSharedImpl__SAtZpVrJ3o5FJvSdLQe9auA(p=0x000000010f156060) + 24 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/alloc.nim:1086:2
frame #4: 0x000000010f0fac45 start-addr:0x000000010f0fac40 t12015 deallocShared(p=0x000000010f156060) + 21 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/memalloc.nim:308:2
frame #5: 0x000000010f0fac79 start-addr:0x000000010f0fac74 t12015 alignedDealloc(p=0x000000010f156060, align=8) + 41 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/memalloc.nim:367:3
frame #6: 0x000000010f103619 start-addr:0x000000010f10360c t12015 eqdestroy___0RiuPw9cXhtLB9a2rQ2jA69cg(dest=0x000070000b3bef00) + 169 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2247:58
frame #7: 0x000000010f103a5f start-addr:0x000000010f103a5a t12015 eqsink___r6aagoRVuov7HvfEjIi3Uw_2(dest=0x000070000b3bef00, src=tySequence__sM4lkSb7zS6F7OVMvW9cffQ @ 0x000070000b3bee80) + 47 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2247:2
frame #8: 0x000000010f108591 start-addr:0x000000010f108580 t12015 recvHandler__zybol9an1ajv6WvIcP5tJgA_3 + 241 at /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim:2247:78
frame #9: 0x000000010f10304c start-addr:0x000000010f103049 t12015 threadProcWrapDispatch__Mxf9cF7DzrT73i52k5zPHQA_2(thrd=0x000000010f115c90) + 28 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:141:2
frame #10: 0x000000010f1031d5 start-addr:0x000000010f1031d0 t12015 threadProcWrapStackFrame__Mxf9cF7DzrT73i52k5zPHQA(thrd=0x000000010f115c90) + 21 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:167:2
frame #11: 0x000000010f103210 start-addr:0x000000010f10320b t12015 threadProcWrapper__KwtUyNVh00QDWGRZcngjGA(closure=0x000000010f115c90) + 48 at /Users/timothee/git_clone/nim/Nim_devel/lib/system/threads.nim:173:2
frame #12: 0x00007fff6a72b109 libsystem_pthread.dylib`_pthread_start + 148
frame #13: 0x00007fff6a726b8b libsystem_pthread.dylib`thread_start + 15
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment