| Summary: | Kate crashes when I press Ctrl Alt i to bring up the HUD menu | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kconfigwidgets | Reporter: | kndevl |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | REOPENED --- | ||
| Severity: | crash | CC: | christoph, nate |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 6.8.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
kndevl
2022-07-08 18:19:09 UTC
This seems to be some issue in the KCommandBar. Perhaps we need to ensure we handle actions that get deleted during the execution of the KCommandBar? Can not reproduce this. Please retry this with a Qt6 based version, thanks! I noticed another HUD crash a few days earlier. While I'm not sure if this has the same root cause as the original issue I reported, both seem to be from bringing up the HUD in Kate. This is with Qt 6.8.0-1. The stacktrace from coredumpctl is attached below #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007209de2a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:78 #2 0x00007209de24c120 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007209dff372a1 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.8.0/src/kcrash.cpp:596 #4 <signal handler called> #5 0x00007209df3654db in QAction::shortcut() const () from /usr/lib/libQt6Gui.so.6 #6 0x00007209ddc10f3e in KCommandBarModel::data (this=<optimized out>, index=..., role=<optimized out>) at /usr/src/debug/kconfigwidgets/kconfigwidgets-6.8.0/src/kcommandbarmodel_p.cpp:130 #7 0x00007209deb98bd5 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib/libQt6Core.so.6 #8 0x00007209ddc16d20 in QModelIndex::data (this=0x7fffd11623f0, arole=0) at /usr/include/qt6/QtCore/qabstractitemmodel.h:518 #9 ShortcutStyleDelegate::sizeHint (this=0x63e4ff72eba0, option=..., index=...) at /usr/src/debug/kconfigwidgets/kconfigwidgets-6.8.0/src/kcommandbar.cpp:372 #10 0x00007209dfc7d3f2 in QTreeViewPrivate::widthHintForIndex(QModelIndex const&, int, QStyleOptionViewItem const&, int) const () from /usr/lib/libQt6Widgets.so.6 #11 0x00007209dfc853a5 in QTreeView::sizeHintForColumn(int) const () from /usr/lib/libQt6Widgets.so.6 #12 0x00007209dfc1fd3e in ?? () from /usr/lib/libQt6Widgets.so.6 #13 0x00007209dfc169a8 in QHeaderView::viewportEvent(QEvent*) () from /usr/lib/libQt6Widgets.so.6 #14 0x00007209de955508 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt6Core.so.6 #15 0x00007209df8fe30a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt6Widgets.so.6 #16 0x00007209de9585a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt6Core.so.6 #17 0x00007209df94a184 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQt6Widgets.so.6 #18 0x00007209df94a0d9 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQt6Widgets.so.6 #19 0x00007209df94a0d9 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQt6Widgets.so.6 #20 0x00007209df94a0d9 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQt6Widgets.so.6 #21 0x00007209df94a0d9 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQt6Widgets.so.6 #22 0x00007209df93ff4f in QWidgetPrivate::prepareToRender(QRegion const&, QFlags<QWidget::RenderFlag>) () from /usr/lib/libQt6Widgets.so.6 #23 0x00007209df943d37 in QWidget::render(QPainter*, QPoint const&, QRegion const&, QFlags<QWidget::RenderFlag>) () from /usr/lib/libQt6Widgets.so.6 #24 0x00007209df944c63 in ?? () from /usr/lib/libQt6Widgets.so.6 #25 0x00007209df9f47ea in QGraphicsEffectSource::pixmap(Qt::CoordinateSystem, QPoint*, QGraphicsEffect::PixmapPadMode) const () from /usr/lib/libQt6Widgets.so.6 #26 0x00007209df9f8899 in QGraphicsDropShadowEffect::draw(QPainter*) () from /usr/lib/libQt6Widgets.so.6 #27 0x00007209df94361f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt6Widgets.so.6 #28 0x00007209df9455a9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt6Widgets.so.6 #29 0x00007209df942d85 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt6Widgets.so.6 #30 0x00007209df9656df in QWidgetRepaintManager::paintAndFlush() () from /usr/lib/libQt6Widgets.so.6 #31 0x00007209df950a68 in QWidget::event(QEvent*) () from /usr/lib/libQt6Widgets.so.6 #32 0x00007209ddd59871 in KXmlGuiWindow::event (this=0x63e4fd8c3540, ev=0x63e4ff218470) at /usr/src/debug/kxmlgui/kxmlgui-6.8.0/src/kxmlguiwindow.cpp:221 #33 0x00007209df8fe31a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt6Widgets.so.6 #34 0x00007209de9585a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt6Core.so.6 #35 0x00007209de959035 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt6Core.so.6 #36 0x00007209debc23fc in ?? () from /usr/lib/libQt6Core.so.6 #37 0x00007209dd44d559 in g_main_dispatch (context=0x7209d0000f30) at ../glib/glib/gmain.c:3357 #38 0x00007209dd4b0157 in g_main_context_dispatch_unlocked (context=0x7209d0000f30) at ../glib/glib/gmain.c:4208 #39 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7209d0000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273 #40 0x00007209dd44ca55 in g_main_context_iteration (context=0x7209d0000f30, may_block=1) at ../glib/glib/gmain.c:4338 #41 0x00007209debbf71d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Core.so.6 #42 0x00007209de964566 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Core.so.6 #43 0x00007209de959a2f in QCoreApplication::exec() () from /usr/lib/libQt6Core.so.6 #44 0x000063e4cb4f88a0 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate/kate-24.08.3/apps/kate/main.cpp:537 Ok, then let us re-open this. |