bugmldonkey, a multi-networks file-sharing client - Bugs: bug #13257, png graph intermittently generates...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13257: png graph intermittently generates corrupt png file

Submitter:  None
Submitted:  Wed 01 Jun 2005 12:46:16 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Program malfunction Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  2.5.30.15 Release: 
Operating System:  Linux Binaries Origin:  CVS / Self compiled
CPU type:  Intel x86

Tue 12 Jul 2005 08:48:57 PM UTC, comment #4: 
spiralvoice <spiralvoice>
Group administrator
Sat 25 Jun 2005 02:49:07 PM UTC, comment #3: 

Weird, but a 0 byte file won't show up in a messed up way like I see here when viewing http://server_ip:4080/bw_updown.jpg.
Another strange thing is that http://server_ip:4080/bw_updown.png returns an empty image here, whereas I am using gd(jpg).

White_FrosT
Sat 04 Jun 2005 02:42:13 AM UTC, comment #2: 

$ echo -e GET /bw_updown.png HTTP/1.1\\n | nc localhost 4080 | tail -c +105 > bw_updown.png

results in (time lapse) filesizes of

-rw-r--r--  1 nobody nobody 4986 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 4986 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 4986 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5040 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5024 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5035 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5020 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5014 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5047 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 0 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5036 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5036 Jun  4 12:27 bw_updown.png
-rw-r--r--  1 nobody nobody 5036 Jun  4 12:27 bw_updown.png

ie. if there is a request on the web server at the wrong time, the result is a 0 byte file.  Removing the tail command from above simply means getting the server response plus the png data
and the result is still 0 bytes, so the suggestion is that the server itself is aborting the whole socket / transaction and simply hanging up / disconnecting.

Anonymous
Sat 04 Jun 2005 01:19:57 AM UTC, comment #1: 

I think the graph generation itself is fine. I think the problem is concerned either with locking done by the graph generation process. lock observance as the file is read by the web server process, or maybe the IO used in this web server process is kind of not blocking/waiting for the file to be closed by the graph generation process..  or some combination of all three, or none of the above :)

Anonymous
Wed 01 Jun 2005 12:46:16 PM UTC, original submission:  


Mozilla says 'The image “http://localhost:4080/bw_updown.png” cannot be displayed, because it contains errors.'


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-16 spiralvoice Open/ClosedOpen Closed
2005-07-16 spiralvoice StatusReady For Test Fixed
2005-07-12 spiralvoice StatusNone Ready For Test

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code