[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
Fri Apr 29 09:07:13 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:                     new
Asterisk Version:           1.8.4-rc3 
JIRA:                        
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-04-29 09:07 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
====================================================================== 

---------------------------------------------------------------------- 
 (0134268) jacco (reporter) - 2011-04-29 09:07
 https://issues.asterisk.org/view.php?id=19203#c134268 
---------------------------------------------------------------------- 
use this dialplan to reproduce:
[debug]
exten = _X.,1,answer
exten = _X.,n,macro(DoBridging,${CHANNEL})
exten = _X.,n(waiting),wait(15)
exten = _X.,n,goto(waiting)

[macro-DoBridging]
exten = s,1,Set(DB(temp/bridgechannel)=${ARG1})
exten = s,n,Originate(local/100 at DoBridging,exten,dummy,100)

[DoBridging]
exten = 100,1,answer()
exten = 100,n,Bridge(${DB(temp/bridgechannel)})

[dummy]
exten = _X.,1,answer()
exten = _X.,n,set(TIMEOUT(absolute)=0)
exten = _X.,n,wait(1000000)
exten = _X.,n,hangup() 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-29 09:07 jacco          Note Added: 0134268                          
======================================================================




More information about the asterisk-bugs mailing list