qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

5.0.0 qBittorrent Vesion locking up when re-checking or moving files

Open widowshyper opened this issue 1 year ago • 19 comments

qBittorrent & operating system versions

qBittorrent: 5.0.0 OS: Windows Server 2022 build: 20348.2700 (10.0.20348)

What is the problem?

Program locking up whenever files need to be re-checked or moved. Sometimes it comes back but this has only been an issue since this morning when I updated to the newest 5.0.0 release.

Steps to reproduce

1: Re-locate a file or re-check a file 2: program will lock up

Additional context

No response

Log(s) & preferences file(s)

No response

widowshyper avatar Sep 30 '24 05:09 widowshyper

Program locking up whenever files need to be re-checked or moved.

Can't reproduce on Windows 11. qBit is totally responsive when I do this on 5.0.0.

Pentaphon avatar Sep 30 '24 10:09 Pentaphon

@widowshyper are you using the regular or lt20 version?

In my case Windows 11 OS was hanging and it was only possible to control mouse cursor. After switching from lt20 to regular qBT v5.0.0 everything became normal.

comminux avatar Sep 30 '24 23:09 comminux

@widowshyper are you using the regular or lt20 version?

In my case Windows 11 OS was hanging and it was only possible to control the cursor. After switching from lt20 to regular qBT v5.0.0 everything became normal.

I installed the non LTO version of 5.0.0. After posting the bug report I reinstalled the 5.0.0 update and the crashes became less hard crashes and more extreme hanging before returning to normal.

widowshyper avatar Oct 01 '24 03:10 widowshyper

I confirm that this is true. It happens to me when I download a 50GB file. At the time of performing the recheck, the interface freezes for 10 seconds. I can hear the hard drive reading like crazy. LT20 version

Aesthermortis avatar Oct 01 '24 16:10 Aesthermortis

I am currently pushing a fix (#21300) for LT20 problems. If someone wants to help with testing, do the following:

  1. Download the build artifact, unpack and run it.
  2. Go into Settings > Advanced and set Disk IO type (requires restart) to Simple pread/pwrite, then restart the client.
  3. Check if issue still reproduces.

HanabishiRecca avatar Oct 01 '24 16:10 HanabishiRecca

@HanabishiRecca

After switching from LT20 to the regular version, now only the qBittorrent window freezes, not the entire OS.

I used the build from the artifact, switched the necessary option and restarted the client, but the problem with the program window freezing was not solved.

If necessary, I am ready to perform additional actions to provide more service information.

Windows 11 version: 10.0.22631.4249

P. S. I noticed that according to the task manager there is no load on the HDD (F label).

image

comminux avatar Oct 01 '24 19:10 comminux

This change is supposed to make 2.x on par with 1.x. So I guess it is successful in that regard.

As for GUI freezes, could you monitor CPU, RAM and disk usage during the checking process? Also provide values of the following options: Asynchronous I/O threads, Hashing threads, File pool size.

HanabishiRecca avatar Oct 01 '24 19:10 HanabishiRecca

P. S. I noticed that according to the task manager there is no load on the HDD (F label).

Hmm, are you sure it is during the checking process? I would expect at least some activity from the disk when reading the files.

HanabishiRecca avatar Oct 01 '24 19:10 HanabishiRecca

In this section I only changed the physical memory (RAM) usage limit to 1024 MiB and Disc IO type

image

It seems to me that the program window freezing is a different problem than the one discussed in this issue.

Just in case, I will limit the number of active torrent downloads and uploads to avoid such problems.

comminux avatar Oct 01 '24 20:10 comminux

Try increasing the Hashing threads value. To something like 4-8.

HanabishiRecca avatar Oct 01 '24 20:10 HanabishiRecca

Try increasing the Hashing threads value. To something like 4-8.

Do you believe separate IO threads affect GUI freezing? It is likely that there is some related action being performed in the main thread. Or, if it cannot be confirmed by someone else, there may be some performance issues in the Issue author's system.

glassez avatar Oct 02 '24 06:10 glassez

Do you believe separate IO threads affect GUI freezing?

I thought something like contention could be an issue. It is strange that CPU and disk activity are so low on the screenshot. But no, not really.

It is likely that there is some related action being performed in the main thread.

Do we have some thread locks there?

HanabishiRecca avatar Oct 02 '24 10:10 HanabishiRecca

Sometimes it feels like users are just using modified or broken OS.

stalkerok avatar Oct 04 '24 09:10 stalkerok

@widowshyper are you using the regular or lt20 version?

In my case Windows 11 OS was hanging and it was only possible to control mouse cursor. After switching from lt20 to regular qBT v5.0.0 everything became normal.

Same here, i had to switch from LT20 to regular version in Windows 11 , because qbittorent was really often freezing , it was unusable.

Alepica91 avatar Oct 11 '24 12:10 Alepica91

Well, my qBT v5.0.0 is unusable because it was really VERY often freezing! Windows 11 23H2 OS build 22631.4317

uusea avatar Oct 14 '24 07:10 uusea

https://github.com/qbittorrent/qBittorrent/issues/21420#issuecomment-2386513921

Try this solution to the problem

comminux avatar Oct 14 '24 16:10 comminux

I'm not running into v5 completely locking up when rechecking, but when torrents are added for say cross-seeding there's a chance that they'll just sit at 0% which won't recover until I completely restart the client.

prenetic avatar Oct 24 '24 22:10 prenetic

i had the exact problems with the new version 5.0.3 and now switched back to 5.0.2 and everything runs smooth again

littlefico avatar Jan 11 '25 15:01 littlefico

@widowshyper can you reproduce with v5.1.0?

qBittUser avatar Jun 08 '25 10:06 qBittUser