(gdb) bt #0 0x081392e8 in ast_sched_del (con=0x8290900, id=-1) at sched.c:293 #1 0xb66f5ba7 in __sip_destroy (p=0x829fa38, lockowner=1, lockdialoglist=1) at chan_sip.c:4310 #2 0xb66f6e60 in sip_destroy (p=0x829fa38) at chan_sip.c:4524 #3 0xb673ba68 in sip_poke_noanswer (data=0x82992f0) at chan_sip.c:18874 #4 0x08139772 in ast_sched_runq (con=0x8290900) at sched.c:365 #5 0xb673a3d6 in do_monitor (data=0x0) at chan_sip.c:18497 #6 0x0814e29b in dummy_start (data=0x8295340) at utils.c:870 #7 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #8 0xb7db602e in clone () from /lib/libc.so.6 (gdb) (gdb) bt full #0 0x081392e8 in ast_sched_del (con=0x8290900, id=-1) at sched.c:293 s = (struct sched *) 0x0 __PRETTY_FUNCTION__ = "ast_sched_del" #1 0xb66f5ba7 in __sip_destroy (p=0x829fa38, lockowner=1, lockdialoglist=1) at chan_sip.c:4310 cur = (struct sip_pvt *) 0x81ba268 prev = (struct sip_pvt *) 0x0 cp = (struct sip_pkt *) 0xb66721f8 __PRETTY_FUNCTION__ = "__sip_destroy" #2 0xb66f6e60 in sip_destroy (p=0x829fa38) at chan_sip.c:4524 __PRETTY_FUNCTION__ = "sip_destroy" #3 0xb673ba68 in sip_poke_noanswer (data=0x82992f0) at chan_sip.c:18874 peer = (struct sip_peer *) 0x82992f0 __PRETTY_FUNCTION__ = "sip_poke_noanswer" #4 0x08139772 in ast_sched_runq (con=0x8290900) at sched.c:365 current = (struct sched *) 0x82a12d0 tv = {tv_sec = 1206128038, tv_usec = 108375} numevents = 1 res = 1000 __PRETTY_FUNCTION__ = "ast_sched_runq" #5 0xb673a3d6 in do_monitor (data=0x0) at chan_sip.c:18497 res = 0 dialog = (struct sip_pvt *) 0x0 t = 1206128037 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #6 0x0814e29b in dummy_start (data=0x8295340) at utils.c:870 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1211187212, 0, -1234752624, -1234754616, -1663657036, 2069022920}, __mask_was_saved = 0}}, __pad = {0xb6672480, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8070d19 __cancel_arg = (void *) 0xb6672b90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb6739ec4 , data = 0x0, name = 0x82953d8 "do_monitor", ' ' , "started at [18525] chan_sip.c restart_monitor()"} lock_info = (struct thr_lock_info *) 0x82bb990 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #7 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #8 0xb7db602e in clone () from /lib/libc.so.6 ---Type to continue, or q to quit--- No symbol table info available. (gdb) (gdb) (gdb) thread apply all bt Thread 17 (process 17284): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7da703b in read () from /lib/libc.so.6 #2 0x08157526 in read_char (el=0x81e5b28, cp=0xbff7843e "\a") at read.c:296 #3 0x0815761f in el_getc (el=0x81e5b28, cp=0xbff7843e "\a") at read.c:347 #4 0x081573d0 in read_getcmd (el=0x81e5b28, cmdnum=0xbff7843f "", ch=0xbff7843e "\a") at read.c:243 #5 0x0815786c in el_gets (el=0x81e5b28, nread=0xbff78760) at read.c:443 #6 0x0807a93a in main (argc=2, argv=0xbff789e4) at asterisk.c:3308 #7 0xb7d08fe0 in __libc_start_main () from /lib/libc.so.6 #8 0x0805dad1 in SSL_accept () Thread 16 (process 17286): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ce1566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb7dc1b5d in pthread_cond_wait () from /lib/libc.so.6 #3 0x080bf64d in __ast_cond_wait (filename=0x818cba8 "event.c", lineno=762, func=0x818d144 "ast_event_dispatcher", cond_name=0x818cf4e "&event_thread.cond", mutex_name=0x818cf3b "&event_thread.lock", cond=0x81b7800, t=0x81b7830) at /usr/local/src/asterisk/include/asterisk/lock.h:563 #4 0x080bf0b5 in ast_event_dispatcher (unused=0x0) at event.c:762 #5 0x0814e29b in dummy_start (data=0x81edde0) at utils.c:870 #6 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #7 0xb7db602e in clone () from /lib/libc.so.6 Thread 15 (process 17287): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dac817 in poll () from /lib/libc.so.6 #2 0x08073943 in listener (unused=0x0) at asterisk.c:1040 #3 0x0814e29b in dummy_start (data=0x81f9580) at utils.c:870 #4 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #5 0xb7db602e in clone () from /lib/libc.so.6 Thread 14 (process 17288): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ce1566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb7dc1b5d in pthread_cond_wait () from /lib/libc.so.6 #3 0x080e7948 in __ast_cond_wait (filename=0x81954d0 "logger.c", lineno=881, func=0x8196fc7 "logger_thread", cond_name=0x8196ff5 "&logcond", mutex_name=0x8196fe7 "&logmsgs.lock", cond=0x81d2b40, t=0x81ba268) at /usr/local/src/asterisk/include/asterisk/lock.h:563 #4 0x080e70f2 in logger_thread (data=0x0) at logger.c:881 ---Type to continue, or q to quit--- #5 0x0814e29b in dummy_start (data=0x81f9778) at utils.c:870 #6 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #7 0xb7db602e in clone () from /lib/libc.so.6 Thread 13 (process 17289): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dac817 in poll () from /lib/libc.so.6 #2 0x0814e5dd in ast_wait_for_input (fd=10, ms=-1) at utils.c:956 #3 0x0813ff86 in ast_tcptls_server_root (data=0x81b95e0) at tcptls.c:116 #4 0x0814e29b in dummy_start (data=0x8204ed8) at utils.c:870 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 12 (process 17290): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dac817 in poll () from /lib/libc.so.6 #2 0x0814e5dd in ast_wait_for_input (fd=11, ms=5000) at utils.c:956 #3 0x0813ff86 in ast_tcptls_server_root (data=0x81bcb60) at tcptls.c:116 #4 0x0814e29b in dummy_start (data=0x820f718) at utils.c:870 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 11 (process 17291): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ce1566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb7dc1b5d in pthread_cond_wait () from /lib/libc.so.6 #3 0x080b0166 in __ast_cond_wait (filename=0x818a427 "devicestate.c", lineno=527, func=0x818a8d8 "do_devstate_changes", cond_name=0x818a6e4 "&change_pending", mutex_name=0x818a8ec "&state_changes.lock", cond=0x81d1de0, t=0x81b7248) at /usr/local/src/asterisk/include/asterisk/lock.h:563 #4 0x080afddc in do_devstate_changes (data=0x0) at devicestate.c:527 #5 0x0814e29b in dummy_start (data=0x82108d8) at utils.c:870 #6 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #7 0xb7db602e in clone () from /lib/libc.so.6 Thread 10 (process 17292): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ce1566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb7dc1b5d in pthread_cond_wait () from /lib/libc.so.6 #3 0x080ffffc in __ast_cond_wait (filename=0x819ac94 "pbx.c", lineno=3014, func=0x819f420 "device_state_thread", cond_name=0x819f228 "&device_state.cond", mutex_name=0x819f215 "&device_state.lock", cond=0x81bcd80, t=0x81bcca8) ---Type to continue, or q to quit--- at /usr/local/src/asterisk/include/asterisk/lock.h:563 #4 0x080ffc00 in device_state_thread (data=0x0) at pbx.c:3014 #5 0x0814e29b in dummy_start (data=0x8223110) at utils.c:870 #6 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #7 0xb7db602e in clone () from /lib/libc.so.6 Thread 9 (process 17293): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7daf591 in select () from /lib/libc.so.6 #2 0x080c88cb in ast_select (nfds=0, rfds=0xb7ab11dc, wfds=0x0, efds=0xb7ab115c, tvp=0x0) at /usr/local/src/asterisk/include/asterisk/channel.h:1563 #3 0x080c8894 in do_parking_thread (ignore=0x0) at features.c:2357 #4 0x0814e29b in dummy_start (data=0x81ffb48) at utils.c:870 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 8 (process 17296): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ce349e in sem_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #2 0xb79cadef in manager_event_handler (arg=0x8214f28) at misdn/isdn_lib.c:3798 #3 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #4 0xb7db602e in clone () from /lib/libc.so.6 Thread 7 (process 17297): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7daf591 in select () from /lib/libc.so.6 #2 0xb7965959 in mISDN_read (fid=13, buf=0x829549c, count=2080, utimeout=10000000) at device.c:254 #3 0xb79c8b22 in fetch_msg (midev=13) at misdn/isdn_lib.c:2946 #4 0xb79c8d0f in misdn_lib_isdn_event_catcher (arg=0x8214f28) at misdn/isdn_lib.c:2999 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 6 (process 17298): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dac817 in poll () from /lib/libc.so.6 #2 0x0814e5dd in ast_wait_for_input (fd=15, ms=-1) at utils.c:956 #3 0x0813ff86 in ast_tcptls_server_root (data=0xb67609c0) at tcptls.c:116 #4 0x0814e29b in dummy_start (data=0x82923c8) at utils.c:870 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 5 (process 17300): ---Type to continue, or q to quit--- #0 0xffffe410 in __kernel_vsyscall () #1 0xb7d818d6 in nanosleep () from /lib/libc.so.6 #2 0xb7d816b7 in sleep () from /lib/libc.so.6 #3 0xb662fab1 in scan_thread (unused=0x0) at pbx_spool.c:433 #4 0x0814e29b in dummy_start (data=0x829ac38) at utils.c:870 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 4 (process 17301): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dac817 in poll () from /lib/libc.so.6 #2 0x080dde7f in ast_io_wait (ioc=0x82d2a38, howlong=1000) at io.c:275 #3 0xb5f0e454 in network_thread (ignore=0x0) at pbx_dundi.c:2124 #4 0x0814e29b in dummy_start (data=0x82d4168) at utils.c:870 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 3 (process 17302): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7d818d6 in nanosleep () from /lib/libc.so.6 #2 0xb7d816b7 in sleep () from /lib/libc.so.6 #3 0xb5f0e697 in process_precache (ign=0x0) at pbx_dundi.c:2167 #4 0x0814e29b in dummy_start (data=0x82d4540) at utils.c:870 #5 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #6 0xb7db602e in clone () from /lib/libc.so.6 Thread 2 (process 17303): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dac817 in poll () from /lib/libc.so.6 #2 0x08078a77 in monitor_sig_flags (unused=0x0) at asterisk.c:2708 #3 0x0814e29b in dummy_start (data=0x82dbb30) at utils.c:870 #4 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #5 0xb7db602e in clone () from /lib/libc.so.6 Thread 1 (process 17299): #0 0x081392e8 in ast_sched_del (con=0x8290900, id=-1) at sched.c:293 #1 0xb66f5ba7 in __sip_destroy (p=0x829fa38, lockowner=1, lockdialoglist=1) at chan_sip.c:4310 #2 0xb66f6e60 in sip_destroy (p=0x829fa38) at chan_sip.c:4524 #3 0xb673ba68 in sip_poke_noanswer (data=0x82992f0) at chan_sip.c:18874 #4 0x08139772 in ast_sched_runq (con=0x8290900) at sched.c:365 #5 0xb673a3d6 in do_monitor (data=0x0) at chan_sip.c:18497 #6 0x0814e29b in dummy_start (data=0x8295340) at utils.c:870 ---Type to continue, or q to quit--- #7 0xb7cdd192 in start_thread () from /lib/libpthread.so.0 #8 0xb7db602e in clone () from /lib/libc.so.6 (gdb)