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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 20 09:25:54 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13257 
====================================================================== 
Reported By:                travishein
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13257
Category:                   Channels/chan_sip/General
Reproducibility:            unable to reproduce
Severity:                   minor
Priority:                   normal
Status:                     feedback
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 09:25 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
====================================================================== 

---------------------------------------------------------------------- 
 (0091578) putnopvut (administrator) - 2008-08-20 09:25
 http://bugs.digium.com/view.php?id=13257#c91578 
---------------------------------------------------------------------- 
The backtrace shows that there was an attempted dereference of a NULL
pointer. The problem may be as easy to fix as making sure that the frame
read from sip_rtp_read is non-NULL before continuing. I'll take a closer
look at the semantics and give more feedback soon. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-20 09:25 putnopvut      Note Added: 0091578                          
======================================================================




More information about the asterisk-bugs mailing list