[asterisk-bugs] [JIRA] (ASTERISK-24731) res_pjsip_session cannot be unloaded
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Thu Mar 12 20:04:34 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225376#comment-225376 ]
Corey Farrell commented on ASTERISK-24731:
------------------------------------------
In case it will help anyone to know the sources, here's a list of the 27 backtraces I got.
Segfaults from {{unload_pjsip}}:
{noformat}
logs/channels/pjsip/basic_calls/two_parties/nominal/alice_initiated/bob_hangs_up/backtrace_9915.txt
logs/channels/pjsip/basic_calls/outgoing/nominal/auth/backtrace_7724.txt
logs/channels/pjsip/basic_calls/outgoing/nominal/echo/backtrace_14690.txt
logs/channels/pjsip/basic_calls/outgoing/nominal/nat/backtrace_10822.txt
logs/channels/pjsip/basic_calls/outgoing/off-nominal/bob_incompatible_codecs/backtrace_2804.txt
logs/channels/pjsip/endpoint_identify/backtrace_859.txt
logs/channels/pjsip/user_eq_phone/backtrace_1818.txt
logs/channels/pjsip/hold_inactive/backtrace_1655.txt
logs/channels/pjsip/call_pickup/backtrace_5239.txt
logs/channels/pjsip/transfers/blind_transfer/caller_refer_only/backtrace_13185.txt
logs/channels/pjsip/transfers/blind_transfer/caller_direct_media/backtrace_10342.txt
logs/channels/pjsip/transfers/blind_transfer/callee_direct_media/backtrace_15444.txt
logs/channels/pjsip/transfers/blind_transfer/callee_refer_only/backtrace_10715.txt
logs/channels/pjsip/accountcode/backtrace_3296.txt
logs/channels/pjsip/hold/backtrace_9193.txt
logs/channels/pjsip/sdp_offer_answer/attribute_passthrough/backtrace_11103.txt
logs/channels/pjsip/message/message_in_dialog/backtrace_12521.txt
logs/channels/pjsip/hold_ice/backtrace_1852.txt
logs/channels/pjsip/diversion/diversion_basic/backtrace_9554.txt
logs/channels/pjsip/diversion/diversion_request/backtrace_1883.txt
logs/channels/pjsip/diversion/diversion_caller_id/backtrace_7468.txt
logs/channels/pjsip/diversion/diversion_response/backtrace_9173.txt
{noformat}
Segfaults from {{pjsip_endpt_destroy(ast_pjsip_endpoint)}}:
{noformat}
logs/channels/pjsip/transfers/attended_transfer/nominal/callee_remote/backtrace_15608.txt
logs/channels/pjsip/transfers/attended_transfer/nominal/caller_local/backtrace_7937.txt
logs/channels/pjsip/transfers/attended_transfer/nominal/callee_local/backtrace_10844.txt
logs/channels/pjsip/transfers/blind_transfer/callee_with_hold/backtrace_15381.txt
logs/channels/pjsip/refer_send_to_vm/backtrace_9935.txt
{noformat}
> 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