[asterisk-bugs] [JIRA] (ASTERISK-28213) res_pjsip: Threads pile up needlessly when AOR is blocked

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Thu Jan 31 13:52:47 CST 2019


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

Kevin Harwell updated ASTERISK-28213:
-------------------------------------

    Attachment: ASTERISK-28213-followup.diff

[~rossbeer] I believe some locking needed to be added to the original patch to make it more consistent. Give the [^ASTERISK-28213-followup.diff] patch a try and see if that helps.

Note, the follow up patch depends on the first patch, so the first patch needs to be applied first and then the followup one.

> res_pjsip: Threads pile up needlessly when AOR is blocked
> ---------------------------------------------------------
>
>                 Key: ASTERISK-28213
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28213
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.24.0
>         Environment: CentOS 7.6
>            Reporter: Ross Beer
>            Assignee: Kevin Harwell
>            Severity: Minor
>              Labels: patch, pjsip
>         Attachments: ASTERISK-28213.diff, ASTERISK-28213-followup.diff
>
>
> A deadlock occurs on AOR removal when a transport has gone away, and a NOTIFY is being sent the endpoint. The AOR is blocked in mariadb and the second thread blocks on the first.
> The full backtrace has been sent to Geroge Joseph as it contains private information.



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



More information about the asterisk-bugs mailing list