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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Fri Sep 20 13:58:47 CDT 2019


Corey Farrell created ASTERISK-28546:
----------------------------------------

             Summary: 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
            Severity: Minor


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