[Home]

Summary:ASTERISK-10959: SIP RTP crash
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2007-12-03 15:57:49.000-0600Date Closed:2007-12-06 18:56:03.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20071204__bug11450.diff.txt
( 1) backtrace-1203.txt
Description:Unfortunately I don't have much information about the nature of the crash, but if you need anything in addition to the backtrace please find me in IRC. It looks to be something to do with SIP realtime and the database connection...?

Backtrace is attached to this bug.
Comments:By: Tilghman Lesher (tilghman) 2007-12-03 16:04:07.000-0600

Try the following gdb commands:

(gdb) p rtp->rtcp
(gdb) p *(rtp->rtcp)

By: Leif Madsen (lmadsen) 2007-12-04 11:47:55.000-0600

(gdb) p �p->rtcp
$1 = (struct ast_rtcp *) 0x0
(gdb) p *(rtp->rtcp)
(gdb) quit

By: Tilghman Lesher (tilghman) 2007-12-04 12:26:59.000-0600

Okay, patch uploaded.

By: Leif Madsen (lmadsen) 2007-12-05 10:47:40.000-0600

Spoke with the person who is experiencing the crash, and he applied the patch yesterday and so far no crashes! He's going to follow up with me tomorrow to verify everything is good, but he'd have experienced a crash by now most likely.

By: Digium Subversion (svnbot) 2007-12-06 18:49:49.000-0600

Repository: asterisk
Revision: 91637

U   branches/1.4/main/rtp.c

------------------------------------------------------------------------
r91637 | tilghman | 2007-12-06 18:49:48 -0600 (Thu, 06 Dec 2007) | 5 lines

At the end of a call, when we're reporting, RTCP may already be partially torn down, so check for NULL dereference
Reported by: blitzrage
Patch by: tilghman
(Closes issue ASTERISK-10959)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=91637

By: Digium Subversion (svnbot) 2007-12-06 18:56:03.000-0600

Repository: asterisk
Revision: 91638

_U  trunk/
U   trunk/main/rtp.c

------------------------------------------------------------------------
r91638 | tilghman | 2007-12-06 18:56:02 -0600 (Thu, 06 Dec 2007) | 13 lines

Merged revisions 91637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r91637 | tilghman | 2007-12-06 18:52:17 -0600 (Thu, 06 Dec 2007) | 5 lines

At the end of a call, when we're reporting, RTCP may already be partially torn down, so check for NULL dereference
Reported by: blitzrage
Patch by: tilghman
(Closes issue ASTERISK-10959)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=91638