mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
qBittorrent takes a long time to close #12260
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#12260
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 @tuxayo on GitHub (Jul 8, 2021).
Bug report
Checklist
Description
It's a follow up of #5097 I finally got to reproduce a long closure case with asio-debugging enabled.
qBittorrent info and operating system(s)
If on Linux,
libtorrent-rasterbarandQtversionsDetailed steps to reproduce the problem
What is the expected behavior
Closing in less than 10sec. Not sure if that's a reasonable expectation but a too long time hinders closing and restarting QBT when needing to wait it to close for a too long time.
Extra info (if any)
Source based package for libtorrent:
https://aur.archlinux.org/packages/libtorrent-rasterbar-1_2-git/
With the addition of this build flag
-DCMAKE_CXX_FLAGS=-DTORRENT_ASIO_DEBUGGINGAbout the logs. QBT spends by far most of the time in the last "Waiting to shut down EXPECTS NO MORE ASYNC OPS"
The Waiting to shut down number can range from 2 to 23 after a few tries.
The measured timed ranges from 2:30 to 3 min
Attachments
terminal logs
In
~/.local/share/data/qBittorrent/the only new log line when ordering QBT to close is(I) 2021-07-08T19:19:36 - UPnP / NAT-PMP support [OFF]@FranciscoPombal commented on GitHub (Jul 9, 2021):
@arvidn ping.
@xavier2k6 commented on GitHub (Sep 30, 2024):
Version is obsolete.
Thank you for your contribution, we are starting to close all old/stale/obsolete tickets.
Please update to latest qBittorrent 5.0.0 ATTOW.
If any issues are experienced, please open a new ticket.