[asterisk-bugs] [Asterisk 0013257]: crash if hangup during sip_read

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 20 10:29:08 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13257 
====================================================================== 
Reported By:                travishein
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13257
Category:                   Channels/chan_sip/General
Reproducibility:            unable to reproduce
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.20 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-07 21:26 CDT
Last Modified:              2008-08-20 10:29 CDT
====================================================================== 
Summary:                    crash if hangup during sip_read
Description: 
This one might be similar to http://bugs.digium.com/view.php?id=13256, although
this time it appears to crash
from within the sip_read. It is almost as if the application that was
invoked from the realtime_exec entered a state of waiting for an input from
the user, but the user hung up during this waiting period, so when the
system starts looking for the response after the wait period, in this case
the channel had closed,

At least that's my view from the outside impression, the last line printed
to teh console was:

WARNING[6784]: rtp.c:1140 ast_rtp_read: RTP Read error: Socket operation
on non-socket.  Hanging up.

currently on 1.4.20rc2
====================================================================== 

---------------------------------------------------------------------- 
 (0091583) svnbot (reporter) - 2008-08-20 10:29
 http://bugs.digium.com/view.php?id=13257#c91583 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 139015

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r139015 | mmichelson | 2008-08-20 10:29:07 -0500 (Wed, 20 Aug 2008) | 6
lines

sip_read should properly handle a NULL return from sip_rtp_read.

(closes issue http://bugs.digium.com/view.php?id=13257)
Reported by: travishein


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-20 10:29 svnbot         Checkin                                      
2008-08-20 10:29 svnbot         Note Added: 0091583                          
======================================================================




More information about the asterisk-bugs mailing list