[asterisk-bugs] [JIRA] (ASTERISK-23588) ARI: Crash when unsubscribing from bridge
Kinsey Moore (JIRA)
noreply at issues.asterisk.org
Wed Apr 16 14:16:18 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kinsey Moore closed ASTERISK-23588.
-----------------------------------
Resolution: Fixed
As per the review, this is being fixed with a usage note on the stasis_app_get_bridge function.
> ARI: Crash when unsubscribing from bridge
> -----------------------------------------
>
> Key: ASTERISK-23588
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23588
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_ari
> Affects Versions: 12.1.1
> Environment: Asterisk Test Suite
> Reporter: Matt Jordan
> Assignee: Kinsey Moore
> Attachments: backtrace_3878.txt, full.txt
>
>
> This was caught by the Asterisk Test Suite during the bridges/blind_transfer test:
> https://bamboo.asterisk.org/bamboo/browse/AST-ATSARI-90
> When ARI attempts to unsubscribe from the {{last_bridge}}, it crashes as it has a stale pointer to the bridge.
> This is something of a fundamental problem with how we're managing subscriptions to things that ARI doesn't own. The bridge, in this case, can get destroyed at any point: that destruction message *must* tear down the subscription at the same time. A control structure should almost certainly not have a reference to any object that it doesn't own.
> Backtrace is attached to this issue.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list