[asterisk-bugs] [Asterisk 0012762]: if queue_log file is FIFO asterisk do deadlock after "logger reload"

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 3 11:39:55 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12762 
====================================================================== 
Reported By:                slavon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12762
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 118558 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-30-2008 04:37 CDT
Last Modified:              06-03-2008 11:39 CDT
====================================================================== 
Summary:                    if queue_log file is FIFO asterisk do deadlock after
"logger reload"
Description: 
Hello.
if queue_log file created as FIFO asterisk do deadlock after "logger
reload" (try do it few times)

If FIFO unsupported * must recreate file or write error to screen? Or add
please support (if it not a bug) to log to FIFO.

Thanks!

====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 06-03-08 11:39  
---------------------------------------------------------------------- 
Okay, when you get this to happen, could you get the output of "core show
locks" from the CLI? Also, please provide a backtrace of all the threads
when this happens. Thanks.

I tried reproducing this myself, and the only way I could make a "logger
reload" or "stop now" command hang was if the queue_log was a FIFO and
there was no process to read from it. If I deleted the FIFO and ran "logger
reload" the queue_log would be recreated as a regular file and everything
worked properly for me. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-08 11:39  putnopvut      Note Added: 0087723                          
======================================================================




More information about the asterisk-bugs mailing list