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

Delete/copy .torrent file after complete crashes process #21396

Open
tayl opened this issue Sep 26, 2024 · 2 comments
Open

Delete/copy .torrent file after complete crashes process #21396

tayl opened this issue Sep 26, 2024 · 2 comments

Comments

@tayl
Copy link

tayl commented Sep 26, 2024

qBittorrent & operating system versions

qbittorrent-nox 4.6.7 64-bit
qBittorrent was built with the following libraries:
Qt: 6.7.2
Libtorrent: 1.2.19.0
Boost: 1.86.0
OpenSSL: 3.3.2
zlib: 1.3.1.zlib-ng

What is the problem?

If "Delete .torrent files afterwards" is enabled, but the .torrent file is not where expected at the time the torrent finishes, the process crashes. This may affect the function that copies .torrent files afterwards as well.

Ideally, the error would be caught and logged, rather than crashing the process.

Steps to reproduce

Have the setting enabled
Start a torrent
Delete the .torrent file
When it finishes, the process crashes

Additional context

No response

Log(s) & preferences file(s)

No response

@glassez
Copy link
Member

glassez commented Sep 26, 2024

If "Delete .torrent files afterwards" is enabled, but the .torrent file is not where expected at the time the torrent finishes

What .torrent file do you talk about?
"Delete .torrent files afterwards" is about source .torrent file. qBittorrent doesn't reference source .torrent files after torrent is added (it stores torrent metadata internally).

@glassez
Copy link
Member

glassez commented Sep 26, 2024

Ideally, the error would be caught and logged, rather than crashing the process.

Try to run qBittorrent within terminal and reproduce this issue. Correctly compiled qBittorrent should print crash info with stack trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants