[asterisk-bugs] [Asterisk 0016682]: Hundreds (thousands?) of WARNING messages when data sent via res_phoneprov

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 15 16:42:33 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16682 
====================================================================== 
Reported By:                lmadsen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16682
Category:                   Resources/res_phoneprov
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-785 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-23 10:36 CST
Last Modified:              2010-06-15 16:42 CDT
====================================================================== 
Summary:                    Hundreds (thousands?) of WARNING messages when data
sent via res_phoneprov
Description: 
I get a LOT of these messages whenever data is being sent via res_phoneprov
to a device which is booting. Actually, likely this isn't an issue with
res_phoneprov but rather an issue with the HTTP server inside Asterisk?

[Jan 22 20:29:27] WARNING[32621] http.c: fwrite() failed: Broken pipe

The WARNINGs stop as soon as no more data is being sent to the device, and
Asterisk doesn't crash or anything, but something is maybe not being freed
correctly? (wild guess)

That message came from the log file I made, which had debugging enabled,
but I didn't see anything else.

I can produce any logging or backtraces, etc... as this is on a
development box.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
parent of           0016680 [patch] res_phoneprov.so causes Asteris...
====================================================================== 

---------------------------------------------------------------------- 
 (0123455) svnbot (reporter) - 2010-06-15 16:42
 https://issues.asterisk.org/view.php?id=16682#c123455 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 270692

U   trunk/main/http.c

------------------------------------------------------------------------
r270692 | twilson | 2010-06-15 16:42:33 -0500 (Tue, 15 Jun 2010) | 9 lines

Don't continue sending the file when there has been an error

If there is a problem with a firmware file, Polycom phones will close the
connection. We were continuing to send the file anyway. There should be no
reason to continue sending a file if there is an error writing it.

(closes issue https://issues.asterisk.org/view.php?id=16682)
Reported by: lmadsen

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=270692 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-15 16:42 svnbot         Checkin                                      
2010-06-15 16:42 svnbot         Note Added: 0123455                          
======================================================================




More information about the asterisk-bugs mailing list