[asterisk-bugs] [Asterisk 0018417]: rtp.c memory leak

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 7 12:59:12 CST 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18417 
====================================================================== 
Reported By:                lgfsantos
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18417
Category:                   Core/RTP
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.14 
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-12-03 08:54 CST
Last Modified:              2010-12-07 12:59 CST
====================================================================== 
Summary:                    rtp.c memory leak
Description: 
I cross-compiled, to power-pc, the asterisk-1.6.2.10 and applied some
patches. The patches is about T38 memory leak, chan_sip.c memory leak. I
also unload the module chan_iax2.so which was causing memory leak. I'm
simulating an environment with SIPP with 250 calls, rate of 25 calls per
second and 24 calls using conference. After apply these patches, below is
the results:

13041120 bytes in 2152 allocations in file 'rtp.c'
13065360 bytes in 2156 allocations in file 'rtp.c'
13125960 bytes in 2166 allocations in file 'rtp.c'

The same things are happening to chan_sip.c:
4186007 bytes in 12319 allocations in file 'chan_sip.c'
4191217 bytes in 12339 allocations in file 'chan_sip.c'
4205320 bytes in 12411 allocations in file 'chan_sip.c'

====================================================================== 

---------------------------------------------------------------------- 
 (0129416) lmadsen (administrator) - 2010-12-07 12:59
 https://issues.asterisk.org/view.php?id=18417#c129416 
---------------------------------------------------------------------- 
You're going to need to supply much more information than you have. The
information you've supplied won't get us anywhere.

Please supply 'core show locks', a backtrace, and ideally valgrind output
after your testing. More information here:

https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
https://wiki.asterisk.org/wiki/display/AST/Valgrind
 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-07 12:59 lmadsen        Note Added: 0129416                          
2010-12-07 12:59 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list