Summary: | KTorrent crashes when last torrent is deleted | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | solorider <nadeem> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | REPORTED --- | ||
Severity: | crash | CC: | A.Fettouhi, alexey.min, andresmartin153, danshep45, davidoso1976, franz, kde, leon1708, lyndhurst.1, matthieu.vergne, norton.miller, peto.petersk, rooksy, st_roum, travneff, yodebs |
Priority: | VHI | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=383127 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
solorider
2018-01-11 13:07:30 UTC
I can confirm this bug on Arch Linux. I've had this issue for well over a year now with ktorrent. I think that the issue already existed back in the 4.x version. I happens every time I delete the very last torrent I've downloaded. *** Bug 390315 has been marked as a duplicate of this bug. *** Created attachment 117785 [details]
New crash information added by DrKonqi
ktorrent (5.1.0) using Qt 5.9.5
- What I was doing when the application crashed:
Removed all completeted torrents (without data) in the gui.
-- Backtrace (Reduced):
#7 0x00007f79ee0d505c in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f79ee0d3edc in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f79ee1165e2 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f79ee11bb1d in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f79ee1205c5 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> Removed all completeted torrents (without data) in the gui.
I meant also that I removed all torrents (all were completed)
Created attachment 119094 [details]
New crash information added by DrKonqi
ktorrent (5.1.1) using Qt 5.11.1
- What I was doing when the application crashed: I removed the last torrent from the list. Ktorrent crashes every time i do that.
-- Backtrace (Reduced):
#7 0x00007f759509618c in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f75950950a7 in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f75950d7562 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f75950dc777 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f75950e1135 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Created attachment 120201 [details]
New crash information added by DrKonqi
ktorrent (5.1.1) using Qt 5.11.3
- What I was doing when the application crashed:
had removed last torrent from queue after completion. KTorrent showed torrents as 0/1. Crashed when I attempted to change from Magnet to Queue Manager view.
- Custom settings of the application:
one active torrent allowed
-- Backtrace (Reduced):
#7 0x00007f9ba7f4145c in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f9ba7f40377 in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f9ba7f82922 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f9ba7f87a47 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f9ba7f8c483 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
*** Bug 412324 has been marked as a duplicate of this bug. *** *** Bug 412510 has been marked as a duplicate of this bug. *** *** Bug 414403 has been marked as a duplicate of this bug. *** Created attachment 126991 [details]
New crash information added by DrKonqi
ktorrent (5.1.0) using Qt 5.9.5
- What I was doing when the application crashed:
I was going to delete a torrent already downloaded and it crashed.
- Unusual behavior I noticed:
Just after click to delete the torrent application freezes and sudenly crashed. When i reopen ktorrent again it shows no torrents on the main list.
-- Backtrace (Reduced):
#7 0x00007f440370a0ac in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f4403708f2c in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007f440374b632 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f4403750b6d in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f4403755615 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
*** Bug 419367 has been marked as a duplicate of this bug. *** *** Bug 419693 has been marked as a duplicate of this bug. *** *** Bug 419571 has been marked as a duplicate of this bug. *** Created attachment 129002 [details]
New crash information added by DrKonqi
ktorrent (5.1.2) using Qt 5.14.2
- What I was doing when the application crashed:
When I started KTorrent it said that torrent file was missing, and suggested to recreate it. I refused (Cancel), and deleted torrent (rclick -> delete torrent + data). KTorrent crashed. After restart torrent was not present in list, so I could not reproduce the crash..
-- Backtrace (Reduced):
#6 bt::TorrentInterface::getDisplayName (this=0x5556f80e5610) at /usr/include/qt5/QtCore/qstring.h:942
#7 kt::QueueManagerModel::data (this=<optimized out>, index=..., role=<optimized out>) at /usr/src/debug/net-p2p/ktorrent-5.1.2-r2/ktorrent-5.1.2/ktorrent/tools/queuemanagermodel.cpp:235
#8 0x00007f47a86f3684 in QModelIndex::data (arole=0, this=0x7ffc67c35450) at /usr/src/debug/dev-qt/qtwidgets-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:460
#9 QStyledItemDelegate::initStyleOption (this=0x5556f81fdb70, option=0x7ffc67c352f0, index=...) at /usr/src/debug/dev-qt/qtwidgets-5.14.2/qtbase-everywhere-src-5.14.2/src/widgets/itemviews/qstyleditemdelegate.cpp:345
#10 0x00007f47a86f2c57 in QStyledItemDelegate::sizeHint (this=0x5556f81fdb70, option=..., index=...) at /usr/src/debug/dev-qt/qtwidgets-5.14.2/qtbase-everywhere-src-5.14.2/src/widgets/itemviews/qstyleditemdelegate.cpp:410
*** Bug 429599 has been marked as a duplicate of this bug. *** *** Bug 429495 has been marked as a duplicate of this bug. *** Have similar crash on Fedora 33, ktorrent-5.2.0-5.fc33.x86_64 Started ktorrent with 3 active torrents, all on absent storage (forgot to mount it). Called exit from ktorrent and it crashed after this. Might be same: bug #429951 Application: KTorrent (ktorrent), signal: Segmentation fault [KCrash Handler] #4 0x00007fd8e5dd8c98 in vtable for __cxxabiv1::__si_class_type_info () from /lib64/libstdc++.so.6 #5 0x0000562a52cf60ed in kt::ViewModel::data(QModelIndex const&, int) const () #6 0x00007fd8e6d89034 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /lib64/libQt5Widgets.so.5 #7 0x00007fd8e6d887ea in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /lib64/libQt5Widgets.so.5 #8 0x0000562a52cf8930 in kt::ViewDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () #9 0x00007fd8e6dcb0ce in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /lib64/libQt5Widgets.so.5 #10 0x00007fd8e6dd234c in QTreeViewPrivate::layout(int, bool, bool) () from /lib64/libQt5Widgets.so.5 #11 0x00007fd8e6dd81b1 in QTreeView::doItemsLayout() () from /lib64/libQt5Widgets.so.5 #12 0x00007fd8e6dcff6d in QTreeViewPrivate::updateScrollBars() () from /lib64/libQt5Widgets.so.5 #13 0x00007fd8e6dd9bf5 in QTreeView::updateGeometries() () from /lib64/libQt5Widgets.so.5 #14 0x00007fd8e609a3c0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #15 0x00007fd8e6d7c4de in QHeaderView::viewportEvent(QEvent*) () from /lib64/libQt5Widgets.so.5 #16 0x00007fd8e606a995 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #17 0x00007fd8e6affeb2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #18 0x00007fd8e606abd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #19 0x00007fd8e6b3b8b3 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #20 0x00007fd8e6b3b8a0 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #21 0x00007fd8e6b3b8a0 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #22 0x00007fd8e6b3b8a0 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #23 0x00007fd8e6b3b8a0 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #24 0x00007fd8e6b3b8a0 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #25 0x00007fd8e6b3b8a0 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #26 0x00007fd8e6b3b8a0 in QWidgetPrivate::hideChildren(bool) () from /lib64/libQt5Widgets.so.5 #27 0x00007fd8e6b3ba8f in QWidgetPrivate::hide_helper() () from /lib64/libQt5Widgets.so.5 #28 0x00007fd8e6b40858 in QWidgetPrivate::setVisible(bool) () from /lib64/libQt5Widgets.so.5 #29 0x00007fd8e6b3be42 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /lib64/libQt5Widgets.so.5 #30 0x00007fd8e6b3c41c in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5 #31 0x0000562a52c9c46c in kt::GUI::~GUI() () #32 0x0000562a52c82a9f in main () [Inferior 1 (process 3041) detached] Git it again on same scenario: start with storage not available, exit. Similar: bug# 433869, bug#409848 *** Bug 454454 has been marked as a duplicate of this bug. *** |