Bug 442461 - Kget Crashes when starting a torrent
Summary: Kget Crashes when starting a torrent
Status: REPORTED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-15 06:40 UTC by owsla
Modified: 2021-10-11 01:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.86 KB, text/plain)
2021-10-11 01:31 UTC, spiersad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description owsla 2021-09-15 06:40:35 UTC
Application: kget (21.4.1)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.14-200.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: Fedora 34 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
1. clicked on torrent file in Dolphin
2. Went with the default suggested app (Kget)
3. click to start 
4. kget crashes

The torrent file is 7.17G ISO of Garuda Linux Gradognized Gaming Edition (https://garudalinux.org/downloads.html)

Download of torrent was successful with KTorrent.

The crash can be reproduced every time.

-- Backtrace:
Application: KGet (kget), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7c94b21b52 in QString::~QString() [clone .lto_priv.0] () from /lib64/libKF5Torrent.so.6
#5  0x00007f7c94b79898 in bt::TorrentControl::loadStats() () from /lib64/libKF5Torrent.so.6
#6  0x00007f7c94b72375 in bt::TorrentControl::continueStart() () from /lib64/libKF5Torrent.so.6
#7  0x00007f7c94c93326 in BTTransfer::startTorrent() () from /usr/lib64/qt5/plugins/kget/kget_bittorrent.so
#8  0x00007f7c94c952ff in BTTransfer::btTransferInit(QUrl const&, QByteArray const&) () from /usr/lib64/qt5/plugins/kget/kget_bittorrent.so
#9  0x00007f7c94c95f2d in BTTransfer::start() () from /usr/lib64/qt5/plugins/kget/kget_bittorrent.so
#10 0x00007f7cab374bd2 in Scheduler::updateQueue(JobQueue*) () from /lib64/libkgetcore.so.5
#11 0x00007f7cab36305d in JobQueue::append(QList<Job*> const&) () from /lib64/libkgetcore.so.5
#12 0x00007f7cab37fbee in TransferGroup::append(QList<Transfer*> const&) () from /lib64/libkgetcore.so.5
#13 0x00007f7cab376b02 in TransferTreeModel::addTransfers(QList<Transfer*> const&, TransferGroup*) () from /lib64/libkgetcore.so.5
#14 0x00007f7cab36925d in KGet::createTransfers(QList<KGet::TransferData> const&) () from /lib64/libkgetcore.so.5
#15 0x00005574f2dc6f89 in NewTransferDialog::dialogAccepted (this=0x5574f486d1f0) at /usr/src/debug/kget-21.04.1-1.fc34.x86_64/ui/newtransferdialog.cpp:459
#16 0x00005574f2dc753e in NewTransferDialog::slotFinished (this=0x5574f486d1f0, resultCode=<optimized out>) at /usr/src/debug/kget-21.04.1-1.fc34.x86_64/ui/newtransferdialog.cpp:393
#17 0x00007f7ca98c73a9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#18 0x00007f7caa7cc052 in QDialog::finished(int) () from /lib64/libQt5Widgets.so.5
#19 0x00007f7ca98c73a9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#20 0x00007f7caa75e950 in QDialogButtonBoxPrivate::_q_handleButtonClicked() () from /lib64/libQt5Widgets.so.5
#21 0x00007f7ca98c73f0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007f7caa6b2516 in QAbstractButton::clicked(bool) () from /lib64/libQt5Widgets.so.5
#23 0x00007f7caa6b279e in QAbstractButtonPrivate::emitClicked() () from /lib64/libQt5Widgets.so.5
#24 0x00007f7caa6b43c4 in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#25 0x00007f7caa6b45e7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#26 0x00007f7caa5ffe7e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#27 0x00007f7caa5bd443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007f7caa5c5074 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007f7ca9893798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#30 0x00007f7caa5c3b57 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#31 0x00007f7caa619450 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007f7caa61c6e5 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#33 0x00007f7caa5bd443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007f7ca9893798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#35 0x00007f7ca9e42ba8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#36 0x00007f7ca9e22c9c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#37 0x00007f7c96c5e11e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#38 0x00007f7ca72b24cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#39 0x00007f7ca73064f8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#40 0x00007f7ca72afc03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#41 0x00007f7ca98e4b78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#42 0x00007f7ca98921a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#43 0x00007f7ca989a6e4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#44 0x00005574f2da2d6b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kget-21.04.1-1.fc34.x86_64/main.cpp:186
[Inferior 1 (process 26136) detached]

The reporter indicates this bug may be a duplicate of or related to bug 259085.

Possible duplicates by query: bug 291606, bug 268435, bug 259085, bug 256091, bug 169222.

Reported using DrKonqi
Comment 1 spiersad 2021-10-11 01:31:24 UTC
Created attachment 142322 [details]
New crash information added by DrKonqi

kget (21.4.1) using Qt 5.15.2

Crash while attempting to open directly to ktorrent via firefox browser.

.torrent from this location: https://archlinux.org/releng/releases/2021.10.01/torrent/

page with link here: https://archlinux.org/download/

-- Backtrace (Reduced):
#5  0x00007f08a47a8898 in bt::TorrentControl::loadStats() () from /lib64/libKF5Torrent.so.6
#6  0x00007f08a47a1375 in bt::TorrentControl::continueStart() () from /lib64/libKF5Torrent.so.6
#7  0x00007f08a48bf326 in BTTransfer::startTorrent() () from /usr/lib64/qt5/plugins/kget/kget_bittorrent.so
#8  0x00007f08a48c12ff in BTTransfer::btTransferInit(QUrl const&, QByteArray const&) () from /usr/lib64/qt5/plugins/kget/kget_bittorrent.so
#9  0x00007f08a48c1f2d in BTTransfer::start() () from /usr/lib64/qt5/plugins/kget/kget_bittorrent.so