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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 3 08:54:50 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
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-03 08:54 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'

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-03 08:54 lgfsantos      New Issue                                    
2010-12-03 08:54 lgfsantos      Asterisk Version          => 1.6.2.14        
2010-12-03 08:54 lgfsantos      Regression                => No              
2010-12-03 08:54 lgfsantos      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list