[asterisk-bugs] [JIRA] (ASTERISK-24485) res_pjsip cannot be unloaded or shutdown
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Wed Nov 5 13:02:28 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell updated ASTERISK-24485:
-------------------------------------
Attachment: pjsip_unload-broken-r1.patch
Attached is my first attempt at shutting down pjsip. Note this patch expects [r4141|https://reviewboard.asterisk.org/r/4141/] to be applied for {{ast_module_shutdown_ref}}.
I've only used this in the testsuite on Asterisk 13. {{tests/manager/originate/}} works with only 1 ao2 object leaked - but this test does not actually use PJSIP. {{tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_user/}} causes a segfault at shutdown.
> res_pjsip cannot be unloaded or shutdown
> ----------------------------------------
>
> Key: ASTERISK-24485
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24485
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: SVN, 12.6.1, 13.0.0-beta3
> Reporter: Corey Farrell
> Attachments: backtrace_13384.txt, pjsip_unload-broken-r1.patch
>
>
> res_pjsip cannot be unloaded or shutdown, causes huge numbers of leaks to be reported by REF_DEBUG or valgrind. This makes it impossible to easily test for real memory leaks against chan_pjsip.
> The point of this bug is not to say that res_pjsip needs to be able to unload (though that would be nice). It needs to be able to shutdown and free all memory during a 'core stop gracefully'.
> This will become a blocker in the testsuite, once ASTERISK-24379 is committed all tests will fail if REF_DEBUG is enabled and res_pjsip is loaded.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list