[asterisk-bugs] [JIRA] (ASTERISK-28108) Deadlock in publish_msg (stasis.c)

Denis Lebedev (JIRA) noreply at issues.asterisk.org
Mon Oct 15 08:41:54 CDT 2018


Denis Lebedev created ASTERISK-28108:
----------------------------------------

             Summary: Deadlock in publish_msg (stasis.c)
                 Key: ASTERISK-28108
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28108
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: CDR/General
    Affects Versions: 15.4.0
         Environment: CentOS Linux 7 (Core)
Linux *** 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Asterisk versions: 15.4.0 
            Reporter: Denis Lebedev
         Attachments: gdb.all.bt.txt

We found a deadlock in {{publish_msg}} function, in particular thread {{Thread 26 (Thread 0x7fee8c505700 (LWP 14769))}} locked the topic {{stasis.c:845}} and stucked at condvar waiting {{stasis.c:816}}. Another 23 threads stucked at locking of the same topic {{stasis.c:845}}.
At the same time we found this entry in the log:
{noformat}
    taskprocessor.c:893: The 'subm:endpoint_topic_all-cached-00000008' task processor queue reached 500 scheduled tasks again.
{noformat}

GDB info of all threads attached.



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



More information about the asterisk-bugs mailing list