[Home]

Summary:ASTERISK-17060: rtp.c memory leak
Reporter:lgfsantos (lgfsantos)Labels:
Date Opened:2010-12-03 08:54:50.000-0600Date Closed:2011-06-07 14:00:56
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/RTP
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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'
Comments:By: Leif Madsen (lmadsen) 2010-12-07 12:59:12.000-0600

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


By: Leif Madsen (lmadsen) 2011-01-18 10:09:45.000-0600

No response.