[asterisk-bugs] [JIRA] (ASTERISK-24621) chan_sip: Crash caused by invalid reference to object in __sip_autodestruct

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Dec 16 09:09:29 CST 2014


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

Matt Jordan commented on ASTERISK-24621:
----------------------------------------

This crash looks to be caused by a reference count imbalance/error in {{chan_sip}}. Your {{sip.conf}} would be helpful in trying to reproduce this issue.

Please follow the instructions [1] to get a Reference debug log, along with a debug log leading up to the crash [2]. A backtrace from the same run should also be provided. That should show the reference count error along with what particular object went bad.

[1] https://wiki.asterisk.org/wiki/display/AST/Reference+Count+Debugging
[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

> chan_sip: Crash caused by invalid reference to object in  __sip_autodestruct
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-24621
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24621
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.13.0
>         Environment: CentOS 7
>            Reporter: JoshE
>            Severity: Critical
>         Attachments: schedulercrash.txt
>
>
> Seen another variant of a scheduler-related crash on Asterisk 11.13.
> #0  0x000000000044ba74 in INTERNAL_OBJ (user_data=0x4542) at astobj2.c:153
>         p = 0x4522
>         __PRETTY_FUNCTION__ = "INTERNAL_OBJ"
> #1  0x000000000044c110 in internal_ao2_ref (user_data=0x4542, delta=1, file=0x63da74 "astobj2.c", line=548, func=0x63dd31 <__FUNCTION__.8060> "__ao2_ref") at astobj2.c:430
>         obj = 0x7fbbca726638
>         obj_mutex = 0x7fbc5d035cf4
>         obj_rwlock = 0x7fbc5d04f7c0 <__PRETTY_FUNCTION__.34031>
>         current_value = 8998
>         ret = 0
>         __PRETTY_FUNCTION__ = "internal_ao2_ref"



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



More information about the asterisk-bugs mailing list