[asterisk-bugs] [Asterisk 0012219]: Double writelock in ast_wrlock_contexts()

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Mar 15 11:17:07 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12219 
====================================================================== 
Reported By:                ys
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12219
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 108893 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-15-2008 09:28 CDT
Last Modified:              03-15-2008 11:17 CDT
====================================================================== 
Summary:                    Double writelock in ast_wrlock_contexts()
Description: 
in lock context list function ast_wrlock_contexts() at file "main/pbx.c
ast_rwlock_wrlock(&conlock); called twice. (deadlock?)
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 03-15-08 11:17  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 108894

U   trunk/main/pbx.c

------------------------------------------------------------------------
r108894 | russell | 2008-03-15 11:16:56 -0500 (Sat, 15 Mar 2008) | 8 lines

Remove a double write lock of the contexts lock in ast_wrlock_contexts().
How did this ever work?

(closes issue http://bugs.digium.com/view.php?id=12219)
Reported by: ys
Patches: 
      pbx.c.diff uploaded by ys (license 281)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-15-08 11:17  svnbot         Checkin                                      
03-15-08 11:17  svnbot         Note Added: 0084012                          
03-15-08 11:17  svnbot         Status                   new => assigned     
03-15-08 11:17  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list