[asterisk-bugs] [Asterisk 0015400]: /include/asterisk/lock.h:531 __ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread): Error releasing mutex: O

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 29 10:04:40 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15400 
====================================================================== 
Reported By:                aragon
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15400
Category:                   Applications/app_mixmonitor
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 202945 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-25 09:27 CDT
Last Modified:              2009-06-29 10:04 CDT
====================================================================== 
Summary:                    /include/asterisk/lock.h:531
__ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread): Error
releasing mutex: O
Description: 
When recording any incoming call with mixmonitor these messages slam the
CLI
The call is recorded properly for playback but this looks like bad
locking...

Jun 22 13:10:03] ERROR[31668]:
/dar/build/asterisk-1.4.26/include/asterisk/lock.h:514
__ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread):
mutex '&mixmonitor->mixmonitor_ds->lock' freed more times than we've
locked!
[Jun 22 13:10:03] ERROR[31668]:
/dar/build/asterisk-1.4.26/include/asterisk/lock.h:531
__ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread):
Error releasing mutex: Operation not permitted
[Jun 22 13:10:03] ERROR[31668]:
/dar/build/asterisk-1.4.26/include/asterisk/lock.h:514
__ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread):
mutex '&mixmonitor->mixmonitor_ds->lock' freed more times than we've
locked!
[Jun 22 13:10:03] ERROR[31668]:
/dar/build/asterisk-1.4.26/include/asterisk/lock.h:531
__ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread):
Error releasing mutex: Operation not permitted
[Jun 22 13:10:03] ERROR[31668]:
/dar/build/asterisk-1.4.26/include/asterisk/lock.h:514
__ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread):
mutex '&mixmonitor->mixmonitor_ds->lock' freed more times than we've
locked!
[Jun 22 13:10:03] ERROR[31668]:
/dar/build/asterisk-1.4.26/include/asterisk/lock.h:531
__ast_pthread_mutex_unlock: app_mixmonitor.c line 277 (mixmonitor_thread):
Error releasing mutex: Operation not permitted
====================================================================== 

---------------------------------------------------------------------- 
 (0107120) svnbot (reporter) - 2009-06-29 10:04
 https://issues.asterisk.org/view.php?id=15400#c107120 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 204013

_U  trunk/

------------------------------------------------------------------------
r204013 | mmichelson | 2009-06-29 10:04:39 -0500 (Mon, 29 Jun 2009) | 11
lines

Blocked revisions 204012 via svnmerge

........
  r204012 | mmichelson | 2009-06-29 10:04:17 -0500 (Mon, 29 Jun 2009) | 6
lines
  
  Place unlock of mutex in an else block so that it does not get unlocked
twice.
  
  (closes issue https://issues.asterisk.org/view.php?id=15400)
  Reported by: aragon
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=204013 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-29 10:04 svnbot         Checkin                                      
2009-06-29 10:04 svnbot         Note Added: 0107120                          
======================================================================




More information about the asterisk-bugs mailing list