[asterisk-bugs] [Asterisk 0012477]: Deadlock on reload asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 18 11:06:23 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12477 
====================================================================== 
Reported By:                IgorG
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12477
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 114246 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-18-2008 10:23 CDT
Last Modified:              04-18-2008 11:06 CDT
====================================================================== 
Summary:                    Deadlock on reload asterisk
Description: 
Asterisk locks in some situation with following error messages (core show
locks attached):

[Apr 18 22:25:06] ERROR[17805]:
/usr/src/voip/asterisk-trunk/projects/asterisk/trunk.patched-sip_noti:374
__ast_pthread_mutex_lock: res_config_ldap.c line 1358 (reload): Deadlock?
waited 140 sec for mutex '&ldap_lock'?
[Apr 18 22:25:06] ERROR[17805]:
/usr/src/voip/asterisk-trunk/projects/asterisk/trunk.patched-sip_noti:378
__ast_pthread_mutex_lock: res_config_ldap.c line 1358 (reload):
'&ldap_lock' was locked here.

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 04-18-08 11:06  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 114254

U   trunk/res/res_config_ldap.c

------------------------------------------------------------------------
r114254 | file | 2008-04-18 11:06:22 -0500 (Fri, 18 Apr 2008) | 4 lines

If the parsing of the config file fails make sure we unlock ldap_lock.
(closes issue http://bugs.digium.com/view.php?id=12477)
Reported by: IgorG

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-08 11:06  svnbot         Checkin                                      
04-18-08 11:06  svnbot         Note Added: 0085695                          
04-18-08 11:06  svnbot         Status                   new => assigned     
04-18-08 11:06  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list