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

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Nov 11 08:48:15 CST 2020


George Joseph created ASTERISK-29155:
----------------------------------------

             Summary: 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: 18.0.1, 17.8.1, 16.14.1, 13.37.1
            Reporter: 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 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