[asterisk-bugs] [JIRA] (ASTERISK-25610) Asterisk crash during "sip reload"

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Dec 4 12:01:32 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228547#comment-228547 ] 

Richard Mudgett commented on ASTERISK-25610:
--------------------------------------------

Both crashes are the result of a reentrancy problem with the global bogus_peer being updated by sip_reload().  The bogus_peer needs to be protected using AO2_GLOBAL_OBJ_STATIC() and the associated accessor/manipulation functions.

> Asterisk crash during "sip reload"
> ----------------------------------
>
>                 Key: ASTERISK-25610
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25610
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.20.0
>            Reporter: Dudás József
>         Attachments: backtrace2.txt, backtrace.txt, gdb2.txt, gdb.txt
>
>
> Asterisk crashes sometimes when we issue sip reload.  (As seen from back trace, issue is at main/ccss.c, ast_cc_config_params_destroy's ast_free, which is called by destroy peer, which is called by sip reload.)
> I attached 2 different backtraces from 2 crashes, as I see both crash started with 'sip reload', but crashed for different reasons according back trace.



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



More information about the asterisk-bugs mailing list