[asterisk-bugs] [JIRA] (ASTERISK-22126) Bridging: Memory leak for channels that hang up if they were in the bridging system

Kinsey Moore (JIRA) noreply at issues.asterisk.org
Wed Jul 31 11:09:03 CDT 2013


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

Kinsey Moore commented on ASTERISK-22126:
-----------------------------------------

That's what it sounds like, but from my limited testing with a single channel entering and exiting a bridge, the leak doesn't happen. Jonathan, can you still reproduce this leak (make sure to exit asterisk using "core stop gracefully")? 
                
> Bridging: Memory leak for channels that hang up if they were in the bridging system
> -----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22126
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22126
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Bridging
>    Affects Versions: SVN, 12
>            Reporter: Jonathan Rose
>            Assignee: Kinsey Moore
>
> What's leaking:
>        728 bytes in          7 allocations by ast_channel_get_manager_vars() line  7506 of channel.c
>        728 bytes in          7 allocations by ast_channel_get_vars() line  7480 of channel.
> 7506: ret = ao2_alloc(sizeof(*ret), varshead_dtor);
> 7480: ret = ao2_alloc(sizeof(*ret), varshead_dtor);
> Reproduction:
> If a channel ever enters the bridging system, these two allocations will be leaked when the channel dies.
> Easiest way to reproduce this is by calling bridgewait() on a channel.
> Another easy method to reproduce this is to just have one device do a simple call to another.

--
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