[asterisk-bugs] [Asterisk 0016478]: [patch] res_odbc.c - ast_odbc_find_table() missing AST_RWLIST_UNLOCK() in error path

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Dec 20 20:05:43 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16478 
====================================================================== 
Reported By:                nic_bellamy
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16478
Category:                   Resources/res_odbc
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.12 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 235810 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-20 20:05 CST
Last Modified:              2009-12-20 20:05 CST
====================================================================== 
Summary:                    [patch] res_odbc.c - ast_odbc_find_table() missing
AST_RWLIST_UNLOCK() in error path
Description: 
Asterisk deadlocked in ast_odbc_clear_cache() during module unload;
tracking down found this was due to a missing AST_RWLIST_UNLOCK() in an
error path in ast_odbc_find_table(), the odbc_tables list lock was never
released.

Only effects 1.6.1 branch.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-20 20:05 nic_bellamy    New Issue                                    
2009-12-20 20:05 nic_bellamy    Status                   new => assigned     
2009-12-20 20:05 nic_bellamy    Assigned To               => tilghman        
2009-12-20 20:05 nic_bellamy    Asterisk Version          => 1.6.1.12        
2009-12-20 20:05 nic_bellamy    Regression                => No              
2009-12-20 20:05 nic_bellamy    SVN Branch (only for SVN checkouts, not tarball
releases) => 1.6.1           
2009-12-20 20:05 nic_bellamy    SVN Revision (number only!) => 235810          
======================================================================




More information about the asterisk-bugs mailing list