Closed
Bug 306365
Opened 19 years ago
Closed 19 years ago
Download manager reports a negative size downloaded and negative speed on large file being downloaded.
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 228968
People
(Reporter: himeshp, Unassigned)
Details
Attachments
(1 file)
|
107.56 KB,
image/png
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 The download manager reports a negative amount for the file size downloaded and consequently a negative speed. The file size being downloaded is 2.7GB. The problem surfaced around 2GB mark of the download. This is most likely due to the fact that a 32bit integer is used to store the amount downloaded (2^32 = 4294967296, and with a signed int you have half or 2147483648 or 2GB for positive sizes). Reproducible: Always Steps to Reproduce: 1. Download a file that is >2GB 2. Wait til the downloaded size is >2GB 3. See the negative downloaded size and speed Actual Results: I view the incorrect speed and downloaed amount (the negative numbers). Expected Results: It should report the correct downloaded size and speed (a positive number). I have a screenshot showing what happend, and can send it if needed.
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 228968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•