crash when clicking on torrent in the list #10310

Closed
opened 2026-02-21 20:41:22 -05:00 by deekerman · 4 comments
Owner

Originally created by @alex-tee on GitHub (Apr 27, 2020).

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.2.1, GuixSD GNU/Linux

If on linux, libtorrent-rasterbar and Qt version

libtorrent-rasterbar: 1.1.14
qtbase: 5.12.7

What is the problem

clicking on a specific torrent crashes

What is the expected behavior

no crash

Steps to reproduce

click on a specific torrent

Extra info(if any)

CURRENT CHANGED
Clearing torrent properties
clear called
clear called
Loading URL seeds
setup model data called
Torrent contains 65 files
Updating priorities in files tab
ASSERT: "m_availability <= 1." in file gui/torrentcontentmodelfile.cpp, line 79


*************************************************************
Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.2.1

Caught signal: SIGABRT
Stack trace:
  /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 : gsignal()+0xca  [0x7fa870f857fa]
  /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 : abort()+0x141  [0x7fa870f86891]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : qErrnoWarning(char const*, ...)+0  [0x7fa8714f79ff]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : qt_assert_x(char const*, char const*, char const*, int)+0  [0x7fa8714f7321]
  /home/alex/.guix-profile/bin/qbittorrent() [0x6bba81]
  /home/alex/.guix-profile/bin/qbittorrent : TorrentContentModel::updateFilesAvailability(QVector<double> const&)+0x9b  [0x6b9deb]
  /home/alex/.guix-profile/bin/qbittorrent : PropertiesWidget::loadDynamicData()+0x11b  [0x5f82db]
  /home/alex/.guix-profile/bin/qbittorrent : PropertiesWidget::loadTorrentInfos(BitTorrent::TorrentHandle*)+0x31d  [0x5f998d]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QMetaObject::activate(QObject*, int, int, void**)+0x834  [0x7fa871712954]
  /home/alex/.guix-profile/bin/qbittorrent : TransferListWidget::currentTorrentChanged(BitTorrent::TorrentHandle*)+0x2f  [0x7377cf]
  /home/alex/.guix-profile/bin/qbittorrent : TransferListWidget::currentChanged(QModelIndex const&, QModelIndex const&)+0xaa  [0x6d80aa]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QMetaObject::activate(QObject*, int, int, void**)+0x73a  [0x7fa87171285a]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&)+0x2a  [0x7fa87169c7fa]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>)+0xa6  [0x7fa87169c9c6]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QAbstractItemView::mousePressEvent(QMouseEvent*)+0x32c  [0x7fa8725948bc]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QTreeView::mousePressEvent(QMouseEvent*)+0x18b  [0x7fa8725fe48b]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QWidget::event(QEvent*)+0x9d9  [0x7fa872395f69]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QFrame::event(QEvent*)+0x1e  [0x7fa8724355be]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QAbstractItemView::viewportEvent(QEvent*)+0x18c  [0x7fa87259946c]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QTreeView::viewportEvent(QEvent*)+0x2c  [0x7fa8725fdf9c]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)+0x9d  [0x7fa8716e417d]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x75  [0x7fa872357c75]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplication::notify(QObject*, QEvent*)+0xe28  [0x7fa87235f8d8]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118  [0x7fa8716e43e8]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)+0x1cc  [0x7fa87235e2dc]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : ()+0x1c28a6  [0x7fa8723af8a6]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : ()+0x1c540e  [0x7fa8723b240e]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x9c  [0x7fa872357c9c]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplication::notify(QObject*, QEvent*)+0x2c0  [0x7fa87235ed70]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118  [0x7fa8716e43e8]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Gui.so.5 : QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)+0x6bd  [0x7fa871d278dd]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Gui.so.5 : QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)+0x105  [0x7fa871d28c75]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Gui.so.5 : QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0xbb  [0x7fa871d03f8b]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5 : ()+0x6a06a  [0x7fa86e54e06a]
  /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6/lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x2c7  [0x7fa86ed31787]
  /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6/lib/libglib-2.0.so.0 : ()+0x50998  [0x7fa86ed31998]
  /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6/lib/libglib-2.0.so.0 : g_main_context_iteration()+0x2c  [0x7fa86ed31a1c]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x5f  [0x7fa87173e36f]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x12a  [0x7fa8716e2c2a]
  /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplication::exec()+0x80  [0x7fa8716eb730]
  /home/alex/.guix-profile/bin/qbittorrent : Application::exec(QStringList const&)+0x2e7  [0x4f8ed7]
  /home/alex/.guix-profile/bin/qbittorrent : main()+0x38b  [0x4ef5db]
  /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 : __libc_start_main()+0xe7  [0x7fa870f72b37]
  /home/alex/.guix-profile/bin/qbittorrent : _start()+0x2a  [0x4f406a]
Consider installing debug symbols for packages containing files with empty function names (i.e. empty braces "()") to make your stack trace more useful
[1]    4639 abort      qbittorrent
Originally created by @alex-tee on GitHub (Apr 27, 2020). **Please provide the following information** ### qBittorrent version and Operating System qBittorrent v4.2.1, GuixSD GNU/Linux ### If on linux, libtorrent-rasterbar and Qt version libtorrent-rasterbar: 1.1.14 qtbase: 5.12.7 ### What is the problem clicking on a specific torrent crashes ### What is the expected behavior no crash ### Steps to reproduce click on a specific torrent ### Extra info(if any) ``` CURRENT CHANGED Clearing torrent properties clear called clear called Loading URL seeds setup model data called Torrent contains 65 files Updating priorities in files tab ASSERT: "m_availability <= 1." in file gui/torrentcontentmodelfile.cpp, line 79 ************************************************************* Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.2.1 Caught signal: SIGABRT Stack trace: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 : gsignal()+0xca [0x7fa870f857fa] /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 : abort()+0x141 [0x7fa870f86891] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : qErrnoWarning(char const*, ...)+0 [0x7fa8714f79ff] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : qt_assert_x(char const*, char const*, char const*, int)+0 [0x7fa8714f7321] /home/alex/.guix-profile/bin/qbittorrent() [0x6bba81] /home/alex/.guix-profile/bin/qbittorrent : TorrentContentModel::updateFilesAvailability(QVector<double> const&)+0x9b [0x6b9deb] /home/alex/.guix-profile/bin/qbittorrent : PropertiesWidget::loadDynamicData()+0x11b [0x5f82db] /home/alex/.guix-profile/bin/qbittorrent : PropertiesWidget::loadTorrentInfos(BitTorrent::TorrentHandle*)+0x31d [0x5f998d] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QMetaObject::activate(QObject*, int, int, void**)+0x834 [0x7fa871712954] /home/alex/.guix-profile/bin/qbittorrent : TransferListWidget::currentTorrentChanged(BitTorrent::TorrentHandle*)+0x2f [0x7377cf] /home/alex/.guix-profile/bin/qbittorrent : TransferListWidget::currentChanged(QModelIndex const&, QModelIndex const&)+0xaa [0x6d80aa] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QMetaObject::activate(QObject*, int, int, void**)+0x73a [0x7fa87171285a] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&)+0x2a [0x7fa87169c7fa] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>)+0xa6 [0x7fa87169c9c6] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QAbstractItemView::mousePressEvent(QMouseEvent*)+0x32c [0x7fa8725948bc] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QTreeView::mousePressEvent(QMouseEvent*)+0x18b [0x7fa8725fe48b] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QWidget::event(QEvent*)+0x9d9 [0x7fa872395f69] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QFrame::event(QEvent*)+0x1e [0x7fa8724355be] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QAbstractItemView::viewportEvent(QEvent*)+0x18c [0x7fa87259946c] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QTreeView::viewportEvent(QEvent*)+0x2c [0x7fa8725fdf9c] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)+0x9d [0x7fa8716e417d] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x75 [0x7fa872357c75] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplication::notify(QObject*, QEvent*)+0xe28 [0x7fa87235f8d8] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118 [0x7fa8716e43e8] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)+0x1cc [0x7fa87235e2dc] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : ()+0x1c28a6 [0x7fa8723af8a6] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : ()+0x1c540e [0x7fa8723b240e] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x9c [0x7fa872357c9c] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Widgets.so.5 : QApplication::notify(QObject*, QEvent*)+0x2c0 [0x7fa87235ed70] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118 [0x7fa8716e43e8] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Gui.so.5 : QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)+0x6bd [0x7fa871d278dd] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Gui.so.5 : QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)+0x105 [0x7fa871d28c75] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Gui.so.5 : QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0xbb [0x7fa871d03f8b] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5 : ()+0x6a06a [0x7fa86e54e06a] /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6/lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x2c7 [0x7fa86ed31787] /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6/lib/libglib-2.0.so.0 : ()+0x50998 [0x7fa86ed31998] /gnu/store/b8pr2k0i2zd07zmb7kpffmcimqi337if-glib-2.60.6/lib/libglib-2.0.so.0 : g_main_context_iteration()+0x2c [0x7fa86ed31a1c] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x5f [0x7fa87173e36f] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x12a [0x7fa8716e2c2a] /gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/libQt5Core.so.5 : QCoreApplication::exec()+0x80 [0x7fa8716eb730] /home/alex/.guix-profile/bin/qbittorrent : Application::exec(QStringList const&)+0x2e7 [0x4f8ed7] /home/alex/.guix-profile/bin/qbittorrent : main()+0x38b [0x4ef5db] /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 : __libc_start_main()+0xe7 [0x7fa870f72b37] /home/alex/.guix-profile/bin/qbittorrent : _start()+0x2a [0x4f406a] Consider installing debug symbols for packages containing files with empty function names (i.e. empty braces "()") to make your stack trace more useful [1] 4639 abort qbittorrent ```
deekerman 2026-02-21 20:41:22 -05:00
  • closed this issue
  • added the
    Crash
    Core
    labels
Author
Owner

@FranciscoPombal commented on GitHub (Apr 27, 2020):

https://github.com/qbittorrent/qBittorrent/blob/master/CONTRIBUTING.md

Before submitting a bug report

(...)

  • Check if you can reproduce the problem in the latest version of qBittorrent.
    (...)

In addition, use libtorrent 1.2.x, 4.2.x with libtorrent 1.1.x has been untested for a long time and support for libtorrent 1.1.x will be removed soon.

@FranciscoPombal commented on GitHub (Apr 27, 2020): https://github.com/qbittorrent/qBittorrent/blob/master/CONTRIBUTING.md > ## Before submitting a bug report > (...) > - Check if you can reproduce the problem in the latest version of qBittorrent. > (...) In addition, use libtorrent 1.2.x, 4.2.x with libtorrent 1.1.x has been untested for a long time and support for libtorrent 1.1.x will be removed soon.
Author
Owner

@Chocobo1 commented on GitHub (Apr 29, 2020):

@FranciscoPombal
Please don't dismiss reports too quickly. This one is interesting and the relevant code isn't much different between recent versions.
Also the rational you provided would falsely label this case into "true negative".

@Chocobo1 commented on GitHub (Apr 29, 2020): @FranciscoPombal Please don't dismiss reports too quickly. This one is interesting and the relevant code isn't much different between recent versions. Also the rational you provided would falsely label this case into "true negative".
Author
Owner

@xavier2k6 commented on GitHub (Feb 27, 2021):

@Chocobo1 Are you still interested in this or can it be locked now?

@xavier2k6 commented on GitHub (Feb 27, 2021): @Chocobo1 Are you still interested in this or can it be locked now?
Author
Owner

@Chocobo1 commented on GitHub (Feb 27, 2021):

@Chocobo1 Are you still interested in this or can it be locked now?

PR #12692 should have handled it.

@Chocobo1 commented on GitHub (Feb 27, 2021): >@Chocobo1 Are you still interested in this or can it be locked now? PR #12692 should have handled it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#10310
No description provided.