Closed Bug 278015 Opened 20 years ago Closed 20 years ago

Download counter breaks for files larger than 2GB.

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 228968

People

(Reporter: RJOrdan, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

During the successful download of a 3.2GB image file, the byte counter that
normally displays the number of bytes that have been downloaded, ceased to
provide accurate information one the file exceeded 2GB. The following shows what
I saw on screen after the 2GB boundry was crossed:

     " -1315481 KB at -226.-2 KB/sec; unknown file size "

I believe that the wrap-around problem will be solved by changing the
appropriate variable to type "long."

Reproducible: Always

Steps to Reproduce:
1. Download the file.
2. Watch the download manager file size and download speed counter.
3.

Actual Results:  
Download manager window displayed the following eronious data after the download
counter passed 2GB (~ 2,600,000,000 bytes):

     " -1315481 KB at -226.-2 KB/sec; unknown file size "

Expected Results:  
Displayed something like,

     " 2600000 KB at 501.2 KB/sec; unknown file size "

The actual downloaded file tested 100% error free.

*** This bug has been marked as a duplicate of 228968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.