[asterisk-bugs] [JIRA] (ASTERISK-26753) AMI disconnect causes "ast_careful_fwrite: fwrite() returned error: Broken pipe"

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jan 25 21:20:10 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234884#comment-234884 ] 

Asterisk Team commented on ASTERISK-26753:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> AMI disconnect causes "ast_careful_fwrite: fwrite() returned error: Broken pipe"
> --------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26753
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26753
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.13.1
>         Environment: $ uname -a
> Linux qa1-asterisk1 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:48:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Kirill Katsnelson
>            Severity: Minor
>
> When a manager sends a Logoff command and immediately disconnects without waiting, the following error is sometimes logged (but not always).
> ERROR: utils.c: ast_careful_fwrite: fwrite() returned error: Broken pipe 
> The error reproduces reliably by calling shutdown(.., SHUT_RD) on the manager's end of the socket before sending a command.
> I have a local fix, sending a patch.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list