Skip to main content

Topic: Incorrect downloading of large files (Read 219 times)

  • Mike
  • [*]
Incorrect downloading of large files
When downloading a file with the size of 84 megabytes is downloaded, then more than its size, then less. This shows an incorrect percentage of downloads.
http://funkyimg.com/i/2xXQW.jpg
In version 183 this bug is not.
http://funkyimg.com/i/2xXR1.jpg

  • Frenzie
  • [*][*][*][*][*]
  • Administrator
Re: Incorrect downloading of large files
Reply #1
Hard for me to test because my connection is sufficiently fast to download a 50 MB file in less than ten seconds, but I see no issues on (Pre) RC1 with this very large file:

Code: [Select]
https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Incorrect downloading of large files
Reply #2
@Mike, perhaps server sends invalid value for size of the file, hard to tell without some public test case.
Perhaps it's some change in QtNetwork, weekly 183 most likely uses older version.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • Mike
  • [*]
Re: Incorrect downloading of large files
Reply #3
I downloaded this file to another file sharing service and from there it is downloaded correctly. But initially, before downloading to Yandex, I downloaded the file from another site, and there were also problems with statistics and size. From this I conclude that the error appears if the processor is heavily loaded during the download (interface brakes). Checked version 187, there is also this bug. http://funkyimg.com/i/2xZss.jpg But in version 183 the file is downloaded correctly, even if you load the processor, for this I used the opera presto with the open site ulmart.ru. Here is the file:
https://yadi.sk/d/C5wH1-Gr3NTGAA

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Incorrect downloading of large files
Reply #4
@Mike, thanks for test link, unfortunately I was unable to reproduce it under both Windows and Linux.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • Mike
  • [*]
Re: Incorrect downloading of large files
Reply #5
Maybe this bug will appear when you download a file larger than this.

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Incorrect downloading of large files
Reply #6
@Mike, dunno, I need some reproducible test case to find out what exactly went wrong.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • Mike
  • [*]
Re: Incorrect downloading of large files
Reply #7

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Incorrect downloading of large files
Reply #8
@Mike, still no luck, but it might be somehow XP specific too, I'll try to test it there too (testing that build under Windows 10 doesn't show any issues with values).
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Incorrect downloading of large files
Reply #9
No difference when testing it under XP, both files, they end with 100% and bytes number matches.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • Mike
  • [*]
Re: Incorrect downloading of large files
Reply #10
It is written here that if the download is stopped and then resumed, the change in interest is not shown until the end of the download. This bug and incorrect upload of files can be connected.

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Incorrect downloading of large files
Reply #11
@Mike, but you didn't have to resume download to reproduce this issue, right?
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • Mike
  • [*]
Re: Incorrect downloading of large files
Reply #12
Yes

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Incorrect downloading of large files
Reply #13
@Mike, no idea about that then, cannot reproduce, with resuming it might be possible.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.