[asterisk-bugs] [Asterisk 0012833]: Segfault on chan_sip with recording (when retransmitting?)
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Jun 20 02:44:26 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12833
======================================================================
Reported By: tjardick
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12833
Category: Channels/chan_sip/General
Reproducibility: random
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.4.20.1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 06-11-2008 07:12 CDT
Last Modified: 06-20-2008 02:44 CDT
======================================================================
Summary: Segfault on chan_sip with recording (when
retransmitting?)
Description:
Asterisk seemed to crash randomly. So we kept it running in with the -g to
get a coredump. See aditional info for the bt and bt full.
It looks like it happens in case of a re-transmit on a channel that is
running monitor.
Box situation:
All channels are coming in on Sangoma E1 and ran thru MixMonitor before
being handed of to a SIP Peer.
======================================================================
----------------------------------------------------------------------
tjardick - 06-20-08 02:44
----------------------------------------------------------------------
Another trace, same lines of code in lock.h, chan_sip.c
(gdb) bt
http://bugs.digium.com/view.php?id=0 0x001adf01 in __ast_pthread_mutex_lock
(filename=0x1fa8f4
"chan_sip.c", lineno=1902, func=0x1fae58 "retrans_pkt", mutex_name=0x1fae64
"&pkt->owner->lock", t=0x78657765)
at /dar/build/asterisk-1.4.20.1/include/asterisk/lock.h:319
http://bugs.digium.com/view.php?id=1 0x001acfe4 in retrans_pkt (data=0x8969f50)
at chan_sip.c:1902
http://bugs.digium.com/view.php?id=2 0x080f634b in ast_sched_runq ()
http://bugs.digium.com/view.php?id=3 0x001ed7dd in do_monitor (data=0x0) at
chan_sip.c:15812
http://bugs.digium.com/view.php?id=4 0x08106484 in dummy_start ()
http://bugs.digium.com/view.php?id=5 0x00d3e3cc in start_thread () from
/lib/tls/libpthread.so.0
http://bugs.digium.com/view.php?id=6 0x00c671ae in clone () from
/lib/tls/libc.so.6
(gdb) bt full
http://bugs.digium.com/view.php?id=0 0x001adf01 in __ast_pthread_mutex_lock
(filename=0x1fa8f4
"chan_sip.c", lineno=1902, func=0x1fae58 "retrans_pkt", mutex_name=0x1fae64
"&pkt->owner->lock", t=0x78657765)
at /dar/build/asterisk-1.4.20.1/include/asterisk/lock.h:319
res = -1210289592
canlog = 13893367
__PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock"
http://bugs.digium.com/view.php?id=1 0x001acfe4 in retrans_pkt (data=0x8969f50)
at chan_sip.c:1902
pkt = (struct sip_pkt *) 0x8969f50
prev = (struct sip_pkt *) 0x80f6337
cur = (struct sip_pkt *) 0x0
reschedule = 1000
xmitres = 0
__PRETTY_FUNCTION__ = "retrans_pkt"
http://bugs.digium.com/view.php?id=2 0x080f634b in ast_sched_runq ()
No symbol table info available.
http://bugs.digium.com/view.php?id=3 0x001ed7dd in do_monitor (data=0x0) at
chan_sip.c:15812
res = 0
sip = (struct sip_pvt *) 0x0
peer = (struct sip_peer *) 0x0
t = 1213764834
fastrestart = 0
lastpeernum = -1
curpeernum = 35
reloading = 0
__PRETTY_FUNCTION__ = "do_monitor"
http://bugs.digium.com/view.php?id=4 0x08106484 in dummy_start ()
No symbol table info available.
http://bugs.digium.com/view.php?id=5 0x00d3e3cc in start_thread () from
/lib/tls/libpthread.so.0
No symbol table info available.
http://bugs.digium.com/view.php?id=6 0x00c671ae in clone () from
/lib/tls/libc.so.6
No symbol table info available.
Issue History
Date Modified Username Field Change
======================================================================
06-20-08 02:44 tjardick Note Added: 0088997
======================================================================
More information about the asterisk-bugs
mailing list