[asterisk-bugs] [Asterisk 0019203]: mutex 'current_dest_chan' freed more times than we've locked! on bridge() from dialplan

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 10 02:51:30 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19203 
====================================================================== 
Reported By:                jacco
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19203
Category:                   Applications/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.4-rc3 
JIRA:                       SWP-3401 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-29 09:00 CDT
Last Modified:              2011-05-10 02:51 CDT
====================================================================== 
Summary:                    mutex 'current_dest_chan' freed more times than
we've locked! on bridge() from dialplan
Description: 
Sometime when bridging I get this error:
[Apr 29 15:36:00] ERROR[5486]: lock.c:407 __ast_pthread_mutex_unlock:
features.c line 5872 (bridge_exec): mutex 'current_dest_chan' freed more
times than we've locked!
[Apr 29 15:36:00] ERROR[5486]: lock.c:438 __ast_pthread_mutex_unlock:
features.c line 5872 (bridge_exec): Error releasing mutex: Operation not
permitted

normaly bridging goes okay or it tells me the channel does not exist
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0019201 Asterisk crashes with coredump
====================================================================== 

---------------------------------------------------------------------- 
 (0134705) jacco (reporter) - 2011-05-10 02:51
 https://issues.asterisk.org/view.php?id=19203#c134705 
---------------------------------------------------------------------- 
this line is features.c is generating the error:
ast_channel_unlock(current_dest_chan);

if I add this line above it:
ast_channel_lock(current_dest_chan);

the error nolonger shows 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-10 02:51 jacco          Note Added: 0134705                          
======================================================================




More information about the asterisk-bugs mailing list