может thread apply all bt full
(gdb) thread apply all bt full
Thread 40 (Thread 0x7f5dacaf5700 (LWP 26920)):
#0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f5dec2302b8) at ../sysdeps/nptl/futex-internal.h:183
__ret = -512
oldtype = 0
err = <optimized out>
spin = 0
buffer = {__routine = 0x7f5dfa81b050 <__condvar_cleanup_waiting>, __arg = 0x7f5dacaf32b0, __canceltype = 1913, __prev = 0x0}
cbuffer = {wseq = 328, cond = 0x7f5dec230290, mutex = 0x7f5dec230268, private = 0}
err = <optimized out>
g = 0
flags = <optimized out>
g1_start = <optimized out>
signals = <optimized out>
result = 0
wseq = 328
seq = 164
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f5dec230268, cond=0x7f5dec230290) at pthread_cond_wait.c:508
spin = 0
--Type <RET> for more, q to quit, c to continue without paging--