[asterisk-bugs] [Asterisk 0012689]: Posible deadlock: rwlock can't be recursively locked (writelocked)

noreply at bugs.digium.com noreply at bugs.digium.com
Tue May 20 08:52:07 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12689 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12689
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 117261 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-20-2008 08:52 CDT
Last Modified:              05-20-2008 08:52 CDT
====================================================================== 
Summary:                    Posible deadlock: rwlock can't be recursively locked
(writelocked)
Description: 
I found, that some thread libs, block thread if one rwlock are locked
twice. But some libs have "Resource deadlock avoided" decision.

This situation present if called __ast_context_destroy() function
(main/pbc.c).
In this function, context is locked and called
ast_context_remove_extension2() function, there context is locked again.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-20-08 08:52  ys             Asterisk Version          => SVN             
05-20-08 08:52  ys             SVN Branch (only for SVN checkou =>  trunk       
  
05-20-08 08:52  ys             SVN Revision (number only!) => 117261          
======================================================================




More information about the asterisk-bugs mailing list