[asterisk-bugs] [JIRA] (ASTERISK-29893) deadlock during bridge
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Tue Feb 1 14:31:06 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp closed ASTERISK-29893.
-------------------------------------
Resolution: Duplicate
This is a duplicate of ASTERISK-29821 which has already been fixed, release candidates will be coming soon.
> deadlock during bridge
> ----------------------
>
> Key: ASTERISK-29893
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29893
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Bridges/bridge_builtin_features
> Affects Versions: 18.9.0
> Reporter: Pascal Cadotte Michaud
>
> With Asterisk 18.9.0 we have a dead lock that happened twice in 2 days.
> Given an incoming call from the operator
> Given a phone with a call forward
> When Dial the user's phone
> Then there's a deadlock
> After some debugging I've found that 2 threads were waiting in bridge_channel_internal_join. Each of the has a bridge_channel variable with a chan and it's peer referencing each other.
> After locking it's bridge and it ->chan both thread try to lock the peer which is already locked by the other thread.
> I think this bug has been introduced here https://gerrit.asterisk.org/c/asterisk/+/17543/2/main/bridge_channel.c#2861
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list