[asterisk-bugs] [Asterisk 0015991]: [patch] Channel reference leak when calling through an optimized local channel

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 29 15:30:24 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15991 
====================================================================== 
Reported By:                mmichelson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15991
Category:                   Core/Channels
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 220903 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-29 15:29 CDT
Last Modified:              2009-09-29 15:30 CDT
====================================================================== 
Summary:                    [patch] Channel reference leak when calling through
an optimized local channel
Description: 
I discovered while working on the group CCSS branch that I was leaking a
lot of memory due to a datastore not being destroyed on the inbound channel
to Asterisk. Further investigation shows that the channel is unlinked from
the channel container but never has its destructor called.

The following dialplan is what I use to reproduce the issue:

[internal]

exten => 2000,hint,SIP/2000
exten => 2000,1,Dial(SIP/2000,10,Tt)
exten => 2000,n,Hangup()

exten => 667,1,Dial(Local/2000 at internal,5,tTkKg)
exten => 667,n,Hangup



More information about the asterisk-bugs mailing list