(gdb) bt
#0  0x081112f8 in ast_copy_string (dst=0x72c0a0 "", src=0x0, size=256)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/strings.h:168
#1  0x007a6d88 in update_call_counter (fup=0xa02dcc0, event=0) at chan_sip.c:3217
#2  0x007a634b in __sip_destroy (p=0xa02dcc0, lockowner=1) at chan_sip.c:3091
#3  0x007a7bfe in sip_destroy (p=0xa02dcc0) at chan_sip.c:3320
#4  0x007a251a in sip_destroy_peer (peer=0x9fece40) at chan_sip.c:2471
#5  0x007bceb8 in sip_poke_peer_s (data=0x9fece40) at chan_sip.c:7942
#6  0x08102289 in ast_sched_runq (con=0x9845868) at sched.c:359
#7  0x007e4e6b in do_monitor (data=0x0) at chan_sip.c:15768
#8  0x081135ac in dummy_start (data=0x984aec8) at utils.c:865
#9  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#10 0x00c3b1ae in clone () from /lib/tls/libc.so.6
(gdb) bt full 
#0  0x081112f8 in ast_copy_string (dst=0x72c0a0 "", src=0x0, size=256)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/strings.h:168
No locals.
#1  0x007a6d88 in update_call_counter (fup=0xa02dcc0, event=0) at chan_sip.c:3217
	name = '\0' <repeats 68 times>, "%\000\000\000\000\000\000\000d?r\000Apr 30 04:07:57", '\0' <repeats 77 times>, "5Y?\000?-\200\000\000\000\000\000\210?r\000\t\030\021\b\000\000\000\000;,\021\b", '\0' <repeats 12 times>, "?>?\000\000\000\000\000?-\200\000\000\000\000\000\0003\200\000??r\000S\000z\0004?\204\t(\b\000\000\000\000\000\000\000\000\000"
	inuse = (int *) 0x0
	call_limit = (int *) 0x0
	inringing = (int *) 0x0
	outgoing = 0
	u = (struct sip_user *) 0x0
	p = (struct sip_peer *) 0x0
	__PRETTY_FUNCTION__ = "update_call_counter"
#2  0x007a634b in __sip_destroy (p=0xa02dcc0, lockowner=1) at chan_sip.c:3091
	cur = (struct sip_pvt *) 0xb7500018
	prev = (struct sip_pvt *) 0x0
	cp = (struct sip_pkt *) 0x0
	__PRETTY_FUNCTION__ = "__sip_destroy"
#3  0x007a7bfe in sip_destroy (p=0xa02dcc0) at chan_sip.c:3320
	__PRETTY_FUNCTION__ = "sip_destroy"
#4  0x007a251a in sip_destroy_peer (peer=0x9fece40) at chan_sip.c:2471
	__PRETTY_FUNCTION__ = "sip_destroy_peer"
#5  0x007bceb8 in sip_poke_peer_s (data=0x9fece40) at chan_sip.c:7942
	newcount = 0
	peer = (struct sip_peer *) 0x9fece40
	__PRETTY_FUNCTION__ = "sip_poke_peer_s"
#6  0x08102289 in ast_sched_runq (con=0x9845868) at sched.c:359
	current = (struct sched *) 0xb7ed3498
	tv = {tv_sec = 1209542877, tv_usec = 609052}
	numevents = 0
	res = 1
	__PRETTY_FUNCTION__ = "ast_sched_runq"
#7  0x007e4e6b in do_monitor (data=0x0) at chan_sip.c:15768
	res = 1
	sip = (struct sip_pvt *) 0xb792fa88
	peer = (struct sip_peer *) 0x0
	t = 1209542877
	fastrestart = 1
	lastpeernum = 2
	curpeernum = 3
	reloading = 0
	__PRETTY_FUNCTION__ = "do_monitor"
#8  0x081135ac in dummy_start (data=0x984aec8) at utils.c:865
	_buffer = {__routine = 0x806a2ab <ast_unregister_thread>, __arg = 0x72cba0, __canceltype = 0, 
  __prev = 0x0}
	ret = (void *) 0x0
	a = {start_routine = 0x7e4650 <do_monitor>, data = 0x0, 
  name = 0x984aed8 "do_monitor", ' ' <repeats 11 times>, "started at [15822] chan_sip.c restart_monitor()"}
	lock_info = (struct thr_lock_info *) 0x984b428
	mutex_attr = {__mutexkind = 1}
#9  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#10 0x00c3b1ae in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 32 (process 17566):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d2769b in __read_nocancel () from /lib/tls/libpthread.so.0
#2  0x0811b98e in read_char (el=0x979c7d0, cp=0xbff7d5b7 "\b????4@\024") at read.c:296
#3  0x0811bab4 in el_getc (el=0x979c7d0, cp=0xbff7d5b7 "\b????4@\024") at read.c:347
#4  0x0811b88d in read_getcmd (el=0x979c7d0, cmdnum=0xbff7d5bf "", ch=0xbff7d5b7 "\b????4@\024")
    at read.c:243
#5  0x0811bcd4 in el_gets (el=0x979c7d0, nread=0xbff7d83c) at read.c:443
#6  0x0807257c in main (argc=4, argv=0xbff7da54) at asterisk.c:3044
#7  0x00b86de3 in __libc_start_main () from /lib/tls/libc.so.6
#8  0x08057f41 in ?? ()

Thread 31 (process 17631):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x0806c0cd in listener (unused=0x0) at asterisk.c:985
#3  0x081135ac in dummy_start (data=0x979dc48) at utils.c:865
#4  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#5  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 30 (process 17632):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x080c7e4d in accept_thread (ignore=0x0) at manager.c:2358
#3  0x081135ac in dummy_start (data=0x979c3a0) at utils.c:865
#4  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#5  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 29 (process 17633):
#0  0x007a33a1 in find_peer (peer=0xb7f71e00 "OPUS", sin=0x0, realtime=1) at chan_sip.c:2669
#1  0x007e66b2 in sip_devicestate (data=0xb7f722a4) at chan_sip.c:15994
#2  0x0809e2eb in ast_device_state (device=0xb780fc0c "SIP/OPUS") at devicestate.c:170
#3  0x0809eb0e in do_state_change (device=0xb780fc0c "SIP/OPUS") at devicestate.c:285
#4  0x0809ef2b in do_devstate_changes (data=0x0) at devicestate.c:369
#5  0x081135ac in dummy_start (data=0x97a6738) at utils.c:865
#6  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#7  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 28 (process 17634):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c33bf1 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2  0x002ebd44 in ast_select (nfds=0, rfds=0x32e2c0, wfds=0x0, efds=0x32e240, tvp=0x0)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/channel.h:1320
#3  0x002ebd01 in do_parking_thread (ignore=0x0) at res_features.c:1828
#4  0x081135ac in dummy_start (data=0x97b0f18) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 27 (process 17635):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0042a355 in __ast_cond_wait (filename=0x43aa94 "app_queue.c", lineno=697, 
    func=0x43c3e7 "device_state_thread", cond_name=0x43c40e "&device_state.cond", 
    mutex_name=0x43c3fb "&device_state.lock", cond=0x440680, t=0x4405a8)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x00429f4e in device_state_thread (data=0x0) at app_queue.c:697
#4  0x081135ac in dummy_start (data=0x97b4168) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 26 (process 17636):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x005199f7 in do_monitor (data=0x0) at chan_zap.c:6880
#3  0x081135ac in dummy_start (data=0x97be690) at utils.c:865
#4  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#5  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 25 (process 17641):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c33bf1 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2  0x00e6c9ef in ast_select (nfds=0, rfds=0xf5e2c0, wfds=0x0, efds=0xf5e240, tvp=0x0)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/channel.h:1320
#3  0x00e6c7a5 in do_monitor (data=0x0) at chan_phone.c:1061
#4  0x081135ac in dummy_start (data=0x97c4ef8) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 24 (process 17643):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c33bf1 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2  0x0068363c in ast_select (nfds=12, rfds=0x6ce2b0, wfds=0x6ce230, efds=0x0, tvp=0x0)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/channel.h:1320
#3  0x006833d4 in sound_thread (arg=0x9841dc0) at chan_oss.c:628
#4  0x081135ac in dummy_start (data=0x9841b10) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 23 (process 17645):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x080b8438 in ast_io_wait (ioc=0x98c2440, howlong=1000) at io.c:266
#3  0x009e36f1 in network_thread (ignore=0x0) at pbx_dundi.c:2139
#4  0x081135ac in dummy_start (data=0x98c3988) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 22 (process 17646):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00bfd456 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2  0x00bfd25c in sleep () from /lib/tls/libc.so.6
#3  0x009e392d in process_precache (ign=0x0) at pbx_dundi.c:2182
#4  0x081135ac in dummy_start (data=0x98c3a90) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 21 (process 17647):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x00a2c42a in __ast_cond_wait (filename=0xa32394 "app_meetme.c", lineno=3965, 
    func=0xa35e3f "sla_thread", cond_name=0xa34e76 "&sla.cond", mutex_name=0xa34e6c "&sla.lock", 
    cond=0xa387a4, t=0xa387d4)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x00a2d8bb in sla_thread (data=0x0) at app_meetme.c:3965
#4  0x081135ac in dummy_start (data=0x98c76d8) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 20 (process 17648):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00bfd456 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2  0x00bfd25c in sleep () from /lib/tls/libc.so.6
#3  0x00a5ec51 in scan_thread (unused=0x0) at pbx_spool.c:437
#4  0x081135ac in dummy_start (data=0x97aae48) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 19 (process 17649):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98ddbac, t=0x98ddad4)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98dca40) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98d6f18) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 18 (process 17650):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98d87ac, t=0x98d86d4)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98d7640) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98d6f28) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 17 (process 17651):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98d9974, t=0x98d989c)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98d8808) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98ddd28) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 16 (process 17652):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98dab3c, t=0x98daa64)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98d99d0) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98db840) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 15 (process 17653):
---Type <return> to continue, or q <return> to quit---
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98e5944, t=0x98e586c)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98e47d8) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98d7140) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 14 (process 17654):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98e6b0c, t=0x98e6a34)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98e59a0) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98d7238) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 13 (process 17655):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98e7cd4, t=0x98e7bfc)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98e6b68) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98d7330) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 12 (process 17656):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98ebfbc, t=0x98ebee4)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98eae50) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98dbe70) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 11 (process 17657):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98ed184, t=0x98ed0ac)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98ec018) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98ddd28) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 10 (process 17658):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x0624856a in __ast_cond_wait (filename=0x6259eb4 "chan_iax2.c", lineno=8430, 
    func=0x625dd54 "iax2_process_thread", cond_name=0x625a16d "&thread->cond", 
    mutex_name=0x625a15f "&thread->lock", cond=0x98ee34c, t=0x98ee274)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x06247e03 in iax2_process_thread (data=0x98ed1e0) at chan_iax2.c:8430
#4  0x081135ac in dummy_start (data=0x98db840) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 9 (process 17659):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24f7c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x06248a52 in __ast_cond_timedwait (filename=0x6259eb4 "chan_iax2.c", lineno=8875, 
    func=0x625e2a1 "sched_thread", cond_name=0x625e2ba "&sched_cond", 
    mutex_name=0x625e2ae "&sched_lock", cond=0x6264ba0, t=0x62627a0, abstime=0x126a328)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:644
#3  0x0624a95e in sched_thread (ignore=0x0) at chan_iax2.c:8875
#4  0x081135ac in dummy_start (data=0x98d7140) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 8 (process 17660):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x080b8438 in ast_io_wait (ioc=0x98d5568, howlong=-1) at io.c:266
#3  0x0624ad2b in network_thread (ignore=0x0) at chan_iax2.c:8944
#4  0x081135ac in dummy_start (data=0x98d7238) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 7 (process 17664):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x0806be8e in netconsole (vconsole=0x818abc0) at asterisk.c:934
#3  0x081135ac in dummy_start (data=0x9a35260) at utils.c:865
#4  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#5  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 6 (process 17667):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x080c7675 in get_input (s=0xb73a2d50, output=0x4ed9d00 "") at manager.c:2214
#3  0x080c78ca in do_message (s=0xb73a2d50) at manager.c:2251
#4  0x080c7a77 in session_do (data=0xb73a2d50) at manager.c:2276
#5  0x081135ac in dummy_start (data=0xb7367ee0) at utils.c:865
#6  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#7  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 5 (process 17668):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x0807094a in monitor_sig_flags (unused=0x0) at asterisk.c:2531
#3  0x081135ac in dummy_start (data=0xb73a4da0) at utils.c:865
#4  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#5  0x00c3b1ae in clone () from /lib/tls/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 4 (process 17670):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00d24cf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x08077d13 in __ast_cond_wait (filename=0x8144b74 "autoservice.c", lineno=105, 
    func=0x8144d60 "autoservice_run", cond_name=0x8144d7d "&as_cond", 
    mutex_name=0x8144d70 "&aslist.lock", cond=0x8178fe0, t=0x816cfc8)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/lock.h:573
#3  0x0807788f in autoservice_run (ign=0x0) at autoservice.c:105
#4  0x081135ac in dummy_start (data=0x9f9c8a8) at utils.c:865
#5  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#6  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 3 (process 17926):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x0806be8e in netconsole (vconsole=0x818ac10) at asterisk.c:934
#3  0x081135ac in dummy_start (data=0xabda628) at utils.c:865
#4  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#5  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 2 (process 18149):
#0  0x00b587a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00c31364 in poll () from /lib/tls/libc.so.6
#2  0x0806be8e in netconsole (vconsole=0x818abfc) at asterisk.c:934
#3  0x081135ac in dummy_start (data=0xa03f330) at utils.c:865
#4  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#5  0x00c3b1ae in clone () from /lib/tls/libc.so.6

Thread 1 (process 17644):
#0  0x081112f8 in ast_copy_string (dst=0x72c0a0 "", src=0x0, size=256)
    at /usr/src/asterisk-trunk/1.4/rnew/asterisk-1.4/include/asterisk/strings.h:168
#1  0x007a6d88 in update_call_counter (fup=0xa02dcc0, event=0) at chan_sip.c:3217
#2  0x007a634b in __sip_destroy (p=0xa02dcc0, lockowner=1) at chan_sip.c:3091
#3  0x007a7bfe in sip_destroy (p=0xa02dcc0) at chan_sip.c:3320
#4  0x007a251a in sip_destroy_peer (peer=0x9fece40) at chan_sip.c:2471
#5  0x007bceb8 in sip_poke_peer_s (data=0x9fece40) at chan_sip.c:7942
#6  0x08102289 in ast_sched_runq (con=0x9845868) at sched.c:359
#7  0x007e4e6b in do_monitor (data=0x0) at chan_sip.c:15768
#8  0x081135ac in dummy_start (data=0x984aec8) at utils.c:865
#9  0x00d223cc in start_thread () from /lib/tls/libpthread.so.0
#10 0x00c3b1ae in clone () from /lib/tls/libc.so.6