[asterisk-bugs] [JIRA] (ASTERISK-28302) ARI: "Error destroying mutex" when listing all ARI applications

Stefan Repke (JIRA) noreply at issues.asterisk.org
Mon Feb 25 05:12:47 CST 2019


Stefan Repke created ASTERISK-28302:
---------------------------------------

             Summary: ARI: "Error destroying mutex" when listing all ARI applications
                 Key: ASTERISK-28302
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28302
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_ari_applications
    Affects Versions: 16.1.1
         Environment: os: Linux
kernel: 3.16.0-6-amd64
machine: x86_64
            Reporter: Stefan Repke


Given Asterisk with ARI enabled.
Each time the list of all applications ( HTTP GET /ari/applications ) is requested, the following errors occur in the log and CLI:
{noformat}
[2019-02-25 11:17:45] ERROR[27273]: lock.c:230 __ast_pthread_mutex_destroy: astobj2.c line 629 (__ao2_ref): Error destroying mutex &obj_mutex->mutex.lock: Device or resource busy
[2019-02-25 11:18:00] ERROR[27273]: utils.c:702 lock_info_destroy: Thread 'handle_tcptls_connection started at [  309] tcptls.c ast_tcptls_server_root()' still has a lock! - 'apps' (0x7faef80039e0) from 'ast_ari_applications_list' in ari/resource_applications.c:58!
{noformat}

The second error always occurs 15 seconds after the request.

BTW, the HTTP/ARI response contains the correct information.




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



More information about the asterisk-bugs mailing list