(gdb) thread apply all bt
Thread 12 (process 4448):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00355ca4 in poll () from /lib/tls/libc.so.6
#2 0x00dae090 in listener (unused=0x0) at openpbx.c:573
#3 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#4 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 11 (process 4449):
#0 0x0017d507 in timer_helper_thread () from /lib/tls/librt.so.1
#1 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#2 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 10 (process 4450):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003f9698 in accept () from /lib/tls/libpthread.so.0
#2 0x00d92eb3 in accept_thread (ignore=0x0) at manager.c:1419
#3 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#4 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 9 (process 4451):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003f6b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2 0x00da463f in opbx_cond_wait (cond=0xded820, t=0xde8fa8) at ../include/openpbx/lock.h:618
#3 0x00da4617 in do_devstate_changes (data=0x0) at devicestate.c:266
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 8 (process 4454):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00358411 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2 0x001d63fc in opbx_select (nfds=0, rfds=0xb6b212d0, wfds=0x0, efds=0xb6b21250, tvp=0x0)
at ../include/openpbx/channel.h:1054
#3 0x001d63c5 in do_parking_thread (ignore=0x0) at res_features.c:1660
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 7 (process 4455):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003f9a18 in sendto () from /lib/tls/libpthread.so.0
#2 0x00dfbe48 in send_packet (f=0xb67142e8) at chan_iax2.c:1133
#3 0x00e0908b in vnak_retransmit (callno=1, last=0) at chan_iax2.c:5029
---Type <return> to continue, or q <return> to quit---
#4 0x00e0ee4f in socket_read (id=0x8710f30, fd=10, events=1, cbdata=0x8710e98) at chan_iax2.c:6460
#5 0x00d37f0b in opbx_io_wait (ioc=0x870f8c8, howlong=1000) at io.c:287
#6 0x00e10caf in network_thread (ignore=0x0) at chan_iax2.c:6936
#7 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#8 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 6 (process 4456):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00355ca4 in poll () from /lib/tls/libc.so.6
#2 0x00d37dd1 in opbx_io_wait (ioc=0x8718250, howlong=10000) at io.c:274
#3 0x001f554f in do_monitor (data=0x0) at chan_mgcp.c:3460
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 5 (process 4458):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00355ca4 in poll () from /lib/tls/libc.so.6
#2 0x00d37dd1 in opbx_io_wait (ioc=0x871c200, howlong=1000) at io.c:274
#3 0x0022562e in do_monitor (data=0x0) at chan_sip.c:11975
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 4 (process 4459):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00355ca4 in poll () from /lib/tls/libc.so.6
#2 0x00ae4437 in do_monitor (data=0x0) at chan_zap.c:6546
#3 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#4 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 3 (process 4460):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00322826 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2 0x0032262c in sleep () from /lib/tls/libc.so.6
#3 0x002633af in scan_thread (unused=0x0) at pbx_spool.c:362
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x0035f9be in clone () from /lib/tls/libc.so.6
Thread 2 (process 587):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00355ca4 in poll () from /lib/tls/libc.so.6
#2 0x00d43eed in opbx_waitfor_nandfds (c=0xb6632e10, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb6632e44)
at channel.c:1296
---Type <return> to continue, or q <return> to quit---
#3 0x00d44323 in opbx_waitfor_n (c=0xb6632e10, n=2, ms=0xb6632e44) at channel.c:1373
#4 0x00d48da5 in opbx_generic_bridge (c0=0xb690cc38, c1=0x8808bf8, config=0xb66335a0, fo=0xb66330dc, rc=0xb66330d8, toms=-1)
at channel.c:2912
#5 0x00d49fc4 in opbx_channel_bridge (c0=0x1dac38, c1=0x8808bf8, config=0x1d51dd, fo=0xb690cc38, rc=0x8808bf8)
at channel.c:3207
#6 0x00000000 in ?? ()
Thread 1 (process 12029):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003f948b in __read_nocancel () from /lib/tls/libpthread.so.0
#2 0x0011e7f9 in read_char (el=0x86f2c20, cp=0xbfeda743 "") at read.c:293
#3 0x0011e9a0 in el_getc (el=0x86f2c20, cp=0xbfeda743 "") at read.c:346
#4 0x0011e6f5 in read_getcmd (el=0x86f2c20, cmdnum=0xbfeda74b "", ch=0xbfeda743 "") at read.c:240
#5 0x0011ed09 in el_gets (el=0x86f2c20, nread=0xbff1a8bc) at read.c:481
#6 0x00db3763 in openpbx_main (argc=2, argv=0xbff1ab14) at openpbx.c:2376
#7 0x08048582 in main (argc=2, argv=0xbff1ab14) at main.c:27