(gdb) info threads all 38 Thread -1483781200 (LWP 1003) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 37 Thread -1484567632 (LWP 1004) 0xa7ed92e7 in mq_timedreceive () from /lib/tls/librt.so.1 36 Thread -1484584016 (LWP 1005) 0xa7eb6c01 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 35 Thread -1502004304 (LWP 1008) 0xa7cdf5c7 in select () from /lib/tls/libc.so.6 34 Thread -1502467152 (LWP 1009) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 33 Thread -1503052880 (LWP 1010) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 32 Thread -1504666704 (LWP 1011) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 31 Thread -1505330256 (LWP 1029) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 30 Thread -1505698896 (LWP 1033) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 29 Thread -1505961040 (LWP 1034) 0xa7ca8f5c in nanosleep () from /lib/tls/libc.so.6 28 Thread -1506243664 (LWP 1036) 0xa7ca8f5c in nanosleep () from /lib/tls/libc.so.6 27 Thread -1490248784 (LWP 3477) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 26 Thread -1487631440 (LWP 7700) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 25 Thread -1488471120 (LWP 7845) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 24 Thread -1488995408 (LWP 7848) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 23 Thread -1490773072 (LWP 8035) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 22 Thread -1491297360 (LWP 8038) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 21 Thread -1491559504 (LWP 8041) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 20 Thread -1492608080 (LWP 8589) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 19 Thread -1492870224 (LWP 8594) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 18 Thread -1485632592 (LWP 8755) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 17 Thread -1484846160 (LWP 8760) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 16 Thread -1486681168 (LWP 8906) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 15 Thread -1497810000 (LWP 8909) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 14 Thread -1489572944 (LWP 8920) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 13 Thread -1485370448 (LWP 8924) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 12 Thread -1485894736 (LWP 8926) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 11 Thread -1600726096 (LWP 8932) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 10 Thread -1550394448 (LWP 8948) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 9 Thread -1542005840 (LWP 8951) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 8 Thread -1558783056 (LWP 8960) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 7 Thread -1701389392 (LWP 8990) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 6 Thread -1667834960 (LWP 9016) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 ---Type to continue, or q to quit--- 5 Thread -1525228624 (LWP 9025) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 4 Thread -1743332432 (LWP 9906) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 3 Thread -1508451408 (LWP 9920) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 2 Thread -1625891920 (LWP 9943) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 1 Thread -1483654464 (LWP 1001) 0xa7eb93d1 in __read_nocancel () from /lib/tls/libpthread.so.0 (gdb) (gdb) thread apply all bt Thread 38 (Thread -1483781200 (LWP 1003)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f7dfe0 in listener (unused=0x0) at openpbx.c:577 #2 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #3 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 37 (Thread -1484567632 (LWP 1004)): #0 0xa7ed92e7 in mq_timedreceive () from /lib/tls/librt.so.1 #1 0xa7834448 in ?? () #2 0x08074150 in ?? () #3 0xa7ed9200 in mq_timedreceive () from /lib/tls/librt.so.1 #4 0x08074140 in ?? () #5 0x00000000 in ?? () Thread 36 (Thread -1484584016 (LWP 1005)): #0 0xa7eb6c01 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xa7f75f69 in do_devstate_changes (data=0x0) at ../include/openpbx/lock.h:618 #2 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #3 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 35 (Thread -1502004304 (LWP 1008)): #0 0xa7cdf5c7 in select () from /lib/tls/libc.so.6 #1 0xa679c17d in do_parking_thread (ignore=0x0) at ../include/openpbx/channel.h:1058 #2 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #3 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 34 (Thread -1502467152 (LWP 1009)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f142cf in opbx_io_wait (ioc=0x806e2e0, howlong=10000) at io.c:274 #2 0xa6730b22 in do_monitor (data=0x0) at chan_mgcp.c:3461 #3 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #4 0xa7ce68fe in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 33 (Thread -1503052880 (LWP 1010)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa66d701e in do_monitor (data=0x0) at chan_zap.c:6264 #2 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #3 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 32 (Thread -1504666704 (LWP 1011)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f142cf in opbx_io_wait (ioc=0x80723c8, howlong=1000) at io.c:274 #2 0xa6517b48 in network_thread (ignore=0x0) at chan_iax2.c:7073 #3 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #4 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 31 (Thread -1505330256 (LWP 1029)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 30 (Thread -1505698896 (LWP 1033)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f142cf in opbx_io_wait (ioc=0x8059ba0, howlong=10000) at io.c:274 #2 0xa6413e37 in network_thread (ignore=0x0) at pbx_dundi.c:2110 #3 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #4 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 29 (Thread -1505961040 (LWP 1034)): #0 0xa7ca8f5c in nanosleep () from /lib/tls/libc.so.6 #1 0xa7ca8d8e in sleep () from /lib/tls/libc.so.6 #2 0xa641eccb in process_precache (ign=0x0) at pbx_dundi.c:2145 #3 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #4 0xa7ce68fe in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 28 (Thread -1506243664 (LWP 1036)): #0 0xa7ca8f5c in nanosleep () from /lib/tls/libc.so.6 #1 0xa7ca8d8e in sleep () from /lib/tls/libc.so.6 #2 0xa638aa1d in scan_thread (unused=0x0) at pbx_spool.c:362 #3 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #4 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 27 (Thread -1490248784 (LWP 3477)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa729b530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa729b534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa729b530, n=1, ms=0xa729b534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x80fbb60, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x80fbb60, data=0xa72c6fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x80fbb60, app=0x80a57e0, data=0xa72c6fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x80fbb60, con=0x0, context=0x80fbd04 "default", exten=0x80fbdf8 "800", priority=5, label=0x0, callerid=0x8077850 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x80fbb60) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x80fbb60) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 26 (Thread -1487631440 (LWP 7700)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa751a530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa751a534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa751a530, n=1, ms=0xa751a534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x821d510, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x821d510, data=0xa7545fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x821d510, app=0x80a57e0, data=0xa7545fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x821d510, con=0x0, context=0x821d6b4 "default", exten=0x821d7a8 "800", priority=5, label=0x0, callerid=0x8091488 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x821d510) at pbx.c:2446 ---Type to continue, or q to quit--- #8 0xa7f46a7a in pbx_thread (data=0x821d510) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 25 (Thread -1488471120 (LWP 7845)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa744d530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa744d534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa744d530, n=1, ms=0xa744d534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x80c1ef0, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x80c1ef0, data=0xa7478fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x80c1ef0, app=0x80a57e0, data=0xa7478fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x80c1ef0, con=0x0, context=0x80c2094 "default", exten=0x80c2188 "800", priority=5, label=0x0, callerid=0x8097398 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x80c1ef0) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x80c1ef0) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 24 (Thread -1488995408 (LWP 7848)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa73cd530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa73cd534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa73cd530, n=1, ms=0xa73cd534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x82cbdf0, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x82cbdf0, data=0xa73f8fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x82cbdf0, app=0x80a57e0, data=0xa73f8fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x82cbdf0, con=0x0, context=0x82cbf94 "default", exten=0x82cc088 "800", priority=5, label=0x0, callerid=0x809f318 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x82cbdf0) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x82cbdf0) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 23 (Thread -1490773072 (LWP 8035)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa721b530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa721b534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa721b530, n=1, ms=0xa721b534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x83ff830, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x83ff830, data=0xa7246fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x83ff830, app=0x80a57e0, data=0xa7246fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x83ff830, con=0x0, context=0x83ff9d4 "default", exten=0x83ffac8 "800", priority=5, label=0x0, callerid=0x809f830 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x83ff830) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x83ff830) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 22 (Thread -1491297360 (LWP 8038)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa719b530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa719b534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa719b530, n=1, ms=0xa719b534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x8429ea0, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x8429ea0, data=0xa71c6fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x8429ea0, app=0x80a57e0, data=0xa71c6fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x8429ea0, con=0x0, context=0x842a044 "default", exten=0x842a138 "800", priority=5, label=0x0, callerid=0x807f6e8 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x8429ea0) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x8429ea0) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 21 (Thread -1491559504 (LWP 8041)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa715b530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa715b534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa715b530, n=1, ms=0xa715b534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x830b7a0, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x830b7a0, data=0xa7186fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x830b7a0, app=0x80a57e0, data=0xa7186fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x830b7a0, con=0x0, context=0x830b944 "default", exten=0x830ba38 "800", priority=5, label=0x0, callerid=0x8135b90 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x830b7a0) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x830b7a0) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 20 (Thread -1492608080 (LWP 8589)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa705b530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa705b534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa705b530, n=1, ms=0xa705b534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x81e2ab8, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x81e2ab8, data=0xa7086fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x81e2ab8, app=0x80a57e0, data=0xa7086fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x81e2ab8, con=0x0, context=0x81e2c5c "default", exten=0x81e2d50 "800", priority=5, label=0x0, callerid=0x808dd90 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x81e2ab8) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x81e2ab8) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 19 (Thread -1492870224 (LWP 8594)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa701b530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa701b534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa701b530, n=1, ms=0xa701b534) at channel.c:1416 ---Type to continue, or q to quit--- #3 0xa7f24725 in opbx_waitfor (c=0x82cf3b8, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x82cf3b8, data=0xa7046fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x82cf3b8, app=0x80a57e0, data=0xa7046fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x82cf3b8, con=0x0, context=0x82cf55c "default", exten=0x82cf650 "800", priority=5, label=0x0, callerid=0x82dae00 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x82cf3b8) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x82cf3b8) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 18 (Thread -1485632592 (LWP 8755)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa7702530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa7702534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa7702530, n=1, ms=0xa7702534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x82cca18, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x82cca18, data=0xa772dfc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x82cca18, app=0x80a57e0, data=0xa772dfc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x82cca18, con=0x0, context=0x82ccbbc "default", exten=0x82cccb0 "800", priority=5, label=0x0, callerid=0x8086710 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x82cca18) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x82cca18) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 17 (Thread -1484846160 (LWP 8760)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa77c2530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa77c2534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa77c2530, n=1, ms=0xa77c2534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x83735c8, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x83735c8, data=0xa77edfc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x83735c8, app=0x80a57e0, data=0xa77edfc8, newstack=1) at pbx.c:604 ---Type to continue, or q to quit--- #6 0xa7f44330 in pbx_extension_helper (c=0x83735c8, con=0x0, context=0x837376c "default", exten=0x8373860 "800", priority=5, label=0x0, callerid=0x8064850 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x83735c8) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x83735c8) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 16 (Thread -1486681168 (LWP 8906)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa7602530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa7602534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa7602530, n=1, ms=0xa7602534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x818c5d8, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x818c5d8, data=0xa762dfc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x818c5d8, app=0x80a57e0, data=0xa762dfc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x818c5d8, con=0x0, context=0x818c77c "default", exten=0x818c870 "800", priority=5, label=0x0, callerid=0x805b420 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x818c5d8) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x818c5d8) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 15 (Thread -1497810000 (LWP 8909)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa6b65530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa6b65534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa6b65530, n=1, ms=0xa6b65534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x8271878, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x8271878, data=0xa6b90fc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x8271878, app=0x80a57e0, data=0xa6b90fc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x8271878, con=0x0, context=0x8271a1c "default", exten=0x8271b10 "800", priority=5, label=0x0, callerid=0x80c68c8 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x8271878) at pbx.c:2446 ---Type to continue, or q to quit--- #8 0xa7f46a7a in pbx_thread (data=0x8271878) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 14 (Thread -1489572944 (LWP 8920)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa7340530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa7340534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa7340530, n=1, ms=0xa7340534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x80ff970, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x80ff970, data=0xa736bfc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x80ff970, app=0x80a57e0, data=0xa736bfc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x80ff970, con=0x0, context=0x80ffb14 "default", exten=0x80ffc08 "800", priority=5, label=0x0, callerid=0x80a1440 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x80ff970) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x80ff970) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 13 (Thread -1485370448 (LWP 8924)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa7742530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa7742534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa7742530, n=1, ms=0xa7742534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x8257b70, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x8257b70, data=0xa776dfc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x8257b70, app=0x80a57e0, data=0xa776dfc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x8257b70, con=0x0, context=0x8257d14 "default", exten=0x8257e08 "800", priority=5, label=0x0, callerid=0x80927d0 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x8257b70) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x8257b70) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 12 (Thread -1485894736 (LWP 8926)): #0 0xa7cdce19 in poll () from /lib/tls/libc.so.6 #1 0xa7f22f36 in opbx_waitfor_nandfds (c=0xa76c2530, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xa76c2534) at channel.c:1323 #2 0xa7f23703 in opbx_waitfor_n (c=0xa76c2530, n=1, ms=0xa76c2534) at channel.c:1416 #3 0xa7f24725 in opbx_waitfor (c=0x83f5ab0, ms=30) at channel.c:1424 #4 0xa618f424 in rxfax_exec (chan=0x83f5ab0, data=0xa76edfc8) at app_rxfax.c:409 #5 0xa7f3d237 in pbx_exec (c=0x83f5ab0, app=0x80a57e0, data=0xa76edfc8, newstack=1) at pbx.c:604 #6 0xa7f44330 in pbx_extension_helper (c=0x83f5ab0, con=0x0, context=0x83f5c54 "default", exten=0x83f5d48 "800", priority=5, label=0x0, callerid=0x8099750 "openpbx", action=1) at pbx.c:1846 #7 0xa7f45bbb in __opbx_pbx_run (c=0x83f5ab0) at pbx.c:2446 #8 0xa7f46a7a in pbx_thread (data=0x83f5ab0) at pbx.c:2676 #9 0xa7eb40bd in start_thread () from /lib/tls/libpthread.so.0 #10 0xa7ce68fe in clone () from /lib/tls/libc.so.6 Thread 11 (Thread -1600726096 (LWP 8932)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0xa096d26c in ?? () #3 0xa7c5f2b5 in snprintf () from /lib/tls/libc.so.6 #4 0xa64896e5 in retrans_pkt (data=0x80c6b30) at ../include/openpbx/lock.h:584 #5 0xa7f14de9 in opbx_sched_runq (con=0x80762b0) at sched.c:492 #6 0xa7f14e82 in timer_func (t=0x80762f0, user_data=0x80762b0) at sched.c:122 #7 0xa7f8d2e6 in sighandler (sigval={sival_int = 134701808, sival_ptr = 0x80762f0}) at timer.c:52 #8 0xa7ed925c in mq_timedreceive () from /lib/tls/librt.so.1 #9 0x080762f0 in ?? () #10 0xa096d3cc in ?? () #11 0x00000000 in ?? () Thread 10 (Thread -1550394448 (LWP 8948)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 ---Type to continue, or q to quit--- #2 0x00000000 in ?? () Thread 9 (Thread -1542005840 (LWP 8951)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 8 (Thread -1558783056 (LWP 8960)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 7 (Thread -1701389392 (LWP 8990)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 6 (Thread -1667834960 (LWP 9016)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 5 (Thread -1525228624 (LWP 9025)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 4 (Thread -1743332432 (LWP 9906)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 3 (Thread -1508451408 (LWP 9920)): ---Type to continue, or q to quit--- #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 2 (Thread -1625891920 (LWP 9943)): #0 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xa7eb5f79 in _L_mutex_lock_143 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () Thread 1 (Thread -1483654464 (LWP 1001)): #0 0xa7eb93d1 in __read_nocancel () from /lib/tls/libpthread.so.0 #1 0xa7ee5c63 in el_push () from /usr/lib/libedit.so.2 #2 0xa7ee5d46 in el_getc () from /usr/lib/libedit.so.2 #3 0xa7ee5b6c in el_push () from /usr/lib/libedit.so.2 #4 0xa7ee5fbd in el_gets () from /usr/lib/libedit.so.2 #5 0xa7f82210 in openpbx_main (argc=3, argv=0xafce3474) at openpbx.c:2379 #6 0x080484ef in main (argc=-1866989568, argv=0x24a0a7fb) at main.c:27 #0 0xa7eb93d1 in __read_nocancel () from /lib/tls/libpthread.so.0 (gdb) (gdb) (gdb) (gdb) (gdb) (gdb) (gdb) info threads all Undefined command: "". Try "help". (gdb) 38 Thread -1483781200 (LWP 1003) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "38". Try "help". (gdb) 37 Thread -1484567632 (LWP 1004) 0xa7ed92e7 in mq_timedreceive () from /lib/tls/librt.so.1 Undefined command: "37". Try "help". (gdb) 36 Thread -1484584016 (LWP 1005) 0xa7eb6c01 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 Undefined command: "36". Try "help". (gdb) 35 Thread -1502004304 (LWP 1008) 0xa7cdf5c7 in select () from /lib/tls/libc.so.6 Undefined command: "35". Try "help". (gdb) 34 Thread -1502467152 (LWP 1009) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "34". Try "help". (gdb) 33 Thread -1503052880 (LWP 1010) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "33". Try "help". (gdb) 32 Thread -1504666704 (LWP 1011) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "32". Try "help". (gdb) 31 Thread -1505330256 (LWP 1029) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "31". Try "help". (gdb) 30 Thread -1505698896 (LWP 1033) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "30". Try "help". (gdb) 29 Thread -1505961040 (LWP 1034) 0xa7ca8f5c in nanosleep () from /lib/tls/libc.so.6 Undefined command: "29". Try "help". (gdb) 28 Thread -1506243664 (LWP 1036) 0xa7ca8f5c in nanosleep () from /lib/tls/libc.so.6 Undefined command: "28". Try "help". (gdb) 27 Thread -1490248784 (LWP 3477) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "27". Try "help". (gdb) 26 Thread -1487631440 (LWP 7700) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "26". Try "help". (gdb) 25 Thread -1488471120 (LWP 7845) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "25". Try "help". (gdb) 24 Thread -1488995408 (LWP 7848) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "24". Try "help". (gdb) 23 Thread -1490773072 (LWP 8035) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "23". Try "help". (gdb) 22 Thread -1491297360 (LWP 8038) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "22". Try "help". (gdb) 21 Thread -1491559504 (LWP 8041) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "21". Try "help". (gdb) 20 Thread -1492608080 (LWP 8589) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "20". Try "help". (gdb) 19 Thread -1492870224 (LWP 8594) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "19". Try "help". (gdb) 18 Thread -1485632592 (LWP 8755) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "18". Try "help". (gdb) 17 Thread -1484846160 (LWP 8760) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "17". Try "help". (gdb) 16 Thread -1486681168 (LWP 8906) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "16". Try "help". (gdb) 15 Thread -1497810000 (LWP 8909) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "15". Try "help". (gdb) 14 Thread -1489572944 (LWP 8920) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "14". Try "help". (gdb) 13 Thread -1485370448 (LWP 8924) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "13". Try "help". (gdb) 12 Thread -1485894736 (LWP 8926) 0xa7cdce19 in poll () from /lib/tls/libc.so.6 Undefined command: "12". Try "help". (gdb) 11 Thread -1600726096 (LWP 8932) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "11". Try "help". (gdb) 10 Thread -1550394448 (LWP 8948) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "10". Try "help". (gdb) 9 Thread -1542005840 (LWP 8951) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "9". Try "help". (gdb) 8 Thread -1558783056 (LWP 8960) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "8". Try "help". (gdb) 7 Thread -1701389392 (LWP 8990) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "7". Try "help". (gdb) 6 Thread -1667834960 (LWP 9016) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "6". Try "help". (gdb) ---Type to continue, or q to quit--- Undefined command: "---Type". Try "help". (gdb) 5 Thread -1525228624 (LWP 9025) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "5". Try "help". (gdb) 4 Thread -1743332432 (LWP 9906) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "4". Try "help". (gdb) 3 Thread -1508451408 (LWP 9920) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "3". Try "help". (gdb) 2 Thread -1625891920 (LWP 9943) 0xa7eb9159 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 Undefined command: "2". Try "help". (gdb) 1 Thread -1483654464 (LWP 1001) 0xa7eb93d1 in __read_nocancel () from /lib/tls/libpthread.so.0 Undefined command: "1". Try "help". (gdb) (gdb) Undefined command: "". Try "help". (gdb)