[asterisk-bugs] [JIRA] (ASTERISK-28643) Deadlock, possibly in Parking, maybe in combination with AMI status messages.

George Joseph (JIRA) noreply at issues.asterisk.org
Mon Dec 2 20:21:32 CST 2019


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

George Joseph updated ASTERISK-28643:
-------------------------------------

    Assignee: Steve Sether  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

Please use the command.  The resulting tarball is what we prefer since we all know how to deal with it.


> Deadlock, possibly in Parking, maybe in combination with AMI status messages.
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-28643
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28643
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/General
>    Affects Versions: 16.6.1
>         Environment: Centos 6.10
>            Reporter: Steve Sether
>            Assignee: Steve Sether
>            Severity: Critical
>         Attachments: core_show_locks-2019-11-14-crash1.txt, full-asterisk-crash.gz
>
>
> Asterisk creates a deadlock, and stops responding to any SIP messages when I park a call. No new incoming calls are accepted, no outgoing calls are accepted, etc.  Some initial investigation using gdb and the core file show this might indicate it's related to generating STATUS messages from the AMI.  This happened when only one or maybe two calls were on the system.  Looking through the lock file it looks like it's a simple deadlock between two threads, each of which holing locks the other needs.   One of which is in parking code.
> I was able to reproduce it initially a couple times, (and got some debug information out of it, including from a version where core show locks was compiled in).  For whatever reason, I can't seem to reproduce it again, even under the same conditions.



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



More information about the asterisk-bugs mailing list