Skip to content

Instantly share code, notes, and snippets.

@afk11
Last active January 21, 2020 19:18
Show Gist options
  • Save afk11/85d2d4b55585327a72e7353ae82522d6 to your computer and use it in GitHub Desktop.
Save afk11/85d2d4b55585327a72e7353ae82522d6 to your computer and use it in GitHub Desktop.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 26065
[New LWP 26067]
[New LWP 26068]
[New LWP 26069]
[New LWP 26070]
[New LWP 26071]
[New LWP 26072]
[New LWP 26077]
[New LWP 26078]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x000079f970860495 in __GI___pthread_timedjoin_ex (threadid=134112142386944,
thread_return=0x0, abstime=0x0, block=<optimized out>) at pthread_join_common.c:89
89 pthread_join_common.c: No such file or directory.
(gdb) bt
#0 0x000079f970860495 in __GI___pthread_timedjoin_ex (threadid=134112142386944, thread_return=0x0, abstime=0x0, block=<optimized out>) at pthread_join_common.c:89
#1 0x000079f96fdb5d53 in std::thread::join() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x000064c8f6e69880 in StopHTTPServer () at httpserver.cpp:470
#3 0x000064c8f6c61fc7 in Shutdown (interfaces=...) at init.cpp:191
#4 0x000064c8f6c494e7 in AppInit (argc=9, argv=<optimized out>) at bitcoind.cpp:160
#5 0x000064c8f6c49967 in main (argc=9, argv=0x7fffe556ebc8) at bitcoind.cpp:176
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x79f96f5e6c00 (LWP 26065) "b-shutoff" 0x000079f970860495 in __GI___pthread_timedjoin_ex (threadid=134112142386944, thread_return=0x0, abstime=0x0, block=<optimized out>)
at pthread_join_common.c:89
2 Thread 0x79f96d1bb700 (LWP 26067) "b-scriptch.0" futex_wait_cancelable (private=0, expected=0, futex_word=0x64c8f72793f8 <scriptcheckqueue+120>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
3 Thread 0x79f96c9ba700 (LWP 26068) "b-scriptch.1" futex_wait_cancelable (private=0, expected=0, futex_word=0x64c8f72793f8 <scriptcheckqueue+120>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
4 Thread 0x79f96c1b9700 (LWP 26069) "b-scriptch.2" futex_wait_cancelable (private=0, expected=0, futex_word=0x64c8f72793f8 <scriptcheckqueue+120>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
5 Thread 0x79f96b9b8700 (LWP 26070) "b-scriptch.3" futex_wait_cancelable (private=0, expected=0, futex_word=0x64c8f72793f8 <scriptcheckqueue+120>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
6 Thread 0x79f96b1b7700 (LWP 26071) "b-scheduler" futex_reltimed_wait_cancelable (private=0, reltime=0x79f96b1b6190, expected=0, futex_word=0x64c8f7274ea0 <scheduler+128>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:142
7 Thread 0x79f96a9b6700 (LWP 26072) "b-http" 0x000079f96fa937ef in epoll_wait (epfd=5, events=0x64c8f8034f20, maxevents=32, timeout=29842) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
8 Thread 0x79f94bfff700 (LWP 26077) "ZMQbg/0" 0x000079f96fa937ef in epoll_wait (epfd=13, events=0x79f94bffdd30, maxevents=256, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
9 Thread 0x79f94b7fe700 (LWP 26078) "ZMQbg/1" 0x000079f96fa937ef in epoll_wait (epfd=15, events=0x79f94b7fcd30, maxevents=256, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
(gdb) thread 7
[Switching to thread 7 (Thread 0x79f96a9b6700 (LWP 26072))]
#0 0x000079f96fa937ef in epoll_wait (epfd=5, events=0x64c8f8034f20, maxevents=32, timeout=29842) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30 ../sysdeps/unix/sysv/linux/epoll_wait.c: No such file or directory.
(gdb) bt
#0 0x000079f96fa937ef in epoll_wait (epfd=5, events=0x64c8f8034f20, maxevents=32, timeout=29842) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x000079f96ff51408 in ?? () from /lib/x86_64-linux-gnu/libevent-2.1.so.6
#2 0x000079f96ff47329 in event_base_loop () from /lib/x86_64-linux-gnu/libevent-2.1.so.6
#3 0x000064c8f6e6364f in ThreadHTTP (base=0x64c8f8034c60) at httpserver.cpp:291
#4 0x000064c8f6e69efb in std::__invoke_impl<bool, bool (*)(event_base*), event_base*> (__f=<optimized out>) at /usr/include/c++/8/bits/invoke.h:89
#5 std::__invoke<bool (*)(event_base*), event_base*> (__fn=<optimized out>) at /usr/include/c++/8/bits/invoke.h:95
#6 std::thread::_Invoker<std::tuple<bool (*)(event_base*), event_base*> >::_M_invoke<0ul, 1ul> (this=<optimized out>) at /usr/include/c++/8/thread:244
#7 std::thread::_Invoker<std::tuple<bool (*)(event_base*), event_base*> >::operator() (this=<optimized out>) at /usr/include/c++/8/thread:253
#8 std::thread::_State_impl<std::thread::_Invoker<std::tuple<bool (*)(event_base*), event_base*> > >::_M_run (this=<optimized out>) at /usr/include/c++/8/thread:196
#9 0x000079f96fdb5b2f in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x000079f97085efa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x000079f96fa934cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment