[asterisk-bugs] [Asterisk 0015594]: Crash in autoservice (locking)

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 15 12:34:25 CDT 2009


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=15594 
====================================================================== 
Reported By:                slavon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15594
Category:                   Core/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.26 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-28 01:58 CDT
Last Modified:              2009-09-15 12:34 CDT
====================================================================== 
Summary:                    Crash in autoservice (locking)
Description: 
i be in console when it crash :) BT file attached. this i see in console
before crash:

[Jul 28 10:06:02] ERROR[13978]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:431
__ast_pthread_mutex_lock: autoservice.c line 263 (ast_autoservice_stop):
Error obtaining mutex: Invalid argument                                    
   
[Jul 28 10:06:02] ERROR[13978]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:506
__ast_pthread_mutex_unlock: autoservice.c line 289 (ast_autoservice_stop):
attempted unlock mutex '&(&aslist)->lock' without owning it!               
 
[Jul 28 10:06:02] ERROR[13978]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:508
__ast_pthread_mutex_unlock: (null) line 1 ((null)): '&(&aslist)->lock' was
locked here.                                                               
 
[Jul 28 10:06:02] ERROR[13978]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:531
__ast_pthread_mutex_unlock: autoservice.c line 289 (ast_autoservice_stop):
Error releasing mutex: Invalid argument                                    
 
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:431
__ast_pthread_mutex_lock: autoservice.c line 263 (ast_autoservice_stop):
Error obtaining mutex: Invalid argument                                    
   
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:506
__ast_pthread_mutex_unlock: autoservice.c line 289 (ast_autoservice_stop):
attempted unlock mutex '&(&aslist)->lock' without owning it!               
 
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:508
__ast_pthread_mutex_unlock: (null) line 2063597568 ((null)):
'&(&aslist)->lock' was locked here.                                        
               
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:531
__ast_pthread_mutex_unlock: autoservice.c line 289 (ast_autoservice_stop):
Error releasing mutex: Invalid argument                                    
 
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:431
__ast_pthread_mutex_lock: autoservice.c line 263 (ast_autoservice_stop):
Error obtaining mutex: Invalid argument                                    
   
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:506
__ast_pthread_mutex_unlock: autoservice.c line 289 (ast_autoservice_stop):
attempted unlock mutex '&(&aslist)->lock' without owning it!               
 
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:508
__ast_pthread_mutex_unlock: (null) line 101 ((null)): '&(&aslist)->lock'
was locked here.                                                           
   
[Jul 28 10:06:02] ERROR[12505]:
/usr/src/asterisk-1.4.26/include/asterisk/lock.h:531
__ast_pthread_mutex_unlock: autoservice.c line 289 (ast_autoservice_stop):
Error releasing mutex: Invalid argument                                    
 
====================================================================== 

---------------------------------------------------------------------- 
 (0110705) lmadsen (administrator) - 2009-09-15 12:34
 https://issues.asterisk.org/view.php?id=15594#c110705 
---------------------------------------------------------------------- 
Closing this issue for now as the reporter is unable to run this under
valgrind, but the developers can't move this issue forward without it.

If you're able to reproduce this in a lab scenario and capture the output
under valgrind, then please reopen this issue. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-15 12:34 lmadsen        Note Added: 0110705                          
2009-09-15 12:34 lmadsen        Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list