[asterisk-bugs] [JIRA] (ASTERISK-25668) res_pjsip: Deadlock in distributor
Mark Michelson (JIRA)
noreply at issues.asterisk.org
Thu Jan 7 15:41:33 CST 2016
Mark Michelson created ASTERISK-25668:
-----------------------------------------
Summary: 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
Reporter: Mark Michelson
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