#0 0x00697412 in __ast_pthread_mutex_lock (filename=0x6f1e35 "chan_sip.c", lineno=1935, func=0x6f23c4 "retrans_pkt", mutex_name=0x6f23d0 "&pkt->owner->lock", t=0x40) at /dar/build/asterisk-1.4.26/include/asterisk/lock.h:354 354 /dar/build/asterisk-1.4.26/include/asterisk/lock.h: No such file or directory. in /dar/build/asterisk-1.4.26/include/asterisk/lock.h (gdb) bt #0 0x00697412 in __ast_pthread_mutex_lock (filename=0x6f1e35 "chan_sip.c", lineno=1935, func=0x6f23c4 "retrans_pkt", mutex_name=0x6f23d0 "&pkt->owner->lock", t=0x40) at /dar/build/asterisk-1.4.26/include/asterisk/lock.h:354 #1 0x0069678b in retrans_pkt (data=0x98b2640) at chan_sip.c:1935 #2 0x0810fe79 in ast_sched_runq () #3 0x006e2c19 in do_monitor (data=0x0) at chan_sip.c:16788 #4 0x08121a6e in dummy_start () #5 0x008b249b in start_thread () from /lib/libpthread.so.0 #6 0x0080942e in clone () from /lib/libc.so.6 (gdb) bt full #0 0x00697412 in __ast_pthread_mutex_lock (filename=0x6f1e35 "chan_sip.c", lineno=1935, func=0x6f23c4 "retrans_pkt", mutex_name=0x6f23d0 "&pkt->owner->lock", t=0x40) at /dar/build/asterisk-1.4.26/include/asterisk/lock.h:354 res = 0 canlog = 1 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock" #1 0x0069678b in retrans_pkt (data=0x98b2640) at chan_sip.c:1935 pkt = (struct sip_pkt *) 0x98b2640 prev = (struct sip_pkt *) 0x9 cur = (struct sip_pkt *) 0x0 reschedule = 1000 xmitres = 0 __PRETTY_FUNCTION__ = "retrans_pkt" #2 0x0810fe79 in ast_sched_runq () No symbol table info available. #3 0x006e2c19 in do_monitor (data=0x0) at chan_sip.c:16788 res = 0 sip = (struct sip_pvt *) 0x0 peer = (struct sip_peer *) 0x0 t = 1248165474 fastrestart = 0 lastpeernum = -1 curpeernum = 140 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #4 0x08121a6e in dummy_start () No symbol table info available. #5 0x008b249b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x0080942e in clone () from /lib/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 1 (process 29026): #0 0x00697412 in __ast_pthread_mutex_lock (filename=0x6f1e35 "chan_sip.c", lineno=1935, func=0x6f23c4 "retrans_pkt", mutex_name=0x6f23d0 "&pkt->owner->lock", t=0x40) at /dar/build/asterisk-1.4.26/include/asterisk/lock.h:354 #1 0x0069678b in retrans_pkt (data=0x98b2640) at chan_sip.c:1935 #2 0x0810fe79 in ast_sched_runq () #3 0x006e2c19 in do_monitor (data=0x0) at chan_sip.c:16788 #4 0x08121a6e in dummy_start () #5 0x008b249b in start_thread () from /lib/libpthread.so.0 #6 0x0080942e in clone () from /lib/libc.so.6