Skip to content

Instantly share code, notes, and snippets.

@andreas
Created February 24, 2019 09:07
Show Gist options
  • Save andreas/6e03cc2393a0fe392f2b3c51ef44ae0e to your computer and use it in GitHub Desktop.
Save andreas/6e03cc2393a0fe392f2b3c51ef44ae0e to your computer and use it in GitHub Desktop.
(gdb) thread apply all bt
Thread 3 (Thread 0x1403 of process 91706):
#0 0x00007fff9f93f07a in select$DARWIN_EXTSN () from /usr/lib/system/libsystem_kernel.dylib
#1 0x0000000102b1281f in caml_thread_tick ()
#2 0x00007fff9d64d99d in _pthread_body () from /usr/lib/system/libsystem_pthread.dylib
#3 0x00007fff9d64d91a in _pthread_start () from /usr/lib/system/libsystem_pthread.dylib
#4 0x00007fff9d64b351 in thread_start () from /usr/lib/system/libsystem_pthread.dylib
#5 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x1303 of process 91706):
#0 0x00007fff9f93feca in kevent () from /usr/lib/system/libsystem_kernel.dylib
#1 0x00000001030cac61 in fdb_transaction_get_range () from /usr/local/lib/libfdb_c.dylib
#2 0xff80000000001001 in ?? ()
#3 0x00007f802060da20 in ?? ()
#4 0x0000000100000001 in ?? ()
#5 0x0000000000000009 in ?? ()
#6 0x00007f802060d9f0 in ?? ()
#7 0x00007f802060da64 in ?? ()
#8 0x00007f802060da20 in ?? ()
#9 0x00007000000804e8 in ?? ()
#10 0x00007f802060d9a8 in ?? ()
#11 0x0000700000080518 in ?? ()
#12 0x0000700000080430 in ?? ()
#13 0x00000001030cb154 in fdb_transaction_get_range () from /usr/local/lib/libfdb_c.dylib
#14 0x000070000007f3b0 in ?? ()
#15 0x00007f802060da20 in ?? ()
#16 0x000000002050be10 in ?? ()
#17 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x1203 of process 91706):
#0 0x00007fff9f93edb6 in __psynch_cvwait () from /usr/lib/system/libsystem_kernel.dylib
#1 0x00007fff9d64e728 in _pthread_cond_wait () from /usr/lib/system/libsystem_pthread.dylib
#2 0x0000000102b121d1 in caml_thread_leave_blocking_section ()
#3 0x0000000102b23cc8 in caml_leave_blocking_section () at signals.c:130
#4 0x0000000102b114f1 in callback_handler (cif=0x7fff7dced000, ret=0x7fff5d19e650, args=0x500, user_data=0x1)
at /Users/agarnaes/.opam/4.06.0/.opam-switch/build/ctypes.0.14.0/src/ctypes-foreign-base/ffi_call_stubs.c:543
#5 0x000000010340b58c in ffi_closure_unix64_inner () from /usr/local/opt/libffi/lib/libffi.6.dylib
#6 0x000000010340ba96 in ffi_closure_unix64 () from /usr/local/opt/libffi/lib/libffi.6.dylib
#7 0x0000000102d30a94 in fdb_get_client_version () from /usr/local/lib/libfdb_c.dylib
#8 0x0000000102d2cb72 in fdb_future_set_callback () from /usr/local/lib/libfdb_c.dylib
#9 0x000000010340b914 in ffi_call_unix64 () from /usr/local/opt/libffi/lib/libffi.6.dylib
---Type <return> to continue, or q <return> to quit---
#10 0x000000010340b299 in ffi_call () from /usr/local/opt/libffi/lib/libffi.6.dylib
#11 0x0000000102b1127c in ctypes_call (fnname=<optimized out>, function=<optimized out>, callspec_=<optimized out>, argwriter=<optimized out>, rvreader=<optimized out>)
at /Users/agarnaes/.opam/4.06.0/.opam-switch/build/ctypes.0.14.0/src/ctypes-foreign-base/ffi_call_stubs.c:404
#12 0x0000000102a93e50 in camlCtypes_ffi__fun_5997 ()
#13 0x0000000102a86fbb in camlFdb__to_io_1649 ()
#14 0x0000000102a88e89 in camlFdb__commit_2286 ()
#15 0x0000000102a8905a in camlFdb__fun_3647 ()
#16 0x0000000102a744fe in camlLwt__callback_13871 ()
#17 0x0000000102a72fb8 in camlLwt__iter_callback_list_4529 ()
#18 0x0000000102a73129 in camlLwt__run_in_resolution_loop_4573 ()
#19 0x0000000102a732d7 in camlLwt__resolve_4591 ()
#20 0x0000000102a7504b in camlLwt__callback_21926 ()
#21 0x0000000102a72fb8 in camlLwt__iter_callback_list_4529 ()
#22 0x0000000102a73129 in camlLwt__run_in_resolution_loop_4573 ()
#23 0x0000000102a732d7 in camlLwt__resolve_4591 ()
#24 0x0000000102a7451f in camlLwt__callback_13871 ()
#25 0x0000000102a72fb8 in camlLwt__iter_callback_list_4529 ()
#26 0x0000000102a73129 in camlLwt__run_in_resolution_loop_4573 ()
#27 0x0000000102a732d7 in camlLwt__resolve_4591 ()
#28 0x0000000102a7370c in camlLwt__wakeup_later_general_5665 ()
#29 0x0000000102ad71bc in camlArray__iter_1057 ()
#30 0x0000000102a718cd in camlLwt_sequence__loop_1061 ()
#31 0x0000000102acf931 in camlList__iter_1083 ()
#32 0x0000000102a65e04 in camlLwt_engine__fun_3023 ()
#33 0x0000000102a6843c in camlLwt_main__run_1127 ()
#34 0x0000000102a64996 in camlTest_lwt__entry ()
#35 0x0000000102a60e39 in caml_program ()
#36 0x0000000102b40a0c in caml_start_program ()
#37 0x0000000102b223e1 in caml_startup_common (argv=<optimized out>, pooling=<error reading variable: Cannot access memory at address 0x1>) at startup.c:156
#38 0x0000000102b2244b in caml_startup_exn (argv=0x102c0c848) at startup.c:161
#39 caml_startup (argv=0x102c0c848) at startup.c:166
#40 caml_main (argv=0x102c0c848) at startup.c:173
#41 0x0000000102b224bc in main (argc=<optimized out>, argv=0x102c0c848) at main.c:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment