(gdb) thread apply all bt
Thread 5 (Thread 0x7f1e615a4700 (LWP 144)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f1e6a2b9189 in sys_cond_wait (cond=<optimized out>, held_mutex=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/posix/threading.c:91
#2 0x00007f1e6a2d074c in thread_run (arg=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/server.c:886
#3 0x00007f1e69e27dc5 in start_thread (arg=0x7f1e615a4700) at pthread_create.c:308
#4 0x00007f1e6915d73d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 4 (Thread 0x7f1e60da3700 (LWP 145)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f1e6a2b9189 in sys_cond_wait (cond=<optimized out>, held_mutex=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/posix/threading.c:91
#2 0x00007f1e6a2d074c in thread_run (arg=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/server.c:886
#3 0x00007f1e69e27dc5 in start_thread (arg=0x7f1e60da3700) at pthread_create.c:308
#4 0x00007f1e6915d73d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 3 (Thread 0x7f1e627b9700 (LWP 142)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f1e6a2b9189 in sys_cond_wait (cond=<optimized out>, held_mutex=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/posix/threading.c:91
#2 0x00007f1e6a2c7145 in router_core_thread (arg=0x2231a20) at /usr/src/debug/qpid-dispatch-0.8.0/src/router_core/router_core_thread.c:66
#3 0x00007f1e69e27dc5 in start_thread (arg=0x7f1e627b9700) at pthread_create.c:308
#4 0x00007f1e6915d73d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 2 (Thread 0x7f1e61da5700 (LWP 143)):
#0 0x00007f1e69152dfd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f1e6a2b8b1a in poll (__timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:46
#2 qdpn_driver_wait_2 (d=0x1f47220, timeout=<optimized out>, timeout@entry=143) at /usr/src/debug/qpid-dispatch-0.8.0/src/posix/driver.c:914
#3 0x00007f1e6a2d0369 in thread_run (arg=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/server.c:912
#4 0x00007f1e69e27dc5 in start_thread (arg=0x7f1e61da5700) at pthread_create.c:308
#5 0x00007f1e6915d73d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 1 (Thread 0x7f1e6a6fc1c0 (LWP 141)):
#0 0x00007f1e6909b1d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f1e6909c8c8 in __GI_abort () at abort.c:90
#2 0x00007f1e69094146 in __assert_fail_base (fmt=0x7f1e691e53a8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f1e6a2d5bd3 "result == 0", file=file@entry=0x7f1e6a2d5b88 "/builddir/build/BUILD/qpid-dispatch-0.8.0/src/posix/threading.c",
line=line@entry=57, function=function@entry=0x7f1e6a2d5c91 <__PRETTY_FUNCTION__.3970> "sys_mutex_lock") at assert.c:92
#3 0x00007f1e690941f2 in __GI___assert_fail (assertion=assertion@entry=0x7f1e6a2d5bd3 "result == 0", file=file@entry=0x7f1e6a2d5b88 "/builddir/build/BUILD/qpid-dispatch-0.8.0/src/posix/threading.c", line=line@entry=57,
function=function@entry=0x7f1e6a2d5c91 <__PRETTY_FUNCTION__.3970> "sys_mutex_lock") at assert.c:101
#4 0x00007f1e6a2b90a1 in sys_mutex_lock (mutex=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/posix/threading.c:57
#5 0x00007f1e6a2d24fe in http_connector_process (c=0x7f1e54000b90) at /usr/src/debug/qpid-dispatch-0.8.0/src/http-libwebsockets.c:274
#6 0x00007f1e6a2d0b21 in process_connector (cxtr=<optimized out>, qd_server=0x1f3cd30) at /usr/src/debug/qpid-dispatch-0.8.0/src/server.c:726
#7 thread_run (arg=<optimized out>) at /usr/src/debug/qpid-dispatch-0.8.0/src/server.c:1004
#8 0x00007f1e6a2d12f6 in qd_server_run (qd=0x1cd0010) at /usr/src/debug/qpid-dispatch-0.8.0/src/server.c:1410
#9 0x0000000000401bd7 in main_process (config_path=config_path@entry=0x7ffda55fb999 "qdrouterd.conf", python_pkgdir=python_pkgdir@entry=0x402321 "/usr/lib/qpid-dispatch/python", fd=fd@entry=2) at /usr/src/debug/qpid-dispatch-0.8.0/router/src/main.c:147
#10 0x0000000000401844 in main (argc=3, argv=0x7ffda55fa408) at /usr/src/debug/qpid-dispatch-0.8.0/router/src/main.c:353
(gdb)