[asterisk-bugs] [JIRA] (ASTERISK-24731) res_pjsip_session cannot be unloaded

Corey Farrell (JIRA) noreply at issues.asterisk.org
Thu Mar 12 10:10:34 CDT 2015


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

Corey Farrell updated ASTERISK-24731:
-------------------------------------

    Attachment: backtrace_7937.txt

Just completed a run of tests/channels/pjsip with the patch.  Out of 148 tests I got 67 total failures.  64 of those failures had reference leaks, and 27 had backtraces.

I've just attached a second (different) backtrace caused by my patch.

> res_pjsip_session cannot be unloaded
> ------------------------------------
>
>                 Key: ASTERISK-24731
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24731
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_session
>    Affects Versions: SVN, 13.1.0
>            Reporter: Corey Farrell
>         Attachments: backtrace_3296.txt, backtrace_7937.txt, chan_pjsip-ref-fixes.patch
>
>
> res_pjsip_session cannot be unloaded or shutdown, causing huge numbers of leaks to be reported by REF_DEBUG or valgrind. This makes it impossible to do automated checks for memory leaks against chan_pjsip.  All testsuite tests to fail if REF_DEBUG is enabled and res_pjsip_session is loaded.
> This is follow up to ASTERISK-24485.  As with that bug it's important for the module to clean itself up on graceful shutdown, less important to allow users to unload the module without shutdown.



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



More information about the asterisk-bugs mailing list