[asterisk-bugs] [JIRA] (ASTERISK-29155) app_queue: Deadlock between queues container and individual queues

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Nov 12 16:20:15 CST 2020


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

Friendly Automation closed ASTERISK-29155.
------------------------------------------

    Resolution: Fixed

> app_queue: Deadlock between queues container and individual queues
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-29155
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29155
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.37.1, 16.14.1, 17.8.1, 18.0.1
>            Reporter: George Joseph
>            Assignee: George Joseph
>
> Operations that update queues when shared_lastcall is set lock the queue in question, then have to lock the queues container to find the other queues with the same member.   On the other hand, __queues_show (which is called by both the CLI and AMI) does the reverse.  It locks the queues container, then iterates over the queues locking each in turn to display them.
> Deadlock.



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



More information about the asterisk-bugs mailing list