qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.87k stars 3.87k forks source link

After download complete and restarting QBittorrent, a forced verification shows that the download is not complete by a small amount #17194

Open havgufa opened 2 years ago

havgufa commented 2 years ago

qBittorrent & operating system versions

qBittorrent: 4.4.3.1 Operating system: MacOS 10.15.7

What is the problem?

Hello team,

After downloading and completing a torrent including multiple files, I restart the app and the torrent still shows as complete

However if I do a forced verification, at the end of the verification the torrent status is at 98 or 99%-ish so I need to wait for the download to complete one more time

I'm usually forced to redo these steps a few more times, each time with a smaller amount of data missing, before the torrent finally shows as complete after a last forced verification

Here is a video illustrating the issue: https://drive.google.com/file/d/1sIDop2IYuoFvJVncb9OCiHqEi66lt4O_/view?usp=sharing

I think the issue usually happens with torrents including multiple files,

I also use QBittorrent on a PC, and I have not been able to reproduce the issue on Windows so far

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

ghost commented 2 years ago

Pause the torrent and check the sha256 hash of the files when they’re completed and also after running a recheck. If the rechecking mechanism is corrupting the files then the hash wouldn’t match. You should also check with an older version of qBt, preferably 4.3.9 to reproduce the issue.

wind77 commented 2 years ago

image image

I have same problem here: As seen from 1st screenshot, the highlighted torrent is 99.8%, but marked as "completed". In the 2nd screenshot, the progress of each selected folders in the torrent, is 100%. I have rechecked the torrent twice, and nothing has changed.

My qBT version: 4.4.2 (64 bit) qt: 6.3.0 Libtorrent: 2.0.6.0 OS: Manjaro (kernel 5.17.9)

havgufa commented 2 years ago

Hi,

Pause the torrent and check the sha256 hash of the files when they’re completed and also after running a recheck.

Not sure how to do that but we'll try asap

If the rechecking mechanism is corrupting the files then the hash wouldn’t match

I don't think the issue is caused by the rechecking mechanism, I actually realised the files (which showed as 100% complete in QBT) were not correctly downloaded when using them

Only after that I started to troubleshoot and tried using the force verification option

libtorrent-rasterbar 2.0.6+gitbe8313e35e Qt 6.3.0 Boost 1.79.0

ghost commented 2 years ago

Issue may be related https://github.com/qbittorrent/qBittorrent/issues/16843

havgufa commented 2 years ago

Looks like it indeed, will post on the ticket #16843 from now on, thx!

4tuneTeller commented 2 years ago

I have a very similar problem. Since 4.4.3.1, after the torrent finishes downloading if I force recheck it, it would re-download 1-2% every single time, so I'm just unable to complete a download at all, files stay corrupt. I downgraded back to 4.3.9 and the problem is no longer there. This happens with both single and multi file downloads. I'm using Mac OS 12.4 and only download on external drives with HFS+ or ExFAT file systems.