[asterisk-bugs] [JIRA] (ASTERISK-28302) ARI: "Error destroying mutex" when listing all ARI applications
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Feb 26 06:30:47 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246310#comment-246310 ]
Friendly Automation commented on ASTERISK-28302:
------------------------------------------------
Change 11036 merged by Friendly Automation:
res_ari_applications: Fix incorrect call to ao2_lock.
[https://gerrit.asterisk.org/11036|https://gerrit.asterisk.org/11036]
> 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
> Assignee: Joshua C. Colp
>
> 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