[asterisk-bugs] [Asterisk 0018615]: Format list should be copied before being iterated in ast_filehelper

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 31 18:44:47 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18615 
====================================================================== 
Reported By:                heath1444
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18615
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.15 
JIRA:                       SWP-2908 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-13 14:55 CST
Last Modified:              2011-01-31 18:44 CST
====================================================================== 
Summary:                    Format list should be copied before being iterated
in ast_filehelper
Description: 
If the disk is slow for whatever reason you get resource starvation if too
many threads are making calls to this function because the list is locked
the entire time.

It's bad enough for me that I'm going to have to put all the files in
/var/lib/asterisk/sounds/en/ on a ramdisk.

Thanks for looking!

Heath
====================================================================== 

---------------------------------------------------------------------- 
 (0131323) heath1444 (reporter) - 2011-01-31 18:44
 https://issues.asterisk.org/view.php?id=18615#c131323 
---------------------------------------------------------------------- 
It hangs at that lock, so maybe it is something else.

I'll get exact instructions for reproducing it soon. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-31 18:44 heath1444      Note Added: 0131323                          
======================================================================




More information about the asterisk-bugs mailing list