mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
qBittorrent 4.4.0 crashed #12739
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#12739
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shae-o-nell on GitHub (Jan 8, 2022).
qBittorrent & operating system versions
qBittorrent version: v4.4.0 (64-bit)
Libtorrent version: 2.0.5.0
Qt version: 5.15.2
Boost version: 1.78.0
OpenSSL version: 1.1.1m
zlib version: 1.2.11
OS version: Windows 10 Version 2009 10.0.19043 x86_64
What is the problem?
QBt 4.4.0 crashes when I try to launch it with more than 12k torrents total and 1 - 2 k seeding.
Steps to reproduce
Fastresume filesAdditional context
I reproduced this crash on two different PCs running Win10, qBitttorent both in standard installation and portable mode.
I've found two ways to "fix" this crash:
SQLite. In this case 4.4.0 starts like it should even with13k total, 2k seeding and 4k downloading (queued) torrentsLog(s) & preferences file(s)
Caught signal: SIGSEGV
@norilor commented on GitHub (Jan 8, 2022):
I had the same issue which I fixed by emptying my AppData\Local\qBittorrent\BT_backup folder and progressively adding back all the files (6 by 6) until I could reproduce the crash.
Deleted the culprit (it was a single .fastresume file) and 4.4.0 is now working smoothly.
I have 140 torrents in my client, so if you've got much more I'd just roll back to 4.3.9 or switch to SQLite if you know what you're doing, because surely it is not worth the hassle.
@glassez commented on GitHub (Jan 9, 2022):
Duplicate of #15955
@xavier2k6 commented on GitHub (Jan 10, 2022):
Do you happen to have a backup of that resume file?
Can you provide any reliable steps to reproduce/torrent that's causing it?
@glassez commented on GitHub (Jan 10, 2022):
It would be very appreciated 👍
@xavier2k6 commented on GitHub (Jan 10, 2022):
@glassez I haven't been able to reproduce this crash with
libtorrent::file_storage::file_pathin stack trace at all with official builds or any of the CI builds.......from what I've seen it does seem to be only windows/official & any stack trace crash that has been provided by a user all are based on Qt5 & notQt6.This
libtorrent::file_storage::file_pathpart has been encountered a good while back in #4597 (for reference)@agasthene commented on GitHub (Jan 10, 2022):
Good evening,
it is the torrent rechecking that is causing the problem with fastresume files. I have significantly less torrent to share than the others. requesting verification on a torrent that had writing problems caused the program to crash.
since the fast files were a problem, I put it away and restart the program, something I should not do, I had no more torrent in the list when the program reopened.
I therefore take the opportunity to go under sqlitte as indicated here above. I close the program and undo the deletion of the fastresume file. I restart the program, ask for a torrent check to see that the crash problem no longer exists.
@sledgehammer999 commented on GitHub (Jan 11, 2022):
@agasthene do you by any change still have the original offending fastresume? (eg in a backup). Can you share it?
@agasthene commented on GitHub (Jan 11, 2022):
@glassez commented on GitHub (Jan 11, 2022):
And how about corresponding .torrent files from the same directory BT_backup?
@agasthene commented on GitHub (Jan 11, 2022):
676ba95976db26e8f41f4926679381034ce5fcb3.zip
fastresume and .torrent
@glassez commented on GitHub (Jan 11, 2022):
Does it crash if you leave only these torrents in BT_backup and start it?
@agasthene commented on GitHub (Jan 11, 2022):
if i delete the fastresume files leaving the fastresume file configuration, at restart the list in the software is empty.
it's easy to test.
@agasthene commented on GitHub (Jan 11, 2022):
on the other hand, in sqlite adding a torrent (no matter which one) via a link makes the application crash
@glassez commented on GitHub (Jan 11, 2022):
What's it about?
We are talking here about crash during qBittorrent v4.4 startup.
@norilor said that he had detected the torrent that provokes the crash (i.e. deleting the .fastresume file of this torrent from the BT_backup folder fixes the startup). We are asking if someone can provide such a "bad" torrent (corresponding .torrent and .fastresume files), which exactly leads to a crash at startup. So I assumed that you provided exactly such torrents. But they work for me without problems.
@agasthene commented on GitHub (Jan 11, 2022):
I think the problem is not there.
Is it the fastresume file that is the problem? Or is the problem elsewhere?
Many people say that there is a torrent verification that is done at startup and that it crashes at that moment
So I have to force a verification of a torrent, this is a problem.
The solution that was found to avoid the crash was to delete the fastresume file.
I have deleted all the fastresum files and I find myself with an empty list.
So if someone deletes a fastresume file he should find himself with one less torrent in his list.
In the end the problem is not, I think, in the fastresume file
I suggest that everyone redo an identical and detailed procedure and give his result.
Translated with www.DeepL.com/Translator (free version) (i'm speek french)
@agasthene commented on GitHub (Jan 11, 2022):
the test that I did not make it seems to me is to force a reverification with a torrent which did not pose problem of writing to check if the problem continued
@sledgehammer999 commented on GitHub (Jan 11, 2022):
@agasthene I will try to keep it simple.
The crash report you posted indicates that the problem is during the initial loading of saved torrents.
The loading needs 2 things for each torrent. It needs the .torrent file and the .fastresume file. So one of the torrents has something weird in those 2 files that crashes qbittorrent. So we need those 2 files to test. These should belong to a torrent that causes the crash. If you send us a torrent that doesn't cause the crash then we can't help. If you fixed the problem and don't have any torrent that causes a crash then just say so.
@agasthene commented on GitHub (Jan 11, 2022):
I recap, since there seems to be a mix of all contributors. I indicated that by forcing the verification of a torrent that had problems it crashed, the initial posts referred to a verification at startup that crashed the application with a number of torrent much higher
one of the torrents I posted to you had input and output problems, the check was crashing with the fastresume file.
Under sqlite the crash problem does not exist when forcing the verification
the solution that another contributor had found to solve the problem was to delete the fastresume file. however i indicated that since the number of torrent that i have in my list was smaller, that i had deleted all the fastresume file, it was deleting the torrent from the displayed list. so the one who solved the problem like that didn't really solve it since he lost a torrent
Hence my question to know if it is really the fastresume file that is the problem
Translated with www.DeepL.com/Translator (free version)
@agasthene commented on GitHub (Jan 11, 2022):
I had also announced that I had not tested the forcing of the verification with another torrent which did not pose any problem. thing made but not in the same condition of departure and I do not have problem of crash.
Concerning the torrent in question that I sent you. if I had problems of reading and writing (e/s) with these files and the fast resume option, I forced a recheck with the sqlite option. under this option it did not pose any problem.
@sledgehammer999 commented on GitHub (Jan 11, 2022):
@agasthene can you post the sections from the log file that were written when you run 4.4.0 and it crashed? It might contain info that will help us diagnose the issue.
Be sure to censor stuff like torrent hashes, torrent names, IP addresses etc.
By default the log is in
C:\Users\username\AppData\Local\qBittorrent\logs.@norilor commented on GitHub (Jan 11, 2022):
I don't, unfortunately.
And the torrents provided above work fine for me too.
@agasthene commented on GitHub (Jan 11, 2022):
le fichier log ne répertorie pas le problème spécifique, je vous ai mis aussi les fihcier bak
the log file does not list the specific problem, I also put the bak files
Uploading qbittorrent.zip…
@sledgehammer999 commented on GitHub (Jan 11, 2022):
@agasthene the upload hasn't completed. Can you post it again?
@agasthene commented on GitHub (Jan 11, 2022):
qbittorrent.zip
@sledgehammer999 commented on GitHub (Jan 11, 2022):
@glassez I located these in the logs which are in french.
which I think translates to:
and
which translates to:
The first error affects 2 torrents. The second error appears for 3 torrents (the 2 previous and one more).
@sledgehammer999 commented on GitHub (Jan 11, 2022):
@agasthene do you save your torrents under
D:\Downloads\andF:\Download\? Are those file paths correct?@glassez commented on GitHub (Jan 12, 2022):
Close it since there are too many duplicates.
@agasthene commented on GitHub (Jan 12, 2022):
if there are many crashes listed, they don't all have the same cause.
this topic is the most commented about this reading problem.
If there are duplicates there should be a merge
and to answer the previous question, there are 2 different directories for different torrents.
@glassez commented on GitHub (Jan 12, 2022):
You are personally discussing a problem different from the one described by the author of this topic.