[asterisk-bugs] [Asterisk 0014636]: memory leak in "strings.c"

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 18 14:25:53 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14636 
====================================================================== 
Reported By:                pj
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14636
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 180373 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-10 05:59 CDT
Last Modified:              2009-03-18 14:25 CDT
====================================================================== 
Summary:                    memory leak in "strings.c"
Description: 
memory allocations for strings.c continuously growing, 
after 4 days uptime and small amout of call processed,
my asterisk eats 120MB of RAM.

mmlog is empty

*CLI> core show calls uptime
0 active calls
320 calls processed
System uptime: 4 days, 15 hours, 32 minutes, 58 seconds


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014680 unfreed memory in try_calling
====================================================================== 

---------------------------------------------------------------------- 
 (0101948) pj (reporter) - 2009-03-18 14:25
 http://bugs.digium.com/view.php?id=14636#c101948 
---------------------------------------------------------------------- 
it failed to apply debug patch from issue
http://bugs.digium.com/view.php?id=14680,
tried patching asterisk svn trunk rev.182959

patching file include/asterisk/astobj2.h
Hunk http://bugs.digium.com/view.php?id=1 FAILED at 162.
Hunk http://bugs.digium.com/view.php?id=2 FAILED at 373.
Hunk http://bugs.digium.com/view.php?id=3 FAILED at 413.
3 out of 3 hunks FAILED -- saving rejects to file
include/asterisk/astobj2.h.rej
patching file main/astobj2.c
Hunk http://bugs.digium.com/view.php?id=1 FAILED at 245.
Hunk http://bugs.digium.com/view.php?id=2 succeeded at 315 (offset 58 lines).
Hunk http://bugs.digium.com/view.php?id=3 FAILED at 398.
Hunk http://bugs.digium.com/view.php?id=4 FAILED at 453.
Hunk http://bugs.digium.com/view.php?id=5 succeeded at 519 (offset 107 lines).
3 out of 5 hunks FAILED -- saving rejects to file main/astobj2.c.rej 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-18 14:25 pj             Note Added: 0101948                          
======================================================================




More information about the asterisk-bugs mailing list