[asterisk-bugs] [JIRA] (ASTERISK-25486) res_pjsip: Fix deadlock when validating URIs

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Dec 15 12:13:51 CST 2015


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

Kevin Harwell updated ASTERISK-25486:
-------------------------------------

    Target Release Version/s: 13.7.0

> res_pjsip: Fix deadlock when validating URIs
> --------------------------------------------
>
>                 Key: ASTERISK-25486
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25486
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.6.0
>            Reporter: Joshua Colp
>            Assignee: Joshua Colp
>      Target Release: 13.7.0
>
>
> In a realtime based system with a limited number of threadpool threads it is possible for a deadlock to occur. This happens when permanent endpoint state is updated, which will cause database queries to be done. These queries may result in URI validation being done which is done synchronously using a PJSIP thread. If all PJSIP threads are in use processing traffic they themselves may be blocked waiting to get the permanent endpoint container lock when identifying an endpoint.



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



More information about the asterisk-bugs mailing list