New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paused torrents become active after app restart in 4.2.2 (only with libtorrent 1.1.x) #12322
Comments
#12321 says:
Can you please confirm this is the case for you as well (you only tested with 1.1.x)? If so, the other issue can be closed as a duplicate. |
confirm, bug is reproducible only with 1.1.x, with 1.2.5 is fine
upd: can test anything on this KUbuntu system, this is development VM |
@Kolcha |
first of all, I don't know what is |
I'll do it then, no problem. |
@Kolcha Ok I haven't got around to bisecting it yet, but I need to know one thing first: does this only happen with torrents that were initially added in 4.1.x? Or does this also happen with a torrent that is first added to a clean 4.2.2+libtorrent 1.1.x install/build? |
so, I removed previously added ArchLinux torrent, and re-download it again with 4.2.2 + libtorrent 1.1, paused and restarted the app -> torrent is active! |
Ok, I reached the following result with git bisect, which does make sense:
@glassez Looks like this commit of yours introduced this regression.
|
@FranciscoPombal
|
qBittorrent version and Operating System
qBittorrent 4.2.2, compiled from source, release-4.2.2 tag
qbittorrent-nox on Debian Unstable (sid)
If on linux, libtorrent-rasterbar and Qt version
everything from official Debian repo
libtorrent 1.1.13, Qt 5.12.5
What is the problem
after upgrade 4.2.1 -> 4.2.2 all completed paused torrents (I had ~30) became active (started seeding). I paused them again, but after app restart they became active again. 100% reproducible with each restart.
What is the expected behavior
paused state is saved
Steps to reproduce
Extra info
only old torrents seems to be affected, bug is not reproducible at least on macOS with any newly added torrents, paused state is preserved.
reverting to 4.2.1 (with the same libraries) solved the problem, so problem somewhere in saved data interpretation.
I found nothing interesting in logs, nothing was reported in both cases (active or paused torrent), I saw only "'some torrent name' restored" messages, nothing more.
can't do any experiments on target system, this is almost "production" server, and any downtime is not acceptable.
looks like #12321 at least similar
The text was updated successfully, but these errors were encountered: