-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Is this a new report?
Yes
System Info
Void 6.12.43_1 x86_64 AuthenticAMD notuptodate rrrmFFFFFFFF
Package(s) Affected
qbittorrent-5.1.2_1, libtorrent-rasterbar-2.0.10_4
Does a report exist for this bug with the project's home (upstream) and/or another distro?
qbittorrent/qBittorrent#23206
qbittorrent/qBittorrent#23215
Note that a qBittorrent team member (xavier2k6) has recommended that I request libtorrent-rasterbar
to be updated to version 2.0.11 in the Void repos.
Expected behaviour
Selecting a pasued/stopped torrent and resuming it with Ctrl+S while the session is unpaused (Ctrl+Shift+S) should resume the torrent without issue. Same goes for resuming a session with resumed torrents.
Actual behaviour
qBittorrent crashes whenever I attempt to resume any torrent. When run in a terminal, the crash produces one of the two following outputs:
*************************************************************
Please file a bug report at https://bug.qbittorrent.org and provide the following information:
qBittorrent version: v5.1.2
Caught signal: SIGSEGV
```
0# getStacktrace[abi:cxx11]() in qbittorrent
1# 0x000055CE47CFE115 in qbittorrent
2# 0x00007FD5A6856110 in /usr/lib/libc.so.6
3# BitTorrent::TorrentImpl::updateTrackerEntryStatus(libtorrent::announce_entry const&, QHash<boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>, QMap<int, int> > const&) in qbittorrent
4# 0x000055CE47D71D24 in qbittorrent
5# QObject::event(QEvent*) in /usr/lib/libQt6Core.so.6
6# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /usr/lib/libQt6Widgets.so.6
7# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /usr/lib/libQt6Core.so.6
8# QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) in /usr/lib/libQt6Core.so.6
9# 0x00007FD5A7202917 in /usr/lib/libQt6Core.so.6
10# 0x00007FD5A64D5033 in /usr/lib/libglib-2.0.so.0
11# 0x00007FD5A64D8247 in /usr/lib/libglib-2.0.so.0
12# g_main_context_iteration in /usr/lib/libglib-2.0.so.0
13# QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) in /usr/lib/libQt6Core.so.6
14# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /usr/lib/libQt6Core.so.6
15# QCoreApplication::exec() in /usr/lib/libQt6Core.so.6
16# Application::exec() in qbittorrent
17# main in qbittorrent
18# 0x00007FD5A6840BFC in /usr/lib/libc.so.6
19# __libc_start_main in /usr/lib/libc.so.6
20# _start in qbittorrent
```
Segmentation fault
OR
*************************************************************
Please file a bug report at https://bug.qbittorrent.org and provide the following information:
qBittorrent version: v5.1.2
Caught signal: SIGSEGV
```
0# getStacktrace[abi:cxx11]() in qbittorrent
1# 0x000055DD542E7115 in qbittorrent
2# 0x00007FDB83656110 in /usr/lib/libc.so.6
3# QUtf8::convertToUnicode(char16_t*, QByteArrayView) in /usr/lib/libQt6Core.so.6
4# 0x00007FDB83E67645 in /usr/lib/libQt6Core.so.6
5# QString::fromUtf8(QByteArrayView) in /usr/lib/libQt6Core.so.6
6# BitTorrent::TorrentImpl::updateTrackerEntryStatus(libtorrent::announce_entry const&, QHash<boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>, QMap<int, int> > const&) in qbittorrent
7# 0x000055DD5435AD24 in qbittorrent
8# QObject::event(QEvent*) in /usr/lib/libQt6Core.so.6
9# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /usr/lib/libQt6Widgets.so.6
10# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /usr/lib/libQt6Core.so.6
11# QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) in /usr/lib/libQt6Core.so.6
12# 0x00007FDB84002917 in /usr/lib/libQt6Core.so.6
13# 0x00007FDB83387033 in /usr/lib/libglib-2.0.so.0
14# 0x00007FDB8338A247 in /usr/lib/libglib-2.0.so.0
15# g_main_context_iteration in /usr/lib/libglib-2.0.so.0
16# QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) in /usr/lib/libQt6Core.so.6
17# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /usr/lib/libQt6Core.so.6
18# QCoreApplication::exec() in /usr/lib/libQt6Core.so.6
19# Application::exec() in qbittorrent
20# main in qbittorrent
21# 0x00007FDB83640BFC in /usr/lib/libc.so.6
22# __libc_start_main in /usr/lib/libc.so.6
23# _start in qbittorrent
```
Segmentation fault
Steps to reproduce
- Ensuring Tools --> Preferences --> Advanced --> "Start BitTorrent session in a paused state" is checked, start qBittorrent in a terminal (
$ qbittorrent
). The qBittorrent window should appear but with the session paused ("[PAUSED]" appears in the window title) like expected. - Resume any single torrent by clicking it and then either pressing the Start button or pressing Ctrl+S.
- Try resuming the session either by either via Edit --> Resume Session or Ctrl+Shift+S.
Alternatively, you can first ensure all torrents are stopped, resume the session, and then try resuming any individual torrent. It will cause the same crash.