mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
after closing main window, QBT doesn't tereminate for many minutes #5418
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#5418
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 @Kervius on GitHub (Apr 8, 2017).
Please provide the following information
qBittorrent version and Operating System:
qbittorrent 3.3.10-0ppa1~trusty1
Ubuntu 14.04, 64bit
If on linux, libtorrent and Qt version:
libtorrent-rasterbar8 1.0.11+git20172002.ecd20f15cb-1ppa1~trusty1
libqt5core5a:amd64 5.2.1+dfsg-1ubuntu14.3
libqtcore4:amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
What is the problem:
Sometimes, QBT doesn't terminate after the main window has been closed. The window closes, but the process remains in the background, for some very long time.
Expected behavior:
QBT terminates cleanly, within reasonable time - e.g. several seconds - after the main window has been closed.
Steps to reproduce:
Happens sporadically. Can't localize.
Extra info(if any):
I have yet to have any data loss issues due to this problems: 10+ seconds later,
pkill -KILL qbittorrentdoesn't seem to cause any issues, and QBT restarts later without any sideeffects.From the hanging process, with gdb, I have extracted the threads info:
@Kervius commented on GitHub (Apr 8, 2017):
Just to clarify. I have never waited longer than 10-15 minutes for QBT to terminate. I'm either killing it explicitly, or implicitly when rebooting VM. Thus I can't be sure whether it is hard infinite hang, or just a wait for a rare event.
P.S. QBT is hanging now for 10+ minutes - and there is still no change in the list of the threads.
@thalieht commented on GitHub (Apr 8, 2017):
Known issue, see #5097, libtorrent waiting for DNS lookups, i mean i hope that is all it is waiting for... Should get better when libtorrent 1.1.x is adopted.
Although 1.1.x is not officially supported yet i too had trouble with long exits if i don't limit
Max Connections even with 1.1.x (VM as well). With a few Max Connections, no problem, in fact i never had problem with long exits when using few Max Connections even with libtorrent 0.16.x.
@zeule commented on GitHub (Apr 8, 2017):
Yes, this is a duplicate of #5097. For me one of the boost updates fixed it.