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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 10 19:30:00 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:                     feedback
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-10 19:30 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


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

---------------------------------------------------------------------- 
 (0101500) svnbot (reporter) - 2009-03-10 19:30
 http://bugs.digium.com/view.php?id=14636#c101500 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 181028

U   trunk/include/asterisk/astobj2.h
U   trunk/include/asterisk/hashtab.h
U   trunk/include/asterisk/heap.h
U   trunk/include/asterisk/strings.h
U   trunk/main/astobj2.c
U   trunk/main/hashtab.c
U   trunk/main/heap.c
U   trunk/main/strings.c

------------------------------------------------------------------------
r181028 | tilghman | 2009-03-10 19:29:59 -0500 (Tue, 10 Mar 2009) | 3
lines

Add MALLOC_DEBUG to various utility APIs, so that memory leaks can be
tracked back to their source.
(related to issue http://bugs.digium.com/view.php?id=14636)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-10 19:30 svnbot         Checkin                                      
2009-03-10 19:30 svnbot         Note Added: 0101500                          
======================================================================




More information about the asterisk-bugs mailing list