[asterisk-bugs] [JIRA] (ASTERISK-25668) res_pjsip: Deadlock in distributor

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Mar 22 13:42:07 CDT 2016


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

Asterisk Team updated ASTERISK-25668:
-------------------------------------

    Target Release Version/s: 13.8.0

> res_pjsip: Deadlock in distributor
> ----------------------------------
>
>                 Key: ASTERISK-25668
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25668
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.6.0
>            Reporter: Mark Michelson
>      Target Release: 13.8.0
>
>
> There is a deadlock in the distributor in res_pjsip. When receiving a response to a request that ends a dialog, it will first lock the dialog, then lock the transaction in order to try to find the proper serializer on which to put the response. However, this is at odds with what goes on under the hood in PJSIP when handling the response. Therefore, if two responses are received in rapid succession, it's possible for the first response, which is being handled by PJSIP, to deadlock with the distributor handling the second response.



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



More information about the asterisk-bugs mailing list