mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
crash when not enough space #15875
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#15875
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 @Obegg on GitHub (Jun 28, 2024).
qBittorrent & operating system versions
qBittorrent-CI_Windows-x64_libtorrent-2.0.10-setup (https://github.com/qbittorrent/qBittorrent/actions/runs/9710064895)
Qt: 6.7.0
Libtorrent: 2.0.10.0
Boost: 1.85.0
OpenSSL: 3.3.1
zlib: 1.3.1
What is the problem?
if there's not enough storage qbit will crash
Steps to reproduce
Additional context
I changed every title on the log file to "GitHub" just for privacy reasons
Log(s) & preferences file(s)
@thalieht commented on GitHub (Jun 28, 2024):
If you want to help by providing a stacktrace https://github.com/qbittorrent/qBittorrent/issues/20869#issuecomment-2168749126
@stalkerok commented on GitHub (Jun 28, 2024):
Can't reproduce, client reported insufficient disk space, didn't crash out. Need more information.
@Obegg commented on GitHub (Jun 28, 2024):
I think you should it add to the wiki because I did want to attach a more detailed crash report, but couldn't find anything on the wiki.
Better yet - add it to the issue template on GitHub.
Mmm, maybe try setting a
Default Save Pathto one location and enable theUse another path for incomplete torrentsand set it a different hard drive?I think the
Default Save Pathdrive should be low space in order to reproduce it.Also maybe enable
Pre-allocate disk space for all files?Also maybe enable
Seeding LimitstoRemove torrentwhen (the 3 options) are0?Other than that I just maximized every value possible in the
Advancedtab, but I don't think those settings are the reason qbit crashes, the only time (well, two times) qbit crashed (while I was using the CI windows build) was when I had low storage.Anyway - I "downgraded" to the more stable 4.6.5 version, because I noticed that some downloads did not move from the first hard drive to the second hard drive (when qbit crashed those two times when low I had low storage space).
I also cleared some space after I opened this issue so I'll need to re-fill the hard drive in order to reproduce it.
So I'm not sure if I should close this issue or keep it open till someone (other than me) reproduces it.
@stalkerok commented on GitHub (Jun 29, 2024):
Need clear steps to reproduce, without maybe.
@xavier2k6 commented on GitHub (Jun 30, 2024):
@Obegg In any case it would be most helpful & highly appreciated if you could try to produce a valid stack trace from instructions/method in https://github.com/qbittorrent/qBittorrent/issues/20869#issuecomment-2168749126
@zwei7 commented on GitHub (Jul 15, 2024):
Got this problem too with qbittorrent v4.6.5
To recreate:
On a related note about recreating the insufficient space problem, if you download 2 differently named torrents, let's say ABC and XYZ and their files and folder structures are identical, they will fight and try to overwrite one another. Fighting causes Qbittorrent to have a harddrive memory leak (not ram leak, hard drive leak) and use up all your free space. The only way to fix it is to restart qbittorrent and your free space will increase back to sane levels, then you delete either torrent ABC or XYZ or both to stop the hard drive memory leak.
This leak leads to no free space and leads to a crash.
@xavier2k6 commented on GitHub (Jul 15, 2024):
@zwei7 see https://github.com/qbittorrent/qBittorrent/issues/21008#issuecomment-2198499842
@xavier2k6 commented on GitHub (Aug 14, 2024):
@Obegg @zwei7 Ping!
@Obegg commented on GitHub (Aug 14, 2024):
As I mentioned in https://github.com/qbittorrent/qBittorrent/issues/21008#issuecomment-2197643620 - I no longer use the unstable master release, I use the latest stable release which is 4.6.5, and I would also need to fill up the disk so this would be even more likely to happen in the future
@zwei7 commented on GitHub (Aug 17, 2024):
Using the same qbittorrent v4.6.5 client I was able to reproduce this crash.
I think it might be due to the fact that I have like +700 RSS download rules and +25k torrents as well.
But this time I have 400-500 GB of free space (the torrents never created a 0 GB no free space scenario) and it still crashes if you wait long enough and interact with it (by opening qbittorent from the bottom right tray) as mentioned in my earlier post on July 15 2024.
@xavier2k6 commented on GitHub (Aug 23, 2024):
@zwei7 If you can reproduce the crash with latest stable 4.6.6 then it would be most beneficial to us to obtain a stack trace/crash report with symbols.
@zwei7 commented on GitHub (Aug 23, 2024):
Tried Version 4.6.6 and is more stable than 4.6.5.
Takes 3 days vs. 1 day to crash
Actually that 3 day was an outlier, back to crashing once every 24 hours.
@zwei7 commented on GitHub (Aug 31, 2024):
I got the stacktrace of a crash, but the .dump file is 3.69gb and I got 28MB of log files (7 logs). Which do you need cause that dump file is huge. how would you normally want it sent to github for review?
@luzpaz commented on GitHub (Aug 31, 2024):
@zwei7 Large files can be uploaded too 3rd party download sites i.e. dropbox, google drive, proton drive etc...
@zwei7 commented on GitHub (Aug 31, 2024):
Ok well here you go, the crash stacktrace, will self destruct after downloaded 50 times and may expire on sept 21
https://filetransfer.io/data-package/gfQtpz0U#link
@xavier2k6 commented on GitHub (Sep 1, 2024):
@zwei7 Thank you, downloaded - haven't looked through them yet.
@Danny3 commented on GitHub (Oct 22, 2024):
On Linux (Debian 12) when running out of space it doesn't crashes.
But it also doesn't stop trying to download that and other files and gives lots of notifications.
I wish that after the first error about running out of space, all downloads will be halted until more space is available instead of showing a lot of notifications and polluting the Execution log!
@bogorad commented on GitHub (Mar 3, 2025):
Need to have a clear diagnostic: running out of free space, download failed!
@zwei7 commented on GitHub (Mar 3, 2025):
qbittorrent no longer crashes, but I also have ample disk space since I deleted things and I updated to qbittorrent 5.0.4