[asterisk-bugs] [JIRA] (ASTERISK-22952) res_pjsip_pubsub: crash when subscription_destructor is terminated from a non-PJSIP thread

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sun Dec 8 22:47:03 CST 2013


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

Matt Jordan updated ASTERISK-22952:
-----------------------------------

    Attachment: backtrace_8407.txt
    
> res_pjsip_pubsub: crash when subscription_destructor is terminated from a non-PJSIP thread
> ------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22952
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22952
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip, Resources/res_pjsip_pubsub
>    Affects Versions: 12.0.0-beta2
>            Reporter: Matt Jordan
>         Attachments: backtrace_8407.txt
>
>
> When Asterisk is shut down, the pbx core will destroy the existing hints. This can cause a call to destroy_hint, which trigggers subscription_destructor from an Asterisk thread. Because this isn't synchronized over to a PJSIP thread, PJSIP throws an assertion causing a crash.
> See attached backtrace.
> Note that this was caused by the pjsip/ami/show_subscriptions test, although it certainly doesn't happen on every execution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list