Bug 496689

Summary: Plasma crashes in QPointerEvent::pointingDevice() after opening/closing Kickoff
Product: [Plasma] plasmashell Reporter: Nicolas Fella <nicolas.fella>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: bugs.box, devw.xyz, joker.goldsen, kde, kde, mrfrh, nate, rayane.cormy, rkeevil+kde
Priority: VHI Keywords: drkonqi
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-131370
Latest Commit: Version Fixed/Implemented In: Qt 6.10.0
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/96102/events/a2eb4f868bb142da88a4a1fdbd9c896c/
Attachments: New crash information added by DrKonqi

Description Nicolas Fella 2024-11-25 23:45:02 UTC
Application: plasmashell (6.2.80)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.9.0
Operating System: Linux 6.11.8-300.fc41.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 41 (KDE Plasma)"
DrKonqi: 6.2.80 [CoredumpBackend]

-- Information about the crash:
- On the task manager, right click on an item (opens a context menu)
- Press Meta to open Kickoff
- Press Meta again to close Kickoff

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QPointerEvent::pointingDevice (this=this@entry=0x0) at /home/nico/workspace/qt6/qtbase/src/gui/kernel/qevent.cpp:332
#6  0x00007fc3a18ae696 in QPointerEvent::exclusiveGrabber (this=this@entry=0x0, point=...) at /home/nico/workspace/qt6/qtbase/src/gui/kernel/qevent.cpp:354
#7  0x00007fc3a2e29700 in QQuickPointerHandler::setExclusiveGrab (this=0x55fcdbcf45e0, ev=0x0, point=..., grab=false) at /home/nico/workspace/qt6/qtdeclarative/src/quick/handlers/qquickpointerhandler.cpp:502
#8  0x00007fc3a30608fc in QQuickDeliveryAgentPrivate::onGrabChanged (this=0x55fcda680210, grabber=0x55fcdbcf45e0, transition=QPointingDevice::UngrabExclusive, event=0x0, point=...) at /home/nico/workspace/qt6/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1875
#9  0x00007fc3a0d44581 in QtPrivate::QSlotObjectBase::call (this=0x55fcdc2a9420, r=<optimized out>, a=0x7ffe4616c310) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486


Reported using DrKonqi
Comment 1 Nicolas Fella 2024-11-25 23:45:03 UTC
Created attachment 176122 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nicolas Fella 2024-11-25 23:46:57 UTC
Looks like https://bugreports.qt.io/browse/QTBUG-131370
Comment 3 Nate Graham 2024-11-26 21:16:57 UTC
*** Bug 496157 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2024-11-26 21:17:01 UTC
*** Bug 496679 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-12-12 18:49:18 UTC
*** Bug 497343 has been marked as a duplicate of this bug. ***
Comment 6 David Redondo 2025-02-05 09:13:28 UTC
*** Bug 499521 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas Fella 2025-03-07 14:35:11 UTC
*** Bug 501161 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2025-06-18 15:06:11 UTC
*** Bug 505741 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2025-10-08 14:15:48 UTC
This is currently the #1 Plasma crash on Sentry over the past 90 days; raising priority.

It's supposed to be fixed in Qt 6.10 by https://codereview.qt-project.org/c/qt/qtdeclarative/+/557654.