[asterisk-bugs] [Asterisk 0018098]: Many "rtp.c: RTP Read too short" errors followed by memory exhaustions and crash

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 12 11:35:51 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18098 
====================================================================== 
Reported By:                mhampton
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18098
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.14-rc1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-05 18:48 CDT
Last Modified:              2010-10-12 11:35 CDT
====================================================================== 
Summary:                    Many "rtp.c: RTP Read too short" errors followed by
memory exhaustions and crash
Description: 
Occasionally a channel will get numerous rtp.c: RTP Read too short errors
with seemingly random numbers.  When this happens, I often get a memory
exhaustion error followed by a crash.  This has been happening in both
1.6.2.13 and 1.6.2.14-rc1.  It has happened several times over the past
week.
====================================================================== 

---------------------------------------------------------------------- 
 (0127883) mhampton (reporter) - 2010-10-12 11:35
 https://issues.asterisk.org/view.php?id=18098#c127883 
---------------------------------------------------------------------- 
I'm sorry; my system is in production and this behavior only manifests
under heavy call volume (ie > 250 calls in progress).  I didn't have it
setup to dump a core file, and I'm reluctant to experiment with a
production system any more than I already have.

Yes I read the bug report guidelines, however I thought it best to report
the bug with whatever limited information I had available so that at least
you would be aware there's an issue.  I don't expect that you will be able
to provide a fix for me based on the limited information I have provided.

As a workaround, I modified rtp.c to drop calls when "RTP Read too short"
is encountered.  This has resolved the crashing, but at the price of
occasional dropped calls.  Better 1 - 3 dropped calls a day than 250
dropped calls when Asterisk runs out of memory and crashes. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-12 11:35 mhampton       Note Added: 0127883                          
======================================================================




More information about the asterisk-bugs mailing list