[Home]

Summary:ASTERISK-11647: Double writelock in ast_wrlock_contexts()
Reporter:Yuri (ys)Labels:
Date Opened:2008-03-15 09:28:28Date Closed:2008-03-15 11:17:56
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) pbx.c.diff
Description:in lock context list function ast_wrlock_contexts() at file "main/pbx.c
ast_rwlock_wrlock(&conlock); called twice. (deadlock?)
Comments:By: Digium Subversion (svnbot) 2008-03-15 11:17:03

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 ASTERISK-11647)
Reported by: ys
Patches:
     pbx.c.diff uploaded by ys (license 281)

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

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

By: Digium Subversion (svnbot) 2008-03-15 11:17:56

Repository: asterisk
Revision: 108895

_U  branches/1.6.0/

------------------------------------------------------------------------
r108895 | russell | 2008-03-15 11:17:52 -0500 (Sat, 15 Mar 2008) | 15 lines

Blocked revisions 108894 via svnmerge

........
r108894 | russell | 2008-03-15 11:21:04 -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 ASTERISK-11647)
Reported by: ys
Patches:
     pbx.c.diff uploaded by ys (license 281)

........

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

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