https://bugs.kde.org/show_bug.cgi?id=503495
Bug ID: 503495 Summary: K4DirCrash crashed after deleting "Files" item Classification: I don't know Product: kde Version: unspecified Platform: Debian stable OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: jpale...@web.de Target Milestone: --- Application: k4dirstat (3.4.3) ApplicationNotResponding [ANR]: false Qt Version: 6.8.2 Frameworks Version: 6.11.0 Operating System: Linux 6.12.21-amd64 x86_64 Windowing System: X11 Distribution: Debian GNU/Linux trixie/sid DrKonqi: 6.3.4 [KCrashBackend] -- Information about the crash: When I chose "Delete trash files" from the context menu of the "Files" item in a directory, k4dircrash crashed. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: k4dirstat (k4dirstat), signal: Segmentation fault [KCrash Handler] #7 0x000055f412cc14b0 in ?? () #8 0x000055f3d5b98129 in KDirStat::KDirInfo::recalcOneChild (this=this@entry=0x55f407b5fc50, child=0x55f407b5fd00) at ./src/kdirinfo.cpp:77 #9 0x000055f3d5b9825c in KDirStat::KDirInfo::recalc (this=0x55f407b5fc50) at ./src/kdirinfo.cpp:106 #10 0x000055f3d5b982d5 in KDirStat::KDirInfo::totalSize (this=0x55f407b5fc50) at ./src/kdirinfo.cpp:119 #11 0x000055f3d5b98129 in KDirStat::KDirInfo::recalcOneChild (this=this@entry=0x55f4077dca70, child=0x55f407b5fc50) at ./src/kdirinfo.cpp:77 #12 0x000055f3d5b9821f in KDirStat::KDirInfo::recalc (this=0x55f4077dca70) at ./src/kdirinfo.cpp:103 #13 0x000055f3d5b982d5 in KDirStat::KDirInfo::totalSize (this=0x55f4077dca70) at ./src/kdirinfo.cpp:119 #14 0x000055f3d5b98129 in KDirStat::KDirInfo::recalcOneChild (this=this@entry=0x55f4074ac290, child=0x55f4077dca70) at ./src/kdirinfo.cpp:77 #15 0x000055f3d5b9821f in KDirStat::KDirInfo::recalc (this=0x55f4074ac290) at ./src/kdirinfo.cpp:103 #16 0x000055f3d5b982d5 in KDirStat::KDirInfo::totalSize (this=0x55f4074ac290) at ./src/kdirinfo.cpp:119 #17 0x000055f3d5b98129 in KDirStat::KDirInfo::recalcOneChild (this=this@entry=0x55f4077d91b0, child=0x55f4074ac290) at ./src/kdirinfo.cpp:77 #18 0x000055f3d5b9821f in KDirStat::KDirInfo::recalc (this=0x55f4077d91b0) at ./src/kdirinfo.cpp:103 #19 0x000055f3d5b982d5 in KDirStat::KDirInfo::totalSize (this=0x55f4077d91b0) at ./src/kdirinfo.cpp:119 #20 0x000055f3d5b98129 in KDirStat::KDirInfo::recalcOneChild (this=this@entry=0x55f4073e5220, child=0x55f4077d91b0) at ./src/kdirinfo.cpp:77 #21 0x000055f3d5b9821f in KDirStat::KDirInfo::recalc (this=0x55f4073e5220) at ./src/kdirinfo.cpp:103 #22 0x000055f3d5b982d5 in KDirStat::KDirInfo::totalSize (this=0x55f4073e5220) at ./src/kdirinfo.cpp:119 #23 0x000055f3d5b8b1cf in KDirStat::KDirModel::dataDisplay (this=this@entry=0x55f407295060, _orig=_orig@entry=0x55f4073e5220, column=3) at ./src/kdirtreeview.cpp:190 #24 0x000055f3d5b8c8fa in KDirStat::KDirModel::data (this=0x55f407295060, index=..., role=0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:63 #25 0x00007ff711ea5869 in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=0) at itemmodels/qsortfilterproxymodel.cpp:2293 #26 0x00007ff712e0f971 in QModelIndex::data (this=0x7ffffe93a620, arole=0) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:460 #27 QStyledItemDelegate::initStyleOption (this=0x55f407203260, option=0x7ffffe93a4d0, index=...) at itemviews/qstyleditemdelegate.cpp:345 #28 0x00007ff712e0eee0 in QStyledItemDelegate::sizeHint (this=0x55f407203260, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410 #29 0x00007ff712e56642 in QTreeView::indexRowSizeHint (this=this@entry=0x55f4071fe360, index=...) at itemviews/qtreeview.cpp:3005 #30 0x00007ff712e5d66c in QTreeViewPrivate::layout (this=this@entry=0x55f407200f00, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3351 #31 0x00007ff712e63711 in QTreeView::doItemsLayout (this=0x55f4071fe360) at itemviews/qtreeview.cpp:2101 #32 0x00007ff712e5b4bd in QAbstractItemViewPrivate::executePostedLayout (this=0x55f407200f00) at ../../include/QtWidgets/5.15.15/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229 #33 QAbstractItemViewPrivate::executePostedLayout (this=0x55f407200f00) at ../../include/QtWidgets/5.15.15/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:226 #34 QTreeViewPrivate::updateScrollBars (this=0x55f407200f00) at itemviews/qtreeview.cpp:3707 #35 0x00007ff712e65200 in QTreeView::updateGeometries (this=0x55f4071fe360) at itemviews/qtreeview.cpp:2844 #36 0x00007ff712ba62da in QWidget::event (this=this@entry=0x55f4071fe360, event=event@entry=0x7ffffe93ab70) at kernel/qwidget.cpp:8835 #37 0x00007ff712c55a92 in QFrame::event (this=0x55f4071fe360, e=0x7ffffe93ab70) at widgets/qframe.cpp:550 #38 0x00007ff711eddb33 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55f4072016b0, event=event@entry=0x7ffffe93ab70) at kernel/qcoreapplication.cpp:1190 #39 0x00007ff712b63042 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f4072016b0, e=0x7ffffe93ab70) at kernel/qapplication.cpp:3634 #40 0x00007ff711edddd8 in QCoreApplication::notifyInternal2 (receiver=0x55f4072016b0, event=0x7ffffe93ab70) at kernel/qcoreapplication.cpp:1064 #41 0x00007ff711eddfc2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #42 0x00007ff712b9cab8 in QWidgetPrivate::setGeometry_sys (this=this@entry=0x55f4072016f0, x=1, y=23, w=w@entry=1904, h=<optimized out>, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7151 #43 0x00007ff712b9da66 in QWidget::setGeometry (this=0x55f4072016b0, r=...) at kernel/qwidget.cpp:7039 #44 0x00007ff712c570f9 in QAbstractScrollAreaPrivate::layoutChildren_helper (this=this@entry=0x55f407200f00, needHorizontalScrollbar=needHorizontalScrollbar@entry=0x7ffffe93ad96, needVerticalScrollbar=needVerticalScrollbar@entry=0x7ffffe93ad97) at widgets/qabstractscrollarea.cpp:447 #45 0x00007ff712c575ac in QAbstractScrollAreaPrivate::layoutChildren (this=this@entry=0x55f407200f00) at widgets/qabstractscrollarea.cpp:322 #46 0x00007ff712c58c7c in QAbstractScrollArea::event (this=0x55f4071fe360, e=0x7ffffe93af60) at widgets/qabstractscrollarea.cpp:938 #47 0x00007ff712b63052 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f4071fe360, e=0x7ffffe93af60) at kernel/qapplication.cpp:3640 #48 0x00007ff711edddd8 in QCoreApplication::notifyInternal2 (receiver=0x55f4071fe360, event=0x7ffffe93af60) at kernel/qcoreapplication.cpp:1064 #49 0x00007ff711eddfc2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #50 0x00007ff712b9cab8 in QWidgetPrivate::setGeometry_sys (this=this@entry=0x55f407200f00, x=0, y=0, w=w@entry=1920, h=<optimized out>, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7151 #51 0x00007ff712b9da66 in QWidget::setGeometry (this=this@entry=0x55f4071fe360, r=...) at kernel/qwidget.cpp:7039 #52 0x00007ff712d1db72 in QSplitterPrivate::setGeo (this=this@entry=0x55f4071fd990, sls=sls@entry=0x55f4071ff5d0, p=0, s=s@entry=968, allowCollapse=allowCollapse@entry=false) at widgets/qsplitter.cpp:769 #53 0x00007ff712d1e5bd in QSplitterPrivate::doResize (this=this@entry=0x55f4071fd990) at widgets/qsplitter.cpp:562 #54 0x00007ff712d1f4e7 in QSplitterPrivate::recalc (this=0x55f4071fd990, update=true) at widgets/qsplitter.cpp:476 #55 0x00007ff711f0b9bb in QObject::event (this=this@entry=0x55f4071fdd90, e=e@entry=0x7ffffe93b300) at kernel/qobject.cpp:1369 #56 0x00007ff712ba5fcd in QWidget::event (this=this@entry=0x55f4071fdd90, event=event@entry=0x7ffffe93b300) at kernel/qwidget.cpp:9106 #57 0x00007ff712c55a92 in QFrame::event (this=0x55f4071fdd90, e=0x7ffffe93b300) at widgets/qframe.cpp:550 #58 0x00007ff712b63052 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f4071fdd90, e=0x7ffffe93b300) at kernel/qapplication.cpp:3640 #59 0x00007ff711edddd8 in QCoreApplication::notifyInternal2 (receiver=0x55f4071fdd90, event=0x7ffffe93b300) at kernel/qcoreapplication.cpp:1064 #60 0x00007ff711eddfc2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #61 0x00007ff711f15c67 in QObjectPrivate::setParent_helper (this=0x55f4139baba0, o=0x0) at kernel/qobject.cpp:2182 #62 0x00007ff711f16114 in QObject::~QObject (this=this@entry=0x55f412e15c40, __in_chrg=<optimized out>) at kernel/qobject.cpp:1126 #63 0x00007ff712ba1868 in QWidget::~QWidget (this=this@entry=0x55f412e15c40, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1548 #64 0x00007ff712c551a1 in QFrame::~QFrame (this=this@entry=0x55f412e15c40, __in_chrg=<optimized out>) at widgets/qframe.cpp:264 #65 0x00007ff712c5621a in QAbstractScrollArea::~QAbstractScrollArea (this=this@entry=0x55f412e15c40, __in_chrg=<optimized out>) at widgets/qabstractscrollarea.cpp:509 #66 0x00007ff712ed5487 in QGraphicsView::~QGraphicsView (this=this@entry=0x55f412e15c40, __in_chrg=<optimized out>) at graphicsview/qgraphicsview.cpp:1268 #67 0x000055f3d5b7e670 in KDirStat::KTreemapView::~KTreemapView (this=0x55f412e15c40, __in_chrg=<optimized out>) at ./src/ktreemapview.cpp:64 #68 KDirStat::KTreemapView::~KTreemapView (this=0x55f412e15c40, __in_chrg=<optimized out>) at ./src/ktreemapview.cpp:64 #69 0x000055f3d5b7a2ea in k4dirstat::deleteTreemapView (this=0x55f4071e2230) at ./src/k4dirstat.cpp:714 #70 0x00007ff711f18852 in doActivate<false> (sender=0x55f4071fe360, signal_index=17, argv=0x7ffffe93b4c0) at kernel/qobject.cpp:3937 #71 0x00007ff711f11007 in QMetaObject::activate (sender=sender@entry=0x55f4071fe360, m=m@entry=0x55f3d5bb6fe0 <KDirStat::KDirTreeView::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3985 #72 0x000055f3d5b72387 in KDirStat::KDirTreeView::startingReading (this=this@entry=0x55f4071fe360) at ./obj-x86_64-linux-gnu/src/k4dirstat_autogen/EWIEGA46WW/moc_kdirtreeview.cpp:369 #73 0x000055f3d5b828a4 in KDirStat::KDirTreeView::prepareReading (this=0x55f4071fe360) at ./src/kdirtreeview.cpp:596 #74 0x00007ff711f18852 in doActivate<false> (sender=0x55f40720a5b0, signal_index=6, argv=0x7ffffe93b5c0) at kernel/qobject.cpp:3937 #75 0x00007ff711f11007 in QMetaObject::activate (sender=sender@entry=0x55f40720a5b0, m=m@entry=0x55f3d5bb7060 <KDirStat::KDirTree::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3985 #76 0x000055f3d5b72117 in KDirStat::KDirTree::startingReading (this=this@entry=0x55f40720a5b0) at ./obj-x86_64-linux-gnu/src/k4dirstat_autogen/EWIEGA46WW/moc_kdirtree.cpp:307 #77 0x000055f3d5b93424 in KDirStat::KDirTree::refresh (this=this@entry=0x55f40720a5b0, subtree=subtree@entry=0x55f407b5fd00) at ./src/kdirtree.cpp:176 #78 0x000055f3d5b91f60 in KDirStat::KCleanup::execute (this=0x55f4074f9e10, tree=0x55f40720a5b0) at ./src/kcleanup.cpp:144 #79 0x000055f3d5b733ed in KDirStat::CleanupAction::slotTriggered (this=0x55f4074f9e00) at ./obj-x86_64-linux-gnu/src/k4dirstat_autogen/EWIEGA46WW/../../../../src/kcleanupcollection_p.h:32 #80 KDirStat::CleanupAction::qt_static_metacall (_o=0x55f4074f9e00, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/k4dirstat_autogen/EWIEGA46WW/moc_kcleanupcollection_p.cpp:86 #81 0x00007ff711f18852 in doActivate<false> (sender=0x55f4074f9e00, signal_index=4, argv=0x7ffffe93b790) at kernel/qobject.cpp:3937 #82 0x00007ff711f11007 in QMetaObject::activate (sender=sender@entry=0x55f4074f9e00, m=m@entry=0x7ff713094ca0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffffe93b790) at kernel/qobject.cpp:3985 #83 0x00007ff712b5be56 in QAction::triggered (this=this@entry=0x55f4074f9e00, _t1=<optimized out>) at .moc/moc_qaction.cpp:376 #84 0x00007ff712b5eb60 in QAction::activate (this=0x55f4074f9e00, event=<optimized out>) at kernel/qaction.cpp:1161 #85 0x00007ff712cecb42 in QMenuPrivate::activateCausedStack (this=this@entry=0x55f407483280, causedStack=..., action=action@entry=0x55f4074f9e00, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1407 #86 0x00007ff712cf4b03 in QMenuPrivate::activateAction (this=0x55f407483280, action=0x55f4074f9e00, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1484 #87 0x00007ff712ba6038 in QWidget::event (this=0x55f4074b3760, event=0x7ffffe93bd70) at kernel/qwidget.cpp:9045 #88 0x00007ff712b63052 in QApplicationPrivate::notify_helper (this=this@entry=0x55f4071123f0, receiver=receiver@entry=0x55f4074b3760, e=e@entry=0x7ffffe93bd70) at kernel/qapplication.cpp:3640 #89 0x00007ff712b6b37a in QApplication::notify (this=<optimized out>, receiver=0x55f4074b3760, e=0x7ffffe93bd70) at kernel/qapplication.cpp:3084 #90 0x00007ff711edddd8 in QCoreApplication::notifyInternal2 (receiver=0x55f4074b3760, event=0x7ffffe93bd70) at kernel/qcoreapplication.cpp:1064 #91 0x00007ff711eddfe2 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474 #92 0x00007ff712b693e2 in QApplicationPrivate::sendMouseEvent (receiver=0x55f4074b3760, event=event@entry=0x7ffffe93bd70, alienWidget=<optimized out>, nativeWidget=0x55f4074b3760, buttonDown=buttonDown@entry=0x7ff7130c39d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622 #93 0x00007ff712bc081d in QWidgetWindow::handleMouseEvent (this=this@entry=0x55f407837d20, event=event@entry=0x7ffffe93c040) at kernel/qwidgetwindow.cpp:580 #94 0x00007ff712bc352f in QWidgetWindow::event (this=0x55f407837d20, event=0x7ffffe93c040) at kernel/qwidgetwindow.cpp:300 #95 0x00007ff712b63052 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f407837d20, e=0x7ffffe93c040) at kernel/qapplication.cpp:3640 #96 0x00007ff711edddd8 in QCoreApplication::notifyInternal2 (receiver=0x55f407837d20, event=0x7ffffe93c040) at kernel/qcoreapplication.cpp:1064 #97 0x00007ff711eddfe2 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474 #98 0x00007ff712344e53 in QGuiApplicationPrivate::processMouseEvent (e=0x55f414b370d0) at kernel/qguiapplication.cpp:2278 #99 0x00007ff71231679c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #100 0x00007ff70d0f492e in xcbSourceDispatch (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105 #101 0x00007ff710904305 in g_main_dispatch (context=context@entry=0x7ff708000ed0) at ../../../glib/gmain.c:3398 #102 0x00007ff710906537 in g_main_context_dispatch_unlocked (context=0x7ff708000ed0) at ../../../glib/gmain.c:4249 #103 g_main_context_iterate_unlocked (context=context@entry=0x7ff708000ed0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4314 #104 0x00007ff710906ca0 in g_main_context_iteration (context=0x7ff708000ed0, may_block=1) at ../../../glib/gmain.c:4379 #105 0x00007ff711f3ae2d in QEventDispatcherGlib::processEvents (this=0x55f4071e6b10, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #106 0x00007ff711edc742 in QEventLoop::exec (this=this@entry=0x7ffffe93c3e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #107 0x00007ff711ee5162 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #108 0x00007ff7123384f0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863 #109 0x00007ff712b62fc9 in QApplication::exec () at kernel/qapplication.cpp:2832 #110 0x000055f3d5b718ef in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:93 [Inferior 1 (process 809190) detached] Reported using DrKonqi This report was filed against 'kde' because the product 'k4dirstat' could not be located in Bugzilla. Add it to drkonqi's mappings file! -- You are receiving this mail because: You are watching all bug changes.