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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Wed Oct 21 12:39:32 CDT 2015


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

Joshua Colp updated ASTERISK-25486:
-----------------------------------

    Reviewboard Link: https://gerrit.asterisk.org/1469 https://gerrit.asterisk.org/1470 https://gerrit.asterisk.org/1471

> 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
>
> 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