[asterisk-bugs] [Asterisk 0016554]: [patch] Huge memory leak

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 20 08:14:54 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16554 
====================================================================== 
Reported By:                mav3rick
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   16554
Category:                   Applications/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.4.30
Asterisk Version:           1.4.28 
JIRA:                       SWP-643 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-06 03:16 CST
Last Modified:              2010-01-20 08:14 CST
====================================================================== 
Summary:                    [patch] Huge memory leak
Description: 
I detected a memory leak on all my Asterisk servers. 

After 1 day, Asterisk is using 100+ meg.

I recompiled with MALLOC_DEBUG on DONT_OPTIMIZE. 
See dump of memory summary and memory allocations.

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

---------------------------------------------------------------------- 
 (0116983) svnbot (reporter) - 2010-01-20 08:14
 https://issues.asterisk.org/view.php?id=16554#c116983 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 241544

U   branches/1.4/pbx/pbx_spool.c

------------------------------------------------------------------------
r241544 | seanbright | 2010-01-20 08:12:45 -0600 (Wed, 20 Jan 2010) | 9
lines

Modify fix for issue 16554 to be more inline with what is already in
trunk.

I should have taken a closer look at trunk/1.6.x, as this bug has already
been
fixed in a much more simple manner, by just settings o->vars to NULL after
the
ast_pbx_outgoing_* calls.

(issue https://issues.asterisk.org/view.php?id=16554)
Reported by: mav3rick

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=241544 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-20 08:14 svnbot         Note Added: 0116983                          
======================================================================




More information about the asterisk-bugs mailing list