No subject
Sun Jul 19 19:54:31 CDT 2009
(dialog=0x378ef268, t=1272709274) at
asterisk/channels/chan_sip.c:20395
20395 ast_log(LOG_NOTICE, "Disconnecting
call '%s' for lack of RTP activity in %ld seconds\n",
(gdb) bt
https://issues.asterisk.org/view.php?id=0 0x2b233d07 in check_rtp_timeout
(dialog=0x378ef268, t=1272709274) at
asterisk/channels/chan_sip.c:20395
https://issues.asterisk.org/view.php?id=1 0x2b2340f5 in do_monitor (data=0x0)
at
asterisk/channels/chan_sip.c:20469
https://issues.asterisk.org/view.php?id=2 0x0816e142 in dummy_start
(data=0x294e96e8) at
asterisk/main/utils.c:861
https://issues.asterisk.org/view.php?id=3 0x282176ff in pthread_getprio () from
/lib/libthr.so.3
https://issues.asterisk.org/view.php?id=4 0x00000000 in ?? ()
(gdb) fr 0
https://issues.asterisk.org/view.php?id=0 0x2b233d07 in check_rtp_timeout
(dialog=0x378ef268, t=1272709274) at
asterisk/channels/chan_sip.c:20395
20395 ast_log(LOG_NOTICE, "Disconnecting
call '%s' for lack of RTP activity in %ld seconds\n",
(gdb) p dialog
$2 = (struct sip_pvt *) 0x378ef268
(gdb) p dialog->owner
$4 = (struct ast_channel *) 0x0
(gdb) p dialog->owner->name
Cannot access memory at address 0xc
======================================================================
----------------------------------------------------------------------
(0122186) svnbot (reporter) - 2010-05-19 14:25
https://issues.asterisk.org/view.php?id=17271#c122186
----------------------------------------------------------------------
Repository: asterisk
Revision: 264332
_U branches/1.6.2/
U branches/1.6.2/channels/chan_sip.c
------------------------------------------------------------------------
r264332 | dvossel | 2010-05-19 14:25:20 -0500 (Wed, 19 May 2010) | 20
lines
Merged revisions 264331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r264331 | dvossel | 2010-05-19 14:21:04 -0500 (Wed, 19 May 2010) | 13
lines
fixes crash in check_rtp_timeout
During deadlock avoidance the sip dialog pvt is locked and
unlocked. When this occurs we have no guarantee the pvt's owner
is still valid. We were trying to access the pvt's owner after
this without checking to see if it still existed first.
(closes issue https://issues.asterisk.org/view.php?id=17271)
Reported by: under
Patches:
check_rtp_timeout.diff uploaded by under (license 914)
Tested by: dvossel
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=264332
Issue History
Date Modified Username Field Change
======================================================================
2010-05-19 14:25 svnbot Checkin
2010-05-19 14:25 svnbot Note Added: 0122186
======================================================================
More information about the asterisk-bugs
mailing list