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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 11 00:20:55 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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:                     new
Asterisk Version:           1.4.26 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-28 01:58 CDT
Last Modified:              2009-08-11 00:20 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                                    
 
====================================================================== 

---------------------------------------------------------------------- 
 (0108884) slavon (reporter) - 2009-08-11 00:20
 https://issues.asterisk.org/view.php?id=15594#c108884 
---------------------------------------------------------------------- 
Ghm.... not posible... not have mutch CPU for this. Without valgrind
asterisk use about 60% cpu... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-11 00:20 slavon         Note Added: 0108884                          
======================================================================




More information about the asterisk-bugs mailing list