(gdb) thread apply all bt Thread 20 (process 8147): #0 0xffffe410 in ?? () #1 0xbfbf4668 in ?? () #2 0x00000001 in ?? () #3 0xbfbf46ee in ?? () #4 0xb7d4522b in read () from /lib/i686/libc.so.6 #5 0x08150e03 in read_char (el=0x81e6170, cp=0xbfbf46ee "\a") at read.c:296 #6 0x08150efc in el_getc (el=0x81e6170, cp=0xbfbf46ee "\a") at read.c:347 #7 0x08150cad in read_getcmd (el=0x81e6170, cmdnum=0xbfbf46ef "", ch=0xbfbf46ee "\a") at read.c:243 #8 0x08151149 in el_gets (el=0x81e6170, nread=0xbfbf4a10) at read.c:443 #9 0x0807816c in main (argc=3, argv=0xbfbf4c94) at asterisk.c:3303 #10 0xb7c99390 in __libc_start_main () from /lib/i686/libc.so.6 #11 0x0805c481 in SSL_accept () Thread 19 (process 8151): #0 0xffffe410 in ?? () #1 0xb7c1a2a8 in ?? () #2 0x0000003f in ?? () #3 0x00000080 in ?? () #4 0xb7c714e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #5 0xb7d61f9d in pthread_cond_wait () from /lib/i686/libc.so.6 #6 0x080b9222 in __ast_cond_wait (filename=0x818ca20 "event.c", lineno=762, func=0x818cf30 "ast_event_dispatcher", cond_name=0x818cd2a "&event_thread.cond", mutex_name=0x818cd17 "&event_thread.lock", cond=0x81b8e40, t=0x81b8e70) at /root/src/asterisk-issue_11972-r106998/include/asterisk/lock.h:563 #7 0x080b8c95 in ast_event_dispatcher (unused=0x0) at event.c:762 #8 0x08147f6d in dummy_start (data=0x81e7ac0) at utils.c:870 #9 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #10 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 18 (process 8152): #0 0xffffe410 in ?? () #1 0xb7bde288 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x080712df in listener (unused=0x0) at asterisk.c:1040 #6 0x08147f6d in dummy_start (data=0x81e7f00) at utils.c:870 #7 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #8 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 17 (process 8154): #0 0xffffe410 in ?? () #1 0xb7b660b8 in ?? () #2 0xffffffff in ?? () #3 0x00000002 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x080710ad in netconsole (vconsole=0x81d9f00) at asterisk.c:993 #6 0x08147f6d in dummy_start (data=0x81ebbb0) at utils.c:870 #7 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #8 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 16 (process 8155): #0 0xffffe410 in ?? () #1 0xb7b2a2b8 in ?? () #2 0x0000003d in ?? () #3 0x00000080 in ?? () #4 0xb7c714e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #5 0xb7d61f9d in pthread_cond_wait () from /lib/i686/libc.so.6 #6 0x080aa19c in __ast_cond_wait (filename=0x818a387 "devicestate.c", lineno=527, func=0x818a838 "do_devstate_changes", cond_name=0x818a774 "&change_pending", mutex_name=0x818a84c "&state_changes.lock", cond=0x81d2800, t=0x81b8888) at /root/src/asterisk-issue_11972-r106998/include/asterisk/lock.h:563 #7 0x080a9e35 in do_devstate_changes (data=0x0) at devicestate.c:527 #8 0x08147f6d in dummy_start (data=0x81ef710) at utils.c:870 #9 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #10 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 15 (process 8156): #0 0xffffe410 in ?? () #1 0xb7aee2b8 in ?? () #2 0x0000003f in ?? () #3 0x00000080 in ?? () #4 0xb7c714e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #5 0xb7d61f9d in pthread_cond_wait () from /lib/i686/libc.so.6 #6 0x080f96e6 in __ast_cond_wait (filename=0x819a9d4 "pbx.c", lineno=2932, func=0x819f08b "device_state_thread", cond_name=0x819f078 "&device_state.cond", mutex_name=0x819f065 "&device_state.lock", cond=0x81be280, t=0x81be1a8) at /root/src/asterisk-issue_11972-r106998/include/asterisk/lock.h:563 #7 0x080f930d in device_state_thread (data=0x0) at pbx.c:2932 #8 0x08147f6d in dummy_start (data=0x81ef720) at utils.c:870 #9 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #10 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 14 (process 8157): #0 0xffffe410 in ?? () #1 0xb7ab1f48 in ?? () #2 0x00000000 in ?? () Thread 13 (process 8158): #0 0xffffe410 in ?? () #1 0xb79a02b8 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x08148297 in ast_wait_for_input (fd=13, ms=-1) at utils.c:956 #6 0x0813a28e in ast_tcptls_server_root (data=0xb7a46f20) at tcptls.c:134 #7 0x08147f6d in dummy_start (data=0x8220118) at utils.c:870 #8 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #9 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 12 (process 8159): #0 0xffffe410 in ?? () #1 0xb79642b8 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x08148297 in ast_wait_for_input (fd=14, ms=-1) at utils.c:956 #6 0x0813a28e in ast_tcptls_server_root (data=0xb7a46fa0) at tcptls.c:134 #7 0x08147f6d in dummy_start (data=0x81fe2c8) at utils.c:870 #8 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #9 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 11 (process 8160): #0 0xffffe410 in ?? () #1 0xb79282a8 in ?? () #2 0x000003e8 in ?? () #3 0x00000001 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x080d7fb5 in ast_io_wait (ioc=0x81f7c58, howlong=1000) at io.c:275 #6 0xb7a20ff4 in do_monitor (data=0x0) at chan_sip.c:18380 #7 0x08147f6d in dummy_start (data=0x82001b0) at utils.c:870 #8 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #9 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 10 (process 8161): #0 0xffffe410 in ?? () #1 0xb78ce348 in ?? () #2 0xb78eb580 in SSL_accept () from /usr/lib/asterisk/modules/chan_skinny.so #3 0xb78ce2f0 in ?? () #4 0xb7d564e8 in accept () from /lib/i686/libc.so.6 #5 0xb78e447e in accept_thread (ignore=0x0) at chan_skinny.c:5611 #6 0x08147f6d in dummy_start (data=0x81f02e8) at utils.c:870 #7 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #8 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 9 (process 8162): #0 0xffffe410 in ?? () #1 0xb78922d8 in ?? () #2 0x000003e8 in ?? () #3 0x00000000 in ?? () Thread 8 (process 8163): #0 0xffffe410 in ?? () #1 0xb77f1e78 in ?? () #2 0x000003e8 in ?? () #3 0x00000000 in ?? () Thread 7 (process 8169): #0 0xffffe410 in ?? () #1 0xb77a7198 in ?? () #2 0xb7dc2ff4 in ?? () from /lib/i686/libc.so.6 #3 0xb77a7184 in ?? () #4 0xb7d15556 in nanosleep () from /lib/i686/libc.so.6 #5 0xb7d15337 in sleep () from /lib/i686/libc.so.6 #6 0xb77aa8d6 in scan_thread (unused=0x0) at pbx_spool.c:433 #7 0x08147f6d in dummy_start (data=0x81f0550) at utils.c:870 #8 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #9 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 6 (process 8170): #0 0xffffe410 in ?? () #1 0xb75ea318 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x0807635e in monitor_sig_flags (unused=0x0) at asterisk.c:2708 #6 0x08147f6d in dummy_start (data=0x8249a20) at utils.c:870 #7 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #8 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 5 (process 8171): #0 0xffffe410 in ?? () #1 0xb75ab8b8 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x08148297 in ast_wait_for_input (fd=19, ms=-1) at utils.c:956 #6 0xb79d1f06 in _sip_tcp_helper_thread (pvt=0x0, ser=0x824f848) at chan_sip.c:2178 #7 0xb79d1cdf in sip_tcp_worker_fn (data=0x824f848) at chan_sip.c:2138 #8 0x0813b71b in ast_make_file_from_fd (data=0x824f848) at tcptls.c:468 #9 0x08147f6d in dummy_start (data=0x823e188) at utils.c:870 #10 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #11 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 4 (process 8172): #0 0xffffe410 in ?? () #1 0xb756d8b8 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x08148297 in ast_wait_for_input (fd=20, ms=-1) at utils.c:956 #6 0xb79d1f06 in _sip_tcp_helper_thread (pvt=0x0, ser=0x8253d90) at chan_sip.c:2178 #7 0xb79d1cdf in sip_tcp_worker_fn (data=0x8253d90) at chan_sip.c:2138 #8 0x0813b71b in ast_make_file_from_fd (data=0x8253d90) at tcptls.c:468 #9 0x08147f6d in dummy_start (data=0x8243ad0) at utils.c:870 #10 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #11 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 3 (process 8174): #0 0xffffe410 in ?? () #1 0xb74f4af8 in ?? () #2 0x00000003 in ?? () #3 0x00000080 in ?? () #4 0xb7c714e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #5 0xb7d61f9d in pthread_cond_wait () from /lib/i686/libc.so.6 #6 0x0807e023 in __ast_cond_wait (filename=0x8180aa4 "autoservice.c", lineno=99, func=0x8180cc4 "autoservice_run", cond_name=0x8180ce1 "&as_cond", mutex_name=0x8180cd4 "&aslist.lock", cond=0x81d2480, t=0x81b6fe8) at /root/src/asterisk-issue_11972-r106998/include/asterisk/lock.h:563 #7 0x0807dbc1 in autoservice_run (ign=0x0) at autoservice.c:99 #8 0x08147f6d in dummy_start (data=0x825acc0) at utils.c:870 #9 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #10 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 2 (process 8175): #0 0xffffe410 in ?? () #1 0xb752c728 in ?? () #2 0xffffffff in ?? () #3 0x00000006 in ?? () #4 0xb7d4af97 in poll () from /lib/i686/libc.so.6 #5 0x0808e456 in ast_waitfor_nandfds (c=0xb752c9dc, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb752c9d8) at channel.c:1856 #6 0x0808e774 in ast_waitfor_n (c=0xb752c9dc, n=2, ms=0xb752c9d8) at channel.c:2118 #7 0x08095d1e in ast_generic_bridge (c0=0x825a688, c1=0x8272ef0, config=0xb752d9f4, fo=0xb752cdf4, rc=0xb752cdf0, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:4128 #8 0x080973d1 in ast_channel_bridge (c0=0x825a688, c1=0x8272ef0, config=0xb752d9f4, fo=0xb752cdf4, rc=0xb752cdf0) at channel.c:4474 #9 0x080c0857 in ast_bridge_call (chan=0x825a688, peer=0x8272ef0, config=0xb752d9f4) at features.c:1955 #10 0xb774cb01 in dial_exec_full (chan=0x825a688, data=0xb752feb8, peerflags=0xb752dd3c, continue_exec=0x0) at app_dial.c:1902 #11 0xb774dc43 in dial_exec (chan=0x825a688, data=0xb752feb8) at app_dial.c:1972 #12 0x080f2ae5 in pbx_exec (c=0x825a688, app=0x81f6930, data=0xb752feb8) at pbx.c:731 #13 0x080f890f in pbx_extension_helper (c=0x825a688, con=0x0, context=0x825a8cc "preciosa", exten=0x825a91c "8297", priority=2, label=0x0, callerid=0x8255078 "324", action=E_SPAWN, found=0xb75322fc, combined_find_spawn=1) at pbx.c:2703 #14 0x080fa497 in ast_spawn_extension (c=0x825a688, context=0x825a8cc "preciosa", exten=0x825a91c "8297", priority=2, callerid=0x8255078 "324", found=0xb75322fc, combined_find_spawn=1) at pbx.c:3194 #15 0x080fabe7 in __ast_pbx_run (c=0x825a688) at pbx.c:3293 #16 0x080fbdf5 in pbx_thread (data=0x825a688) at pbx.c:3555 #17 0x08147f6d in dummy_start (data=0x8273670) at utils.c:870 #18 0xb7c6d4e2 in start_thread () from /lib/i686/libpthread.so.0 #19 0xb7d5546e in clone () from /lib/i686/libc.so.6 Thread 1 (process 8153): #0 0xffffe410 in ?? () #1 0xb7ba1ae4 in ?? () #2 0x00000006 in ?? () #3 0x00001fd9 in ?? () #4 0xb7cac595 in raise () from /lib/i686/libc.so.6 #5 0xb7cadfe1 in abort () from /lib/i686/libc.so.6 #6 0xb7ce438c in SSL_accept () from /lib/i686/libc.so.6 #7 0x0000001b in ?? () #8 0xb7ba1d48 in ?? () #9 0x00000400 in ?? () #10 0x00000000 in ?? () (gdb) quit