[asterisk-bugs] [Asterisk 0014656]: unfreed memory in Local channel

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 12 17:23:28 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14656 
====================================================================== 
Reported By:                caspy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14656
Category:                   Channels/chan_local
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-12 17:23 CDT
Last Modified:              2009-03-12 17:23 CDT
====================================================================== 
Summary:                    unfreed memory in Local channel
Description: 
*CLI> core show uptime
System uptime: 2 days, 1 hour, 55 minutes, 14 seconds
Last reload: 2 days, 1 hour, 55 minutes, 14 seconds

*CLI> core show channels
Channel              Location             State   Application(Data)
0 active channels
0 active calls
105093 calls processed

*CLI> local show channels
No local channels in use

*CLI> core show locks
[no locks showed]

*CLI> memory show summary chan_local.c
        63 bytes in 4 allocations in function 'local_call' of
'chan_local.c'
   2676284 bytes in 6253 allocations in function 'local_alloc' of
'chan_local.c'
2676347 bytes allocated in 6257 allocations

*CLI> memory show allocations chan_local.c
       428 bytes allocated in          local_alloc at line   615 of
chan_local.c
...
...
       428 bytes allocated in          local_alloc at line   615 of
chan_local.c
       428 bytes allocated in          local_alloc at line   615 of
chan_local.c
2677568 bytes allocated in 6256 allocations


what are these 6256 allocations? why mem not being freed after channel has
gone? Local channel used actively.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-12 17:23 caspy          New Issue                                    
2009-03-12 17:23 caspy          Asterisk Version          => 1.6.0.6         
2009-03-12 17:23 caspy          Regression                => No              
2009-03-12 17:23 caspy          SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list