[asterisk-bugs] [JIRA] (ASTERISK-28546) MWI Leaks

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Sep 20 14:17:47 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-28546:
-------------------------------------

    Assignee: Corey Farrell

> MWI Leaks
> ---------
>
>                 Key: ASTERISK-28546
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28546
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail, Core/Stasis
>    Affects Versions: GIT, 17.0.0
>            Reporter: Corey Farrell
>            Assignee: Corey Farrell
>            Severity: Minor
>              Labels: patch
>         Attachments: ref-debug-mwi.patch
>
>
> This likely effects more than just app_voicemail but app_voicemail is the source of a leak I've isolated.  Running the testsuite with REF_DEBUG enabled and some additional patches I've determined that all ao2 leaks in _tests/apps/voicemail/polling/poll_same_mailbox_ are caused by the call to _ast_publish_mwi_state_channel_ at line 8142 of app_voicemail.c.  Ultimately this causes an eid to be added to the stasis_state, that eid is never removed so the stasis_state and everything associated to it leaks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list