[asterisk-bugs] [JIRA] (ASTERISK-22953) 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:04 CST 2013
Matt Jordan created ASTERISK-22953:
--------------------------------------
Summary: res_pjsip_pubsub: crash when subscription_destructor is terminated from a non-PJSIP thread
Key: ASTERISK-22953
URL: https://issues.asterisk.org/jira/browse/ASTERISK-22953
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
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