(gdb) thread apply all bt Thread 33 (process 25419): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dfc3cb in __read_nocancel () from /lib/i686/libpthread.so.0 #2 0x08106c4d in read_char (el=0x818e6d8, cp=0xbfc515de "\006") at read.c:296 #3 0x08106d4a in el_getc (el=0x818e6d8, cp=0xbfc515de "\006") at read.c:347 #4 0x08106afa in read_getcmd (el=0x818e6d8, cmdnum=0xbfc515df "", ch=0xbfc515de "\006") at read.c:243 #5 0x08106f8a in el_gets (el=0x818e6d8, nread=0xbfc51904) at read.c:443 #6 0x08073ca7 in main (argc=3, argv=0xbfc51b34) at asterisk.c:3045 #7 0xb7b7875c in __libc_start_main () from /lib/i686/libc.so.6 #8 0x0805a4a1 in ?? () Thread 32 (process 25420): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0x0809f968 in ast_cond_wait (cond=0x8169ca0, t=0x8169cd0) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0x0809f759 in ast_event_dispatcher (unused=0x0) at event.c:716 #4 0x080fe3d5 in dummy_start (data=0x818da08) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 31 (process 25421): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0x0809f968 in ast_cond_wait (cond=0x8169ca0, t=0x8169cd0) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0x0809f759 in ast_event_dispatcher (unused=0x0) at event.c:716 #4 0x080fe3d5 in dummy_start (data=0x818db10) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 30 (process 25422): #0 0xffffe410 in __kernel_vsyscall () ---Type to continue, or q to quit--- #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0x0809f968 in ast_cond_wait (cond=0x8169ca0, t=0x8169cd0) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0x0809f759 in ast_event_dispatcher (unused=0x0) at event.c:716 #4 0x080fe3d5 in dummy_start (data=0x818dc18) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 29 (process 25423): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0x0809f968 in ast_cond_wait (cond=0x8169ca0, t=0x8169cd0) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0x0809f759 in ast_event_dispatcher (unused=0x0) at event.c:716 #4 0x080fe3d5 in dummy_start (data=0x818dd20) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 28 (process 25424): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0x0809f968 in ast_cond_wait (cond=0x8169ca0, t=0x8169cd0) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0x0809f759 in ast_event_dispatcher (unused=0x0) at event.c:716 #4 0x080fe3d5 in dummy_start (data=0x818de28) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 27 (process 25426): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7c23633 in poll () from /lib/i686/libc.so.6 #2 0x0806d9c4 in listener (unused=0x0) at asterisk.c:943 #3 0x080fe3d5 in dummy_start (data=0x8195930) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 ---Type to continue, or q to quit--- Thread 26 (process 25427): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0x080b26b8 in ast_cond_wait (cond=0x8170980, t=0x816b3a8) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0x080b2613 in logger_thread (data=0x0) at logger.c:753 #4 0x080fe3d5 in dummy_start (data=0x8195940) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 25 (process 25428): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0x08095e20 in ast_cond_wait (cond=0x8170500, t=0x8169928) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0x08095dac in do_devstate_changes (data=0x0) at devicestate.c:498 #4 0x080fe3d5 in dummy_start (data=0x8197c48) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 24 (process 25429): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7c26201 in select () from /lib/i686/libc.so.6 #2 0xb7fa279e in ast_select (nfds=0, rfds=0xb798021c, wfds=0x0, efds=0xb798019c, tvp=0x0) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/channel.h:1356 #3 0xb7fa275b in do_parking_thread (ignore=0x0) at res_features.c:1930 #4 0x080fe3d5 in dummy_start (data=0x81a49b0) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 23 (process 25430): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dfc3cb in __read_nocancel () from /lib/i686/libpthread.so.0 ---Type to continue, or q to quit--- #2 0xb791c150 in monmp3thread (data=0x8198350) at res_musiconhold.c:515 #3 0x080fe3d5 in dummy_start (data=0x81aec48) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 22 (process 25431): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dfc3cb in __read_nocancel () from /lib/i686/libpthread.so.0 #2 0xb791c150 in monmp3thread (data=0x8199188) at res_musiconhold.c:515 #3 0x080fe3d5 in dummy_start (data=0x8197a48) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 21 (process 25432): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dfc3cb in __read_nocancel () from /lib/i686/libpthread.so.0 #2 0xb791c150 in monmp3thread (data=0x819c850) at res_musiconhold.c:515 #3 0x080fe3d5 in dummy_start (data=0x8196498) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 20 (process 25433): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dfc3cb in __read_nocancel () from /lib/i686/libpthread.so.0 #2 0xb791c150 in monmp3thread (data=0x81a2c20) at res_musiconhold.c:515 #3 0x080fe3d5 in dummy_start (data=0x819a3a8) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 19 (process 25442): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7c23633 in poll () from /lib/i686/libc.so.6 ---Type to continue, or q to quit--- #2 0x080ad030 in ast_io_wait (ioc=0x819b970, howlong=1000) at io.c:280 #3 0xb78024b8 in do_monitor (data=0x0) at chan_sip.c:16041 #4 0x080fe3d5 in dummy_start (data=0x819cd38) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 18 (process 25443): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c1e84, t=0x81c1e6c) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c0de0) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x819d220) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 17 (process 25444): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c2f5c, t=0x81c2f44) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c1eb8) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81bdd28) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 16 (process 25445): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c4034, t=0x81c401c) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c2f90) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81acb48) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 ---Type to continue, or q to quit--- Thread 15 (process 25446): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c510c, t=0x81c50f4) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c4068) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81ac918) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 14 (process 25447): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c61e4, t=0x81c61cc) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c5140) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81a6fb8) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 13 (process 25448): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c72bc, t=0x81c72a4) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c6218) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81a4648) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 12 (process 25449): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c8394, t=0x81c837c) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 ---Type to continue, or q to quit--- #3 0xb75f2c9f in iax2_process_thread (data=0x81c72f0) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81a70f8) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 11 (process 25450): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81c946c, t=0x81c9454) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c83c8) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81a7108) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 10 (process 25451): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81ca544, t=0x81ca52c) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81c94a0) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81a73c8) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 9 (process 25452): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e5a in ast_cond_wait (cond=0x81cb61c, t=0x81cb604) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb75f2c9f in iax2_process_thread (data=0x81ca578) at chan_iax2.c:7955 #4 0x080fe3d5 in dummy_start (data=0x81ac918) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 ---Type to continue, or q to quit--- Thread 8 (process 25453): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9b0c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb75f2e8b in ast_cond_timedwait (cond=0xb760db40, t=0xb760c8c0, abstime=0xb7373340) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:569 #3 0xb75f46c1 in sched_thread (ignore=0x0) at chan_iax2.c:8363 #4 0x080fe3d5 in dummy_start (data=0x819ba58) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 7 (process 25454): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7c23633 in poll () from /lib/i686/libc.so.6 #2 0x080ad030 in ast_io_wait (ioc=0x81acd80, howlong=-1) at io.c:280 #3 0xb75f4a44 in network_thread (ignore=0x0) at chan_iax2.c:8432 #4 0x080fe3d5 in dummy_start (data=0x81b49f0) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 6 (process 25455): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7bef2f6 in nanosleep () from /lib/i686/libc.so.6 #2 0xb7bef0ec in sleep () from /lib/i686/libc.so.6 #3 0xb72deb2d in scan_thread (unused=0x0) at pbx_spool.c:437 #4 0x080fe3d5 in dummy_start (data=0x820f5a8) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 5 (process 25456): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7c23633 in poll () from /lib/i686/libc.so.6 #2 0xb7184996 in ss7_linkset (data=0xb71a6480) at chan_zap.c:8559 ---Type to continue, or q to quit--- #3 0x080fe3d5 in dummy_start (data=0x821dcb0) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 4 (process 25457): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7c23633 in poll () from /lib/i686/libc.so.6 #2 0xb717f81e in do_monitor (data=0x0) at chan_zap.c:7198 #3 0x080fe3d5 in dummy_start (data=0x821bd50) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 3 (process 25458): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7df9886 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb6faeca3 in ast_cond_wait (cond=0xb6fb9624, t=0xb6fb9654) at /root/src/asterisk-svn-20070522/asterisk/include/asterisk/lock.h:564 #3 0xb6fafe9c in sla_thread (data=0x0) at app_meetme.c:4002 #4 0x080fe3d5 in dummy_start (data=0x821e1d8) at utils.c:545 #5 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 2 (process 25460): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7c23633 in poll () from /lib/i686/libc.so.6 #2 0x08072499 in monitor_sig_flags (unused=0x0) at asterisk.c:2558 #3 0x080fe3d5 in dummy_start (data=0x8270a50) at utils.c:545 #4 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7c2d4be in clone () from /lib/i686/libc.so.6 Thread 1 (process 25517): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7b8afc0 in raise () from /lib/i686/libc.so.6 ---Type to continue, or q to quit--- #2 0xb7b8c851 in abort () from /lib/i686/libc.so.6 #3 0xb7bc040b in __fsetlocking () from /lib/i686/libc.so.6 #4 0xb7bc7d9d in mallopt () from /lib/i686/libc.so.6 #5 0xb7bc7f23 in free () from /lib/i686/libc.so.6 #6 0xb6b540d0 in device_state_thread (data=0x0) at app_queue.c:655 #7 0x080fe3d5 in dummy_start (data=0x825b148) at utils.c:545 #8 0xb7df6562 in start_thread () from /lib/i686/libpthread.so.0 #9 0xb7c2d4be in clone () from /lib/i686/libc.so.6 (gdb)