[asterisk-bugs] [JIRA] (ASTERISK-28643) Deadlock, possibly in Parking, maybe in combination with AMI status messages.
Steve Sether (JIRA)
noreply at issues.asterisk.org
Mon Dec 2 14:44:31 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Sether updated ASTERISK-28643:
------------------------------------
Description:
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, 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.
was:
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.
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.
> 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
> 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, 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