Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
6.7.2, 6.7.3
Description
We have reports for several KDE applications crashing in QtWaylandClient::QWaylandShmBackingStore::resize
For example Dolphin (https://crash-reports.kde.org/organizations/kde/issues/6997):
0 libQt6Gui.so.6.7.3 0x78018c31328f QImage::sizeInBytes (qimage.cpp:1536) 1 libQt6WaylandClient.so.6.7.3 0x780188168573 QtWaylandClient::QWaylandShmBackingStore::resize (qwaylandshmbackingstore.cpp:280) 2 libQt6WaylandClient.so.6.7.3 0x780188168784 [inlined] QtWaylandClient::QWaylandShmBackingStore::ensureSize (qwaylandshmbackingstore.cpp:193) 3 libQt6WaylandClient.so.6.7.3 0x780188168784 QtWaylandClient::QWaylandShmBackingStore::beginPaint (qwaylandshmbackingstore.cpp:172) 4 libQt6Gui.so.6.7.3 0x78018c401d87 QBackingStore::beginPaint (qbackingstore.cpp:125) 5 libQt6Widgets.so.6.7.3 0x78018cd5e2d2 QWidgetRepaintManager::paintAndFlush (qwidgetrepaintmanager.cpp:873) 6 libQt6Widgets.so.6.7.3 0x78018cd5ed54 QWidgetRepaintManager::sync (qwidgetrepaintmanager.cpp:632) 7 libQt6Widgets.so.6.7.3 0x78018cd6729e [inlined] QWidgetWindow::handleExposeEvent (qwidgetwindow.cpp:1047) 8 libQt6Widgets.so.6.7.3 0x78018cd6729e QWidgetWindow::event (qwidgetwindow.cpp:313) 9 libQt6Widgets.so.6.7.3 0x78018ccfd9cb QApplicationPrivate::notify_helper (qapplication.cpp:3287) 10 libQt6Core.so.6.7.3 0x78018bd45be7 QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1152) 11 libQt6Gui.so.6.7.3 0x78018c387573 QGuiApplicationPrivate::processExposeEvent (qguiapplication.cpp:3362) 12 libQt6Gui.so.6.7.3 0x78018c3e7d23 QWindowSystemInterface::sendWindowSystemEvents (qwindowsysteminterface.cpp:1114) 13 libQt6Gui.so.6.7.3 0x78018c805733 userEventSourceDispatch (qeventdispatcher_glib.cpp:38) 14 libglib-2.0.so.0.8200.1 0x780188d0d558 g_main_dispatch.lto_priv.0 (gmain.c:3357) 15 libglib-2.0.so.0.8200.1 0x780188d70156 [inlined] g_main_context_dispatch_unlocked (gmain.c:4208) 16 libglib-2.0.so.0.8200.1 0x780188d70156 g_main_context_iterate_unlocked.isra.0 (gmain.c:4273) 17 libglib-2.0.so.0.8200.1 0x780188d0ca54 g_main_context_iteration (gmain.c:4338) 18 libQt6Core.so.6.7.3 0x78018bfa985c QEventDispatcherGlib::processEvents (qeventdispatcher_glib.cpp:394) 19 libQt6Core.so.6.7.3 0x78018bd50105 [inlined] QEventLoop::processEvents (qeventloop.cpp:100) 20 libQt6Core.so.6.7.3 0x78018bd50105 QEventLoop::exec (qeventloop.cpp:182) 21 libQt6Widgets.so.6.7.3 0x78018ced95c6 QMenuPrivate::exec (qmenu.cpp:2670) 22 libQt6Widgets.so.6.7.3 0x78018ced9705 QMenu::exec (qmenu.cpp:2657) 23 dolphin 0x5568bda231a4 DolphinMainWindow::openContextMenu (dolphinmainwindow.cpp:1419) 24 libQt6Core.so.6.7.3 0x78018bda3456 [inlined] QtPrivate::QSlotObjectBase::call (qobjectdefs_impl.h:469) 25 libQt6Core.so.6.7.3 0x78018bda3456 doActivate<T> (qobject.cpp:4086) 26 libdolphinprivate.so.24.08.1 0x78018e478fb8 DolphinView::requestContextMenu (moc_dolphinview.cpp:1480) 27 libdolphinprivate.so.24.08.1 0x78018e47bb5c DolphinView::slotViewContextMenuRequested (dolphinview.cpp:1158) 28 libQt6Core.so.6.7.3 0x78018bda3456 [inlined] QtPrivate::QSlotObjectBase::call (qobjectdefs_impl.h:469) 29 libQt6Core.so.6.7.3 0x78018bda3456 doActivate<T> (qobject.cpp:4086) 30 libdolphinprivate.so.24.08.1 0x78018e41f54c KItemListController::viewContextMenuRequested (moc_kitemlistcontroller.cpp:586) 31 libdolphinprivate.so.24.08.1 0x78018e424041 KItemListController::contextMenuEvent (kitemlistcontroller.cpp:783) 32 libdolphinprivate.so.24.08.1 0x78018e42e33e KItemListView::event (kitemlistview.cpp:1060) 33 libQt6Widgets.so.6.7.3 0x78018ccfd9cb QApplicationPrivate::notify_helper (qapplication.cpp:3287) 34 libQt6Core.so.6.7.3 0x78018bd45be7 QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1152) 35 libQt6Widgets.so.6.7.3 0x78018cd4ea69 QWidget::event (qwidget.cpp:9227) 36 libQt6Widgets.so.6.7.3 0x78018cde5d27 QFrame::event (qframe.cpp:521) 37 libQt6Core.so.6.7.3 0x78018bd45057 QCoreApplicationPrivate::sendThroughObjectEventFilters (qcoreapplication.cpp:1291) 38 libQt6Widgets.so.6.7.3 0x78018ccfd9bb QApplicationPrivate::notify_helper (qapplication.cpp:3281) 39 libQt6Widgets.so.6.7.3 0x78018cd044ba QApplication::notify (qapplication.cpp:2906) 40 libQt6Core.so.6.7.3 0x78018bd45be7 QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1152) 41 libQt6Widgets.so.6.7.3 0x78018cd64c04 QWidgetWindow::handleMouseEvent (qwidgetwindow.cpp:660) 42 libQt6Widgets.so.6.7.3 0x78018cd6615f QWidgetWindow::event (qwidgetwindow.cpp:266) 43 libQt6Widgets.so.6.7.3 0x78018ccfd9cb QApplicationPrivate::notify_helper (qapplication.cpp:3287) 44 libQt6Core.so.6.7.3 0x78018bd45be7 QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1152) 45 libQt6Gui.so.6.7.3 0x78018c378694 QGuiApplicationPrivate::processMouseEvent (qguiapplication.cpp:2389) 46 libQt6Gui.so.6.7.3 0x78018c3e7d23 QWindowSystemInterface::sendWindowSystemEvents (qwindowsysteminterface.cpp:1114) 47 libQt6Gui.so.6.7.3 0x78018c805733 userEventSourceDispatch (qeventdispatcher_glib.cpp:38) 48 libglib-2.0.so.0.8200.1 0x780188d0d558 g_main_dispatch.lto_priv.0 (gmain.c:3357) 49 libglib-2.0.so.0.8200.1 0x780188d70156 [inlined] g_main_context_dispatch_unlocked (gmain.c:4208) 50 libglib-2.0.so.0.8200.1 0x780188d70156 g_main_context_iterate_unlocked.isra.0 (gmain.c:4273) 51 libglib-2.0.so.0.8200.1 0x780188d0ca54 g_main_context_iteration (gmain.c:4338) 52 libQt6Core.so.6.7.3 0x78018bfa985c QEventDispatcherGlib::processEvents (qeventdispatcher_glib.cpp:394) 53 libQt6Core.so.6.7.3 0x78018bd50105 [inlined] QEventLoop::processEvents (qeventloop.cpp:100) 54 libQt6Core.so.6.7.3 0x78018bd50105 QEventLoop::exec (qeventloop.cpp:182) 55 libQt6Core.so.6.7.3 0x78018bd4a27c QCoreApplication::exec (qcoreapplication.cpp:1496) 56 dolphin 0x5568bda125a3 main (main.cpp:273) 57 libc.so.6 0x78018b634e07 __libc_start_call_main (libc_start_call_main.h:58) 58 libc.so.6 0x78018b634ecb __libc_start_main (libc-start.c:360) 59 dolphin 0x5568bda13be4 _start
More crashes like this can be found on KDE's Sentry (https://crash-reports.kde.org/organizations/kde/issues/?query=stack.function%3A*QImage%3A%3AsizeInBytes*).
Most if not all of the time there seems to be a nested event loop involved.