[asterisk-bugs] [Asterisk 0016229]: ERROR[24164]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 12 10:59:36 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16229 
====================================================================== 
Reported By:                marcus1981-2
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16229
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           Older 1.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-12 03:10 CST
Last Modified:              2009-11-12 10:59 CST
====================================================================== 
Summary:                    ERROR[24164]: utils.c:966 ast_carefulwrite: write()
returned error: Broken pipe
Description: 
When I execute an AGI Script which performs several operations, e.g.
database-operations I get the error 

"ERROR[24164]: utils.c:966 ast_carefulwrite: write() returned error:
Broken pipe"

almost every time, resulting the database-operation nit to be performed at
all. it happens, if i call the AGI really often, lest say 10 times a
second. 

sometime the agi executes correctly but most times not.

i didnt got that error an Version 1.4.13 and it apears after upgrading to
14.25.1.



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

---------------------------------------------------------------------- 
 (0113727) nblasgen (reporter) - 2009-11-12 10:59
 https://issues.asterisk.org/view.php?id=16229#c113727 
---------------------------------------------------------------------- 
I'm also having this issue on Asterisk 1.4.23.1.  Oddly enough this machine
has been perfect for 6 months or so.  Then all of a sudden today I change
the RealTime Database to be remote from the locally hosted version.  Now
every single AGI script (or the AGI scrips I end up running) cause a Broken
Pipe upon connection.

Ah, but never mind!  I turn on AGI debug and there is a BUG :)

AGI Rx << Fatal error: Call to a member function query() on a non-object
in /var/www/html/cli/ajax.php on line 15
AGI Tx >> 510 Invalid or unknown command
[Nov 12 08:52:25] ERROR[4116]: utils.c:966 ast_carefulwrite: write()
returned error: Broken pipe

So it seems, at least for me, no bug. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-12 10:59 nblasgen       Note Added: 0113727                          
======================================================================




More information about the asterisk-bugs mailing list