[asterisk-bugs] [JIRA] (ASTERISK-24512) asterisk -rx "module reload" + flag DEBUG_THREADS causes a deadlock

Mikael Fredin (JIRA) noreply at issues.asterisk.org
Mon Nov 10 10:12:29 CST 2014


Mikael Fredin created ASTERISK-24512:
----------------------------------------

             Summary: asterisk -rx "module reload" + flag DEBUG_THREADS causes a deadlock
                 Key: ASTERISK-24512
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24512
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Configuration
    Affects Versions: 1.8.31.1, 1.8.27.0
         Environment: CentOS release 6.5
            Reporter: Mikael Fredin


When using "DEBUG THREADS" in compiler flags, to be able to provide information for a deadlock issue, the asterisk -rx "module reload" command stops working after a while with the message:
VERBOSE[34579] loader.c: The previous reload command didn't finish yet

I am using res_config_mysql for realtime configuration as well, with 50000 rows or so, if that matters. Without the debugging it's very quick to load , and I cannot reproduce the error. With the debugging it takes a lot longer plus it takes just 5-10 reloads to reproduce the issue above.



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



More information about the asterisk-bugs mailing list