[asterisk-bugs] [JIRA] (ASTERISK-22833) channel: Channel reference leak

Walter Doekes (JIRA) noreply at issues.asterisk.org
Tue Dec 17 04:11:03 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213028#comment-213028 ] 

Walter Doekes edited comment on ASTERISK-22833 at 12/17/13 4:09 AM:
--------------------------------------------------------------------

-But nevertheless, you are right.-

-It uses 4 extra fds for a call and it releases only 2.-

-Remove the Answer() and the leak is gone.-

I spoke too soon. I was looking at objects that were properly destroyed after a while anyway.
                
      was (Author: wdoekes):
    But nevertheless, you are right.

{noformat}
exten => 127,1,NoOp
same => n,Answer()
same => n,Set(count=0)
same => n(next),Set(count=$[${count}+1])
same => n,SayNumber(${count})
same => n,Wait(2)
same => n,Goto(next)
{noformat}

It uses 4 extra fds for a call and it releases only 2.

Remove the Answer() and the leak is gone.
                  
> channel: Channel reference leak
> -------------------------------
>
>                 Key: ASTERISK-22833
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22833
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels
>    Affects Versions: 11.5.1, 11.6.0
>         Environment: centos
>            Reporter: Mitch Rodrigues
>            Assignee: Rusty Newton
>            Severity: Critical
>
> fd pipes linger from channel internals after call has been terminated. Seems to to also leave around alot of anon_inodes when doing lsof 
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list