[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
Mon May 2 05:28:17 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-05-02 05:28 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
====================================================================== 

---------------------------------------------------------------------- 
 (0134299) jacco (reporter) - 2011-05-02 05:28
 https://issues.asterisk.org/view.php?id=19203#c134299 
---------------------------------------------------------------------- 
more debug info from the last time the error accured; this time resulting
into a crash with coredump:
[May  2 12:18:06] ERROR[25725]: lock.c:407 __ast_pthread_mutex_unlock:
features.c line 5872 (bridge_exec): mutex 'current_dest_chan' freed more
times than we've locked!
[May  2 12:18:06] ERROR[25725]: lock.c:438 __ast_pthread_mutex_unlock:
features.c line 5872 (bridge_exec): Error releasing mutex: Operation not
permitted
[May  2 12:18:06] ERROR[25728]: lock.c:396 __ast_pthread_mutex_unlock:
features.c line 5872 (bridge_exec): attempted unlock mutex
'current_dest_chan' without owning it!
[May  2 12:18:06] ERROR[25728]: lock.c:398 __ast_pthread_mutex_unlock:
features.c line 5226 (do_bridge_masquerade): 'current_dest_chan' was locked
here.
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk(ast_bt_get_addresses+0x19) [0x8120d11]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0xb5) [0x811a417]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk(__ao2_lock+0x4a) [0x8087b64]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk [0x80fdfed]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk [0x8100cc7]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk(pbx_exec+0x1ea) [0x8138a2d]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/lib/asterisk/modules/app_exec.so [0xb685d0f3]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk(pbx_exec+0x1ea) [0x8138a2d]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk [0x8141b07]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk(ast_spawn_extension+0x53) [0x81434fd]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk [0x8143ea2]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk [0x8145935]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/usr/sbin/asterisk [0x819717d]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/lib/i686/cmov/libpthread.so.0 [0xb72ab4c0]
[May  2 12:18:06] ERROR[25728]:
/usr/src/asterisk-1.8.4-rc3/include/asterisk/lock.h:302 __dump_backtrace:
/lib/i686/cmov/libc.so.6(clone+0x5e) [0xb74db84e]
[May  2 12:18:06] ERROR[25728]: lock.c:438 __ast_pthread_mutex_unlock:
features.c line 5872 (bridge_exec): Error releasing mutex: Operation not
permitted 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-02 05:28 jacco          Note Added: 0134299                          
======================================================================




More information about the asterisk-bugs mailing list