(gdb) thread apply all bt
Thread 15 (process 18087):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00546ca4 in poll () from /lib/tls/libc.so.6
#2 0x00b4e084 in listener (unused=0x0) at openpbx.c:573
#3 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#4 0x005509be in clone () from /lib/tls/libc.so.6
Thread 14 (process 18088):
#0 0x001b0507 in timer_helper_thread () from /lib/tls/librt.so.1
#1 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#2 0x005509be in clone () from /lib/tls/libc.so.6
Thread 13 (process 18089):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003f9698 in accept () from /lib/tls/libpthread.so.0
#2 0x00b32eb3 in accept_thread (ignore=0x0) at manager.c:1419
#3 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#4 0x005509be in clone () from /lib/tls/libc.so.6
Thread 12 (process 18090):
#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 0x00b4463f in opbx_cond_wait (cond=0xb8d820, t=0xb88fa8) at ../include/openpbx/lock.h:618
#3 0x00b44617 in do_devstate_changes (data=0x0) at devicestate.c:266
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 11 (process 18093):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00549411 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2 0x002133fc in opbx_select (nfds=0, rfds=0xb6b212d0, wfds=0x0, efds=0xb6b21250, tvp=0x0)
at ../include/openpbx/channel.h:1054
#3 0x002133c5 in do_parking_thread (ignore=0x0) at res_features.c:1660
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 10 (process 18094):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00546ca4 in poll () from /lib/tls/libc.so.6
#2 0x00ad7dd1 in opbx_io_wait (ioc=0x8275378, howlong=1000) at io.c:274
#3 0x0077ac79 in network_thread (ignore=0x0) at chan_iax2.c:6934
---Type <return> to continue, or q <return> to quit--- \
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 9 (process 18095):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00546ca4 in poll () from /lib/tls/libc.so.6
#2 0x00ad7dd1 in opbx_io_wait (ioc=0x827d4c8, howlong=10000) at io.c:274
#3 0x00d7154f in do_monitor (data=0x0) at chan_mgcp.c:3460
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 8 (process 18096):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00546ca4 in poll () from /lib/tls/libc.so.6
#2 0x00ad7dd1 in opbx_io_wait (ioc=0x8281c28, howlong=1000) at io.c:274
#3 0x0025162e in do_monitor (data=0x0) at chan_sip.c:11975
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 7 (process 18097):
#0 0x002878ae in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#1 0x0028ac06 in fixup () from /lib/ld-linux.so.2
#2 0x0028ab40 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#3 0x00e9444d in do_monitor (data=0x0) at chan_zap.c:6550
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 6 (process 18098):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00513826 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2 0x0051362c in sleep () from /lib/tls/libc.so.6
#3 0x00d8e3af in scan_thread (unused=0x0) at pbx_spool.c:362
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 5 (process 18100):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00546ca4 in poll () from /lib/tls/libc.so.6
#2 0x00ad7dd1 in opbx_io_wait (ioc=0x826d440, howlong=10000) at io.c:274
#3 0x00f60e44 in network_thread (ignore=0x0) at pbx_dundi.c:2110
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
---Type <return> to continue, or q <return> to quit---
Thread 4 (process 18101):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00513826 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2 0x0051362c in sleep () from /lib/tls/libc.so.6
#3 0x00f60f7b in process_precache (ign=0x0) at pbx_dundi.c:2145
#4 0x003f4371 in start_thread () from /lib/tls/libpthread.so.0
#5 0x005509be in clone () from /lib/tls/libc.so.6
Thread 3 (process 21044):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00546ca4 in poll () from /lib/tls/libc.so.6
#2 0x00ae3eed in opbx_waitfor_nandfds (c=0xb67f3e10, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb67f3e44)
at channel.c:1296
#3 0x00ae4323 in opbx_waitfor_n (c=0xb67f3e10, n=2, ms=0xb67f3e44) at channel.c:1373
#4 0x00ae8da5 in opbx_generic_bridge (c0=0xb69354b8, c1=0x8267790, config=0xb67f45a0, fo=0xb67f40dc, rc=0xb67f40d8, toms=-1)
at channel.c:2912
#5 0x00ae9fc4 in opbx_channel_bridge (c0=0x217c38, c1=0x8267790, config=0x2121dd, fo=0xb69354b8, rc=0x8267790)
at channel.c:3207
#6 0x00000000 in ?? ()
Thread 2 (process 21046):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00546ca4 in poll () from /lib/tls/libc.so.6
#2 0x00ae3eed in opbx_waitfor_nandfds (c=0xb672ee10, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb672ee44)
at channel.c:1296
#3 0x00ae4323 in opbx_waitfor_n (c=0xb672ee10, n=2, ms=0xb672ee44) at channel.c:1373
#4 0x00ae8da5 in opbx_generic_bridge (c0=0xb6977f38, c1=0x83122c0, config=0xb672f5a0, fo=0xb672f0dc, rc=0xb672f0d8, toms=-1)
at channel.c:2912
#5 0x00ae9fc4 in opbx_channel_bridge (c0=0x217c38, c1=0x83122c0, config=0x2121dd, fo=0xb6977f38, rc=0x83122c0)
at channel.c:3207
#6 0x00000000 in ?? ()
Thread 1 (process 18085):
#0 0x0027f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003f948b in __read_nocancel () from /lib/tls/libpthread.so.0
#2 0x0037d7f9 in read_char (el=0x8258700, cp=0xbfe4ced3 "") at read.c:293
#3 0x0037d9a0 in el_getc (el=0x8258700, cp=0xbfe4ced3 "") at read.c:346
#4 0x0037d6f5 in read_getcmd (el=0x8258700, cmdnum=0xbfe4cedb "", ch=0xbfe4ced3 "") at read.c:240
#5 0x0037dd09 in el_gets (el=0x8258700, nread=0xbfe8d08c) at read.c:481
#6 0x00b53757 in openpbx_main (argc=2, argv=0xbfe8d2e4) at openpbx.c:2376
#7 0x08048582 in main (argc=2, argv=0xbfe8d2e4) at main.c:27