[asterisk-bugs] [Asterisk 0016229]: ERROR[24164]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Nov 13 09:22:13 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: minor
Priority: normal
Status: feedback
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-13 09:22 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.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0015609 [patch] WARNING[23025]: channel.c:952 _...
======================================================================
----------------------------------------------------------------------
(0113786) marcus1981-2 (reporter) - 2009-11-13 09:22
https://issues.asterisk.org/view.php?id=16229#c113786
----------------------------------------------------------------------
you're right. if the agi returns a string which is not a valid command this
error appears. it is no bug but a bit confusing, cause i was used to return
text-messages to asterisk for debuging and loging purposes.
but even if no plain-text is returned, some agi-scripts causes this error.
what is the right way to exit an AGI? in perl i use exit(1) and in sh
(bin/bash) also. but in one of the two cases the error raises still.
thanks a lot so far.
Issue History
Date Modified Username Field Change
======================================================================
2009-11-13 09:22 marcus1981-2 Note Added: 0113786
======================================================================
More information about the asterisk-bugs
mailing list