Skip to content
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

Deleting Files Loaded in qBittorrent causes crash #20362

Open
pmayeur opened this issue Feb 2, 2024 · 16 comments
Open

Deleting Files Loaded in qBittorrent causes crash #20362

pmayeur opened this issue Feb 2, 2024 · 16 comments
Labels
Crash Waiting info Waiting for participants to supply more info/fulfill template requirements

Comments

@pmayeur
Copy link

pmayeur commented Feb 2, 2024

qBittorrent & operating system versions

qBittorrent: 4.6.2 x64
Operating system: Windows 10 Pro 21H1/19043.1415 x64 (10.0.19043)

What is the problem?

If a torrent is currently not paused but idle (not uploading or downloading) and you delete the files from the filesystem, some time in the future qbittorrent will freeze and crash once opened.

It doesnt seem a crash report is created, at least there is none in \AppData\Local\qBittorrent\logs

Steps to reproduce

  1. Download some files.
  2. While qbittorrent is running but files are not actively uploading or downloading delete files from filesystem
  3. Wait, eventually qbittorrent will freeze and crash

Additional context

No response

Log(s) & preferences file(s)

No response

@xavier2k6
Copy link
Member

@pmayeur please look in %LOCALAPPDATA%\CrashDumps for any *.dmp files

@pmayeur
Copy link
Author

pmayeur commented Feb 2, 2024

@xavier2k6
Copy link
Member

@pmayeur They appear to be old dumps.

run eventvwr & proceed to Windows Logs->Application & see if any errors relating to qBittorrent

@xavier2k6 xavier2k6 added the Waiting info Waiting for participants to supply more info/fulfill template requirements label Feb 2, 2024
@pmayeur
Copy link
Author

pmayeur commented Feb 2, 2024

Those may have been from previous versions of qbittorrent (4.6.2). I upgraded to 4.6.3 today which is why i had the wrong version in the original description (edited). When it happens again I will link a new dump. Though this has been going on for a long time so I dont think version is too relevant. (Previous Issue: #16356)

To answer your request

Faulting application name: qbittorrent.exe, version: 4.6.2.0, time stamp: 0x65650cfa
Faulting module name: qbittorrent.exe, version: 4.6.2.0, time stamp: 0x65650cfa
Exception code: 0xc0000409
Fault offset: 0x0000000000be06f7
Faulting process id: 0x51d4
Faulting application start time: 0x01da530809b4fd9e
Faulting application path: C:\Program Files\qBittorrent\qbittorrent.exe
Faulting module path: C:\Program Files\qBittorrent\qbittorrent.exe
Report Id: 131be6a9-a858-4519-b904-8a4fdeb16d55
Faulting package full name:
Faulting package-relative application ID:

Faulting application name: qbittorrent.exe, version: 4.6.2.0, time stamp: 0x65650cfa
Faulting module name: qbittorrent.exe, version: 4.6.2.0, time stamp: 0x65650cfa
Exception code: 0xc0000409
Fault offset: 0x0000000000be06f7
Faulting process id: 0x1838
Faulting application start time: 0x01da512e0e0f3b79
Faulting application path: C:\Program Files\qBittorrent\qbittorrent.exe
Faulting module path: C:\Program Files\qBittorrent\qbittorrent.exe
Report Id: 193672ce-7020-41c7-8674-68dddd765e2f
Faulting package full name:
Faulting package-relative application ID:

@xavier2k6
Copy link
Member

@pmayeur Can you run sfc /scannow in an elevated command prompt (administrator) & show results?

Which libtorrent version are you using?

@pmayeur
Copy link
Author

pmayeur commented Feb 2, 2024

Scan results:

CBS.log

libtorrent: 1.2.19.0

@xavier2k6
Copy link
Member

@pmayeur Can you reproduce with libtorrent: 2.0.9 based build?

@pmayeur
Copy link
Author

pmayeur commented Feb 2, 2024

I will try, but looks like you can't have both versions of qbittorrent running at the same time.

@xavier2k6
Copy link
Member

Can you run both versions of qbittorrent simultaneously? If so, I can try

You can extract files to a folder, say on your desktop & create a folder inside called profile

You will be able to add an example torrent for crash recreation purposes.......all settings will be default!

example:

Screenshot 2024-02-02 171154

@xavier2k6
Copy link
Member

@pmayeur If you are not comfortable with this, can you please provide an example torrent for testing

@pmayeur
Copy link
Author

pmayeur commented Feb 3, 2024

I am now using qbittorrent with libtorrent 2.0.9

I will try to reproduce and report back

@pmayeur
Copy link
Author

pmayeur commented Feb 5, 2024

@xavier2k6 thanks for your help. I got another reproduction.

Here is the newest dmp and eventwr
qbittorrent.exe.8392.dmp

Faulting application name: qbittorrent.exe, version: 4.6.3.0, time stamp: 0x65a478a1
Faulting module name: qbittorrent.exe, version: 4.6.3.0, time stamp: 0x65a478a1
Exception code: 0xc0000409
Fault offset: 0x0000000000c5cc77
Faulting process id: 0x20c8
Faulting application start time: 0x01da569a5fdb2045
Faulting application path: C:\Program Files\qBittorrent\qbittorrent.exe
Faulting module path: C:\Program Files\qBittorrent\qbittorrent.exe
Report Id: 5098e341-6ed6-433e-a0dd-ca287ee4ac75
Faulting package full name:
Faulting package-relative application ID:

@pmayeur
Copy link
Author

pmayeur commented Feb 9, 2024

qbittorrent.exe.15476.dmp

Here is another (downgraded lib torrent back to 1.x because 2.x has super laggy UX)

@pmayeur
Copy link
Author

pmayeur commented Feb 11, 2024

I dont know how to remove the label "Waiting for Info". I think I've provided the info.

@luzpaz luzpaz removed the Waiting info Waiting for participants to supply more info/fulfill template requirements label Feb 11, 2024
@pmayeur
Copy link
Author

pmayeur commented Mar 27, 2024

OK, this happens after you "RIGHT CLICK"

So delete something from your system that is loaded but not actively transferring data. Wait 3 hours. Right click on a torrent in qbittorrent.

@xavier2k6
Copy link
Member

Right click on a torrent in qbittorrent.

Is it the torrent that you deleted from the system or is it on any torrent?

Is it happening with libtorrent 1.2.x / 2.0.x or with both? (as I note you downgraded back to 1.2.x)

I just want to be clear on qBittorrent version being used & libtorrent version.

@xavier2k6 xavier2k6 added Crash Waiting info Waiting for participants to supply more info/fulfill template requirements labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Waiting info Waiting for participants to supply more info/fulfill template requirements
Projects
None yet
Development

No branches or pull requests

3 participants