(gdb) info thread 22 process 16523 0xb7e57819 in poll () from /lib/tls/libc.so.6 21 process 16524 0xb7f8d60e in accept () from /lib/tls/libpthread.so.0 20 process 16525 0xb7f8ab81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 19 process 16526 0xb7e5a327 in select () from /lib/tls/libc.so.6 18 process 16527 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 17 process 16528 0xb7e57819 in poll () from /lib/tls/libc.so.6 16 process 16529 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 15 process 16530 0xb7e57819 in poll () from /lib/tls/libc.so.6 14 process 16531 0xb7e57819 in poll () from /lib/tls/libc.so.6 13 process 16532 0xb7e57819 in poll () from /lib/tls/libc.so.6 12 process 16533 0xb7f8d60e in accept () from /lib/tls/libpthread.so.0 11 process 16534 0xb7e57819 in poll () from /lib/tls/libc.so.6 10 process 16535 0xb7e5a327 in select () from /lib/tls/libc.so.6 9 process 16536 0xb7e5a327 in select () from /lib/tls/libc.so.6 8 process 16537 0xb7e57819 in poll () from /lib/tls/libc.so.6 7 process 16538 0xb7e57819 in poll () from /lib/tls/libc.so.6 6 process 16539 0xb7e57819 in poll () from /lib/tls/libc.so.6 5 process 16540 0xb7e57819 in poll () from /lib/tls/libc.so.6 4 process 16552 0xb7e57819 in poll () from /lib/tls/libc.so.6 3 process 4775 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 2 process 4778 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 * 1 process 16517 0xb7f8d411 in __read_nocancel () ---Type to continue, or q to quit--- from /lib/tls/libpthread.so.0 (gdb) thread apply all bt Thread 22 (process 16523): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0x080d90e3 in listener (unused=0x0) at asterisk.c:594 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 21 (process 16524): #0 0xb7f8d60e in accept () from /lib/tls/libpthread.so.0 #1 0x080ce946 in accept_thread (ignore=0x0) at manager.c:1442 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 20 (process 16525): #0 0xb7f8ab81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0x080f598f in do_devstate_changes (data=0x0) at include/asterisk/lock.h:429 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 19 (process 16526): #0 0xb7e5a327 in select () from /lib/tls/libc.so.6 #1 0xb7b4d855 in do_parking_thread (ignore=0x0) ---Type to continue, or q to quit--- at ../include/asterisk/channel.h:1149 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 18 (process 16527): #0 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 #1 0xb7e220c4 in sleep () from /lib/tls/libc.so.6 #2 0xb7aefa0f in scan_thread (unused=0x0) at pbx_spool.c:364 #3 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 17 (process 16528): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0x08055d25 in ast_io_wait (ioc=0x81c4888, howlong=-4) at io.c:271 #2 0xb79f6875 in network_thread (ignore=0x0) at pbx_dundi.c:2106 #3 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 16 (process 16529): #0 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 #1 0xb7e220c4 in sleep () from /lib/tls/libc.so.6 #2 0xb79f8f73 in process_precache (ign=0x0) at pbx_dundi.c:2146 #3 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 ---Type to continue, or q to quit--- #4 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 15 (process 16530): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0x08055d25 in ast_io_wait (ioc=0x81cbbd0, howlong=-4) at io.c:271 #2 0xb7922b2a in do_monitor (data=0x0) at chan_sip.c:11536 #3 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 14 (process 16531): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0x08055d25 in ast_io_wait (ioc=0x81be538, howlong=-4) at io.c:271 #2 0xb7885ab0 in do_monitor (data=0x0) at chan_mgcp.c:3441 #3 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 13 (process 16532): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0x08055d25 in ast_io_wait (ioc=0x81ba090, howlong=-4) at io.c:271 #2 0xb71b5af6 in network_thread (ignore=0x0) at chan_iax2.c:8091 #3 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7e61dee in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 12 (process 16533): #0 0xb7f8d60e in accept () from /lib/tls/libpthread.so.0 #1 0xb714cd88 in accept_thread (ignore=0x0) at chan_skinny.c:2944 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 11 (process 16534): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0x08055d25 in ast_io_wait (ioc=0x81cd918, howlong=-4) at io.c:271 #2 0xb714b850 in do_monitor (data=0x0) at chan_skinny.c:2994 #3 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 10 (process 16535): #0 0xb7e5a327 in select () from /lib/tls/libc.so.6 #1 0xb70b14e9 in sound_thread (arg=0x81e3e58) at ../include/asterisk/channel.h:1149 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 9 (process 16536): #0 0xb7e5a327 in select () from /lib/tls/libc.so.6 #1 0xb7068feb in do_monitor (data=0x0) at ../include/asterisk/channel.h:1149 ---Type to continue, or q to quit--- #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 8 (process 16537): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0xb6ff390f in pri_dchannel (vpri=0xb7009840) at chan_zap.c:8173 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 7 (process 16538): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0xb6ff390f in pri_dchannel (vpri=0xb700a55c) at chan_zap.c:8173 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 6 (process 16539): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0xb6fdf546 in do_monitor (data=0x0) at chan_zap.c:6500 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 5 (process 16540): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- #1 0x080d65b5 in session_do (data=0x819fd68) at manager.c:1359 #2 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #3 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 4 (process 16552): #0 0xb7e57819 in poll () from /lib/tls/libc.so.6 #1 0x08072f22 in ast_waitfor_nandfds (c=0xb685d048, n=0, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb685d448) at channel.c:1628 #2 0x08073a57 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1705 #3 0x080e5567 in autoservice_run (ign=0x0) at autoservice.c:91 #4 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #5 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 3 (process 4775): #0 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 #1 0xb7e5ab9a in usleep () from /lib/tls/libc.so.6 #2 0x080dc2cf in quit_handler (num=0, nice=0, safeshutdown=, restart=0) at asterisk.c:861 #3 0x080dc828 in handle_shutdown_now (fd=17, argc=2, argv=0xb62bf084) at asterisk.c:1093 #4 0x080b1ee9 in ast_cli_command (fd=17, s=0xfffffdfc
) at cli.c:1364 ---Type to continue, or q to quit--- #5 0x080d8fce in netconsole (vconsole=0x8161d80) at asterisk.c:555 #6 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #7 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 2 (process 4778): #0 0xb7e222bc in nanosleep () from /lib/tls/libc.so.6 #1 0xb7e5ab9a in usleep () from /lib/tls/libc.so.6 #2 0x080dc2cf in quit_handler (num=0, nice=0, safeshutdown=, restart=0) at asterisk.c:861 #3 0x080dc828 in handle_shutdown_now (fd=85, argc=2, argv=0xb5c7f084) at asterisk.c:1093 #4 0x080b1ee9 in ast_cli_command (fd=85, s=0xfffffdfc
) at cli.c:1364 #5 0x080d8fce in netconsole (vconsole=0x8161d90) at asterisk.c:555 #6 0xb7f88ced in start_thread () from /lib/tls/libpthread.so.0 #7 0xb7e61dee in clone () from /lib/tls/libc.so.6 Thread 1 (process 16517): #0 0xb7f8d411 in __read_nocancel () from /lib/tls/libpthread.so.0 #1 0x080ffedf in read_char () #2 0x0810884f in el_gets () #3 0x080dec43 in main (argc=3, argv=0xbfbbae74) at asterisk.c:2414