Application: ktorrent (5.1.0) Qt Version: 5.9.2 Frameworks Version: 5.41.0 Operating System: Linux 4.14.11-300.fc27.x86_64 x86_64 Distribution (Platform): Fedora RPMs -- Information about the crash: Tried to remove the last existing torrent listed in KTorrent The crash can be reproduced every time. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f91673aa940 (LWP 2457))] Thread 14 (Thread 0x7f90cf7fe700 (LWP 7968)): #0 0x00007f915f54243c in __lll_lock_wait_private () from /lib64/libc.so.6 #1 0x00007f915f4a79dc in _int_free () from /lib64/libc.so.6 #2 0x00007f91564a2476 in magazine_cache_push_magazine () from /lib64/libglib-2.0.so.0 #3 0x00007f91564a25a1 in private_thread_memory_cleanup () from /lib64/libglib-2.0.so.0 #4 0x00007f915a18a368 in __nptl_deallocate_tsd.part.5 () from /lib64/libpthread.so.0 #5 0x00007f915a18b75b in start_thread () from /lib64/libpthread.so.0 #6 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7f90cffff700 (LWP 7967)): #0 0x00007f915f54243c in __lll_lock_wait_private () from /lib64/libc.so.6 #1 0x00007f915f4a79dc in _int_free () from /lib64/libc.so.6 #2 0x00007f915648b4ae in g_free () from /lib64/libglib-2.0.so.0 #3 0x00007f915a18a368 in __nptl_deallocate_tsd.part.5 () from /lib64/libpthread.so.0 #4 0x00007f915a18b75b in start_thread () from /lib64/libpthread.so.0 #5 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7f9118d79700 (LWP 7964)): #0 0x00007f915f54243c in __lll_lock_wait_private () from /lib64/libc.so.6 #1 0x00007f915f4a79dc in _int_free () from /lib64/libc.so.6 #2 0x00007f91671ef00d in _dl_deallocate_tls () from /lib64/ld-linux-x86-64.so.2 #3 0x00007f915a18b512 in __free_tcb () from /lib64/libpthread.so.0 #4 0x00007f915a18b8d2 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7f9116f5a700 (LWP 7963)): #0 0x00007f915f54243c in __lll_lock_wait_private () from /lib64/libc.so.6 #1 0x00007f915f5ab264 in tcache_thread_freeres () from /lib64/libc.so.6 #2 0x00007f915f5abb92 in __libc_thread_freeres () from /lib64/libc.so.6 #3 0x00007f915a18b640 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7f9116759700 (LWP 7962)): #0 0x00007f915f54243c in __lll_lock_wait_private () from /lib64/libc.so.6 #1 0x00007f915f5ab264 in tcache_thread_freeres () from /lib64/libc.so.6 #2 0x00007f915f5abb92 in __libc_thread_freeres () from /lib64/libc.so.6 #3 0x00007f915a18b640 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f9114c52700 (LWP 2506)): #0 0x00007f915a191c4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f91601962eb in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5 #2 0x00007f9166bea523 in net::ReverseResolverThread::run() () from /lib64/libKF5Torrent.so.6 #3 0x00007f9160195b92 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #4 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #5 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f9115453700 (LWP 2505)): #0 0x00007f915f4f7ad0 in nanosleep () from /lib64/libc.so.6 #1 0x00007f9160391c2d in qt_nanosleep(timespec) () from /lib64/libQt5Core.so.5 #2 0x00007f9166be7778 in net::UploadThread::update() () from /lib64/libKF5Torrent.so.6 #3 0x00007f9166be7d19 in net::NetworkThread::run() () from /lib64/libKF5Torrent.so.6 #4 0x00007f9160195b92 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #5 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #6 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f9115c54700 (LWP 2504)): #0 0x00007f915f4f7ad0 in nanosleep () from /lib64/libc.so.6 #1 0x00007f9160391c2d in qt_nanosleep(timespec) () from /lib64/libQt5Core.so.5 #2 0x00007f9166be7cd8 in net::DownloadThread::update() () from /lib64/libKF5Torrent.so.6 #3 0x00007f9166be7d19 in net::NetworkThread::run() () from /lib64/libKF5Torrent.so.6 #4 0x00007f9160195b92 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #5 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #6 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f9127fff700 (LWP 2497)): #0 0x00007f9156484da9 in g_main_context_acquire () from /lib64/libglib-2.0.so.0 #1 0x00007f9156485d95 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #2 0x00007f9156485fec in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f916039235b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #4 0x00007f91603400ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #5 0x00007f91601918ba in QThread::exec() () from /lib64/libQt5Core.so.5 #6 0x00007f9160195b92 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #7 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #8 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f913daca700 (LWP 2492)): #0 0x00007f915f54243c in __lll_lock_wait_private () from /lib64/libc.so.6 #1 0x00007f915f4ad9be in realloc () from /lib64/libc.so.6 #2 0x00007f9160196609 in QArrayData::reallocateUnaligned(QArrayData*, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () from /lib64/libQt5Core.so.5 #3 0x00007f9160202d1a in QString::reallocData(unsigned int, bool) () from /lib64/libQt5Core.so.5 #4 0x00007f9160202da5 in QString::resize(int) () from /lib64/libQt5Core.so.5 #5 0x00007f9160208709 in QString::vasprintf(char const*, __va_list_tag*) () from /lib64/libQt5Core.so.5 #6 0x00007f9160181d2b in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () from /lib64/libQt5Core.so.5 #7 0x00007f9160182add in QMessageLogger::warning(char const*, ...) const () from /lib64/libQt5Core.so.5 #8 0x00007f91603921c9 in socketNotifierSourceCheck(_GSource*) () from /lib64/libQt5Core.so.5 #9 0x00007f9156485909 in g_main_context_check () from /lib64/libglib-2.0.so.0 #10 0x00007f9156485e80 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #11 0x00007f9156485fec in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #12 0x00007f916039233f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #13 0x00007f91603400ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #14 0x00007f91601918ba in QThread::exec() () from /lib64/libQt5Core.so.5 #15 0x00007f91616b2479 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5 #16 0x00007f9160195b92 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #17 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #18 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f913e4e7700 (LWP 2491)): #0 0x00007f915f52736b in poll () from /lib64/libc.so.6 #1 0x00007f9156485ed9 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #2 0x00007f9156486272 in g_main_loop_run () from /lib64/libglib-2.0.so.0 #3 0x00007f9142101b36 in gdbus_shared_thread_func () from /lib64/libgio-2.0.so.0 #4 0x00007f91564ad4c6 in g_thread_proxy () from /lib64/libglib-2.0.so.0 #5 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #6 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f913ece8700 (LWP 2490)): #0 0x00007f915f522888 in read () from /lib64/libc.so.6 #1 0x00007f91564ca0e0 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0 #2 0x00007f91564859e8 in g_main_context_check () from /lib64/libglib-2.0.so.0 #3 0x00007f9156485e80 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #4 0x00007f9156485fec in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #5 0x00007f9156486031 in glib_worker_main () from /lib64/libglib-2.0.so.0 #6 0x00007f91564ad4c6 in g_thread_proxy () from /lib64/libglib-2.0.so.0 #7 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #8 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f913f4e9700 (LWP 2489)): #0 0x00007f915f52736b in poll () from /lib64/libc.so.6 #1 0x00007f9156485ed9 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #2 0x00007f9156485fec in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f913f4f142d in dconf_gdbus_worker_thread () from /usr/lib64/gio/modules/libdconfsettings.so #4 0x00007f91564ad4c6 in g_thread_proxy () from /lib64/libglib-2.0.so.0 #5 0x00007f915a18b61b in start_thread () from /lib64/libpthread.so.0 #6 0x00007f915f53391f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f91673aa940 (LWP 2457)): [KCrash Handler] #6 0x00007f915f4a4c2f in malloc_consolidate.part () from /lib64/libc.so.6 #7 0x00007f915f4a93d8 in _int_malloc () from /lib64/libc.so.6 #8 0x00007f915f4aca0d in malloc () from /lib64/libc.so.6 #9 0x00007f9160196552 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () from /lib64/libQt5Core.so.5 #10 0x00007f9160202c94 in QString::reallocData(unsigned int, bool) () from /lib64/libQt5Core.so.5 #11 0x00007f9160204e68 in QString::replace(QChar, QChar, Qt::CaseSensitivity) () from /lib64/libQt5Core.so.5 #12 0x00007f9161210e5d in QAbstractItemDelegatePrivate::textForRole(Qt::ItemDataRole, QVariant const&, QLocale const&, int) const () from /lib64/libQt5Widgets.so.5 #13 0x00007f916121827f in QStyledItemDelegate::displayText(QVariant const&, QLocale const&) const () from /lib64/libQt5Widgets.so.5 #14 0x00007f9161219ebe in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /lib64/libQt5Widgets.so.5 #15 0x00007f916121892c in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /lib64/libQt5Widgets.so.5 #16 0x00007f916125af02 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /lib64/libQt5Widgets.so.5 #17 0x00007f91612605ed in QTreeView::drawTree(QPainter*, QRegion const&) const () from /lib64/libQt5Widgets.so.5 #18 0x00007f9161264f75 in QTreeView::paintEvent(QPaintEvent*) () from /lib64/libQt5Widgets.so.5 #19 0x00007f9160fe8e28 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #20 0x00007f9161089d5e in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #21 0x00007f91611fe0bb in QAbstractItemView::viewportEvent(QEvent*) () from /lib64/libQt5Widgets.so.5 #22 0x00007f9161265e8c in QTreeView::viewportEvent(QEvent*) () from /lib64/libQt5Widgets.so.5 #23 0x00007f91603410fc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #24 0x00007f9160faa685 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #25 0x00007f9160fb1ef4 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #26 0x00007f9160341367 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #27 0x00007f9160fe1f2a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib64/libQt5Widgets.so.5 #28 0x00007f9160fe24ea in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5 #29 0x00007f9160fb9be0 in QWidgetBackingStore::doSync() () from /lib64/libQt5Widgets.so.5 #30 0x00007f9160fb9e85 in QWidgetBackingStore::sync() () from /lib64/libQt5Widgets.so.5 #31 0x00007f9160fd14bf in QWidgetPrivate::syncBackingStore() () from /lib64/libQt5Widgets.so.5 #32 0x00007f9160fe8f98 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #33 0x00007f91610fc95b in QMainWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #34 0x00007f916500f0c7 in KMainWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5 #35 0x00007f9165053e75 in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5 #36 0x00007f9160faa6ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #37 0x00007f9160fb1ef4 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #38 0x00007f9160341367 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #39 0x00007f9160343aeb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5 #40 0x00007f9160392553 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5 #41 0x00007f9156485bb7 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #42 0x00007f9156485f60 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #43 0x00007f9156485fec in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #44 0x00007f916039233f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #45 0x00007f91603400ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #46 0x00007f9160348744 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5 #47 0x0000557e1178a12a in main () Possible duplicates by query: bug 387754. Reported using DrKonqi
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. ***