Negative total file size displayed

Bug #338955 reported by Andrew Ross on 2009-03-06
2
Affects Status Importance Assigned to Milestone
aria (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: aria

When downloading an iso of the Fedora 11 i386 alpha, Aria shows a negative file size. The percentage remaining works OK (see screenshot) so I believe the number is stored correctly internally. Could this be an unsigned vs signed int bug?

This is on Ubuntu Intrepid, using aria package version 1.0.0-16.1.

Version info from Help -> about
Aria (version 1.0.0; Linux 2.6.27-11-generic x86_64)
Copyright(C) 2000, 2001, 2002 Tatsuhiro Tsujikawa
Rollout: 16 Dec 2002

Revision history for this message
Andrew Ross (rockclimb) wrote :
Revision history for this message
Andrew Ross (rockclimb) wrote :

Should have mentioned, this is on the amd64 version of Intrepid.

Revision history for this message
Andrew Ross (rockclimb) wrote :

Hmm, it seems things are worse than I thought. Resuming a failed download from an FTP server suffers the same problem:

[22:09:10]RECV: 213 3756181504
[22:09:10]SEND: PORT 192,168,0,51,211,182
[22:09:10]RECV: 200 Data port set
[22:09:10]SEND: REST -2015472530
[22:09:10]RECV: 501 Illegal value `-2015472530' for file offset: less than zero

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers