qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

crash - out of disk space

Open Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue 2 years ago • 5 comments

qBittorrent & operating system versions

image

v4.6.0 qt6 lt2

What is the problem?

client crashes with I/O error when disk where torrents are downloading is full

Steps to reproduce

fill disk download torrent observe crash

Additional context

No response

Log(s) & preferences file(s)

No response

@Uj947nXmRqV2nRaWshKtHzTvckUUpD Any actual crash report? or did it crash to desktop? Any qbittorrent.dmp files in %LOCALAPPDATA%\CrashDumps? Anything related to qbittorrent in eventvwr logs?

xavier2k6 avatar Oct 27 '23 21:10 xavier2k6

#18838 is related/relevant

xavier2k6 avatar Oct 31 '23 11:10 xavier2k6

@Uj947nXmRqV2nRaWshKtHzTvckUUpD please respond

luzpaz avatar Nov 17 '23 20:11 luzpaz

i didn't see any crash in that folder, nor any event. Today i ran again out of space, but this time the client didn't crash. But instead the torrent was put in upload mode. Don't know how to replicate exactly.

later edit: I tried replicating, by downloading a torrent larger than space left and this time qbittorrent crashed. As previously said, there's no crashdump or event. Opening the client again while no space on device will put the torrent in error state with error message: <Errored: Couldn't write to file. Reason: "There is not enough space on the disk". Torrent is now in "upload only" mode.> Afterwards i made space again, and tried replicating again third times, but the client didn't crash anymore, but instead torrent errored.

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

xavier2k6 avatar Jun 30 '24 09:06 xavier2k6

It would be most helpful & highly appreciated if you could try to produce a valid stack trace from instructions/method in #20869 (comment)

@Uj947nXmRqV2nRaWshKtHzTvckUUpD Ping!

xavier2k6 avatar Aug 14 '24 14:08 xavier2k6

Closing - No further feedback & no actual crash report provided.

xavier2k6 avatar Aug 23 '24 17:08 xavier2k6

I was able to re-test today on: Qt: 6.4.3 Libtorrent: 2.0.11.0 Boost: 1.86.0 OpenSSL: 1.1.1w zlib: 1.3.1

The client didn't crash anymore, and instead logged this error: - File error alert. Torrent: "<torrent_name>". File: "<PATH>". Reason: "<torrent_name> file_write (<PATH>) error: There is not enough space on the disk"

the torrent status changed to 'upload only' mode.

Thanks to all developers and everyone involved.