Please provide the following information
Qbit 4.2.1 and Windows 10 64 pro
Sometimes a torrent finishes, i have recheck enabled at the end, the check finishes and the torrent is moved to the download queue as 99.9% finished. No errors anywhere.
After that the torrent finishes and it is all right.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Same here. Several downloads stalled at 99.9%, but when I check the contents all are at 100%. Same version and Windows.
@JJMartin1340
Not sure we are talking about the same problem. Mine doesn't stall while downloading but on the finished/uploading queue. And when after auto-rechecking.
Similar issue. Download stalled %100 when i look to content 1 file %98-99 if i force recheck torrrent complete.
Can you reproduce with the latest version (4.2.5 64-bit) or one of these experimental builds targeting master https://github.com/qbittorrent/qBittorrent/actions?
If so, please post logs and settings in plain text (https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#Where_does_qBittorrent_save_its_settings).
@FranciscoPombal
Yes still happening even with the alpha 1 you posted a few days ago.
@eurobank so this only happens if you have "Recheck torrents on completion" checked? Have you found any sort of pattern that the affect torrents conform to?
@FranciscoPombal
Yes, it happens like that. I THINK it happens also when the last torrent finished and then Qbit auto shuts down, before the recheck finishes (in the middle of it).
When you restart Qbit, the check is started, stops at 99,9, requeued and then it finishes (hopefully).
@eurobank Ok, but assuming "Recheck torrents on completion" is checked, it doesn't happen every time, right? Let us know if you find a consistent way to reproduce the problem.
@FranciscoPombal
Try this.
ONLY 1 torrent somehow big, so the recheck takes more than the autoshutdown
Enable recheck at the end
Make sure Qbit when finished SHUT DOWN.
After the shutdown, re run Qbit and the recheck will start. It will stop at 99.9%, requeued and finish.
I haven't got the time to try out these steps https://github.com/qbittorrent/qBittorrent/issues/11801#issuecomment-692264280, hopefully someone else can attempt them @xavier2k6 @thalieht
I think I know what's going on here to a degree as well as with #8166 & #11802 (since they are similar)
I will elaborate more over the next day or two as currently testing/confirming!
@xavier2k6 That won't be an issue IF Qbit exits ONLY when everything is definitely finished (download and re-checks). Because right now it exits even while rechecking .....
@xavier2k6 That won't be an issue IF Qbit exits ONLY when everything is definitely finished (download and re-checks). Because right now it exits even while rechecking .....
Oh, I know!
(there's a confirmation option when checked that only displays for 15 seconds unless there's user intervention)
rechecking tiny files may be ok within this time frame but let's say you want to re-check a 97GB+ file!!
(which I've tested manually by force-rechecking & it takes a few minutes - this will be dependent on settings/machine.)
@FranciscoPombal @glassez @sledgehammer999 This combination below appears to lead to issues.....
(Really really needed large torrents to effectively notice/reproduce.)
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Windows 10 Pro x64 20H1
qBittorrent 4.3.0 (Official 64 bit)
Default portable mode
2 x LARGE torrents containing (1 x mkv selected & 1 x (31byte) .txt unselected)
Instant exit & 100% after re-check on next start-up
Instant exit & 100% after re-check on next start-up
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files checked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
100% after re-check on next start-up
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
99.6% after re-check on next start-up
(11585 pieces x 8 MiB have 11543)
Data loss = 336 MiB (needs to be re-downloaded)
Instant exit & 100% after re-check on next start-up
Instant exit & 100% after re-check on next start-up
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files checked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
100% after re-check on next start-up
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
99.5% after re-check on next start-up
(12458 pieces x 8 MiB have 12408)
Data loss = 400 MiB (needs to be re-downloaded)
@xavier2k6
Really interesting stuff, thank you very much for taking the time to do such thorough testing.
I find it interesting that the problem occurs with a relatively "vanilla" config (scenario 4) and not other, "more complex" ones. In particular, I find it interesting that it happens only with "Append .!qB extension to incomplete files" unchecked, but not with it checked. One would think that the problem would occur in the situation where there are more moving parts at play...
A few remaining small questions:
2 x LARGE torrents containing (1 x
mkvselected& 1 x (31byte).txtunselected)
RARBG UHD Remux? :P
RARBG UHD Remux? :P
:P
Were ALL other settings set to default?
I only changed the 4 settings in tests & set my ip's
Can you reproduce scenario 4 (with all other settings set to default of course) in non-portable mode?
Ya, I had reproduced in my own everyday use environment too with master etc
Do you always add the torrents with the small file unselected, or do you deselect it at some later time?
I add torrents & de-select files I don't want/care about straight away before starting any torrent downloading.
unsure if regression again of #13235 or if something else is at play.
I think though it's the exit after 15 seconds while rechecking that causes the issue.
Apologies! - it was NOT with default profile, had copied over my own config.....MAJOR FACEPALM!!!!!
I need to do more testing........
Point of note:
The exit after 15seconds & check on startup seems to carry on from previous state of checking - approx 13-15%
This is what leads to possible corruption/data loss. (Or at least the appearance it does)
If I pause this checking & do a force re-check instead, it goes to 100%.
There's obviously some other setting (cache?) at play.......
I think though after the 15 second exit, the next check on startup should be from scratch & NOT continue from where it left off. (previous state of checking)
Most helpful comment
@FranciscoPombal @glassez @sledgehammer999 This combination below appears to lead to issues.....
(Really really needed large torrents to effectively notice/reproduce.)
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Test suite
Windows 10 Pro x64 20H1
qBittorrent 4.3.0 (Official 64 bit)
Default
portable mode2 x LARGE torrents containing (1 x
mkvselected& 1 x (31byte).txtunselected)Test torrent 1 = (90.50 GiB consisting of 11585 pieces x 8 MiB)
Test 1
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Instant exit & 100% after re-check on next start-up
Test 2
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files checked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Instant exit & 100% after re-check on next start-up
Test 3
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files checked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
100% after re-check on next start-up
Test 4
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
99.6% after re-check on next start-up
(11585 pieces x 8 MiB have 11543)
Data loss = 336 MiB (needs to be re-downloaded)
Test torrent 2 = (97.32 GiB consisting of 12458 pieces x 8 MiB)
Test 1
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Instant exit & 100% after re-check on next start-up
Test 2
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files checked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Instant exit & 100% after re-check on next start-up
Test 3
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files checked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
100% after re-check on next start-up
Test 4
Tools=>Options=>Behavior=>Confirmation on auto-exit when downloads finish checked
Tools=>Options=>Downloads=>Append .!qB extension to incomplete files unchecked
Advanced=>qBittorrent Section=>Recheck torrents on completion checked
Tools=>On Downloads Done=>Exit qBittorrent checked
Result:
Starts checking
Exit after expected 15 secs elapsed (Timer Dialog box) - (Checking is interrupted/unfinished)
99.5% after re-check on next start-up
(12458 pieces x 8 MiB have 12408)
Data loss = 400 MiB (needs to be re-downloaded)