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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Wed Oct 21 11:45:33 CDT 2015


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

Work on ASTERISK-25486 started by Joshua Colp.

> 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