Bug 496953

Summary: Plasma Crashing on startup in QtWayland::zwp_tablet_pad_v2::handle_removed
Product: [Plasma] plasmashell Reporter: Yasu <yasumora.media>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev
Priority: NOR Keywords: drkonqi
Version: 6.2.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Yasu 2024-12-02 18:57:02 UTC
Application: plasmashell (6.2.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.8.0
Operating System: Linux 6.11.10-300.fc41.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 41 (KDE Plasma)"
DrKonqi: 6.2.4 [CoredumpBackend]

-- Information about the crash:
Plasma Crashing on startup - Plasma and other kde apps have been crashing on startup since I unplugged my Drawing tablet (XP PEN DECO 01 V2), after installing its drivers (xppen .rpm Drivers)

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007f77e8547027 in QtWayland::zwp_tablet_pad_v2::handle_removed (data=0x5604a18b3f80, object=0x5604a18b44b0) at /usr/src/debug/qt6-qtwayland-6.8.0-2.fc41.x86_64/redhat-linux-build/src/client/qwayland-tablet-unstable-v2.cpp:1330
#6  0x00007f77e7de3056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#7  0x00007f77e7dde74d in ffi_call_int (cif=cif@entry=0x7ffe1231cf00, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#8  0x00007f77e7de164e in ffi_call (cif=cif@entry=0x7ffe1231cf00, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffe1231cfd0) at ../src/x86/ffi64.c:710
#9  0x00007f77e9b6210e in wl_closure_invoke (closure=closure@entry=0x7f77c0007d80, target=<optimized out>, target@entry=0x5604a18b44b0, opcode=opcode@entry=7, data=<optimized out>, flags=1) at ../src/connection.c:1228


Reported using DrKonqi
Comment 1 Yasu 2024-12-02 18:57:05 UTC
Created attachment 176296 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2024-12-10 17:22:39 UTC
Searchable backtrace


Thread 1 (Thread 0x7f77e068fd40 (LWP 16108)):
[KCrash Handler]
#5  0x00007f77e8547027 in QtWayland::zwp_tablet_pad_v2::handle_removed (data=0x5604a18b3f80, object=0x5604a18b44b0) at /usr/src/debug/qt6-qtwayland-6.8.0-2.fc41.x86_64/redhat-linux-build/src/client/qwayland-tablet-unstable-v2.cpp:1330
#6  0x00007f77e7de3056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#7  0x00007f77e7dde74d in ffi_call_int (cif=cif@entry=0x7ffe1231cf00, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#8  0x00007f77e7de164e in ffi_call (cif=cif@entry=0x7ffe1231cf00, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffe1231cfd0) at ../src/x86/ffi64.c:710
#9  0x00007f77e9b6210e in wl_closure_invoke (closure=closure@entry=0x7f77c0007d80, target=<optimized out>, target@entry=0x5604a18b44b0, opcode=opcode@entry=7, data=<optimized out>, flags=1) at ../src/connection.c:1228
#10 0x00007f77e9b62979 in dispatch_event (display=display@entry=0x5604a18a44a0, queue=queue@entry=0x5604a18a4598) at ../src/wayland-client.c:1670
#11 0x00007f77e9b62d73 in dispatch_queue (display=0x5604a18a44a0, queue=0x5604a18a4598) at ../src/wayland-client.c:1816
#12 wl_display_dispatch_queue_pending (display=0x5604a18a44a0, queue=0x5604a18a4598) at ../src/wayland-client.c:2058
#13 0x00007f77e850c1d2 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.8.0-2.fc41.x86_64/src/client/qwaylanddisplay.cpp:227
#14 0x00007f77e6d4d172 in QObject::event (this=0x5604a18a4280, e=0x7f77c4001c70) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qobject.cpp:1419
#15 0x00007f77e903d6b8 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5604a18a4280, e=0x7f77c4001c70) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3294
#16 0x00007f77e6cf3a38 in QCoreApplication::notifyInternal2 (receiver=0x5604a18a4280, event=0x7f77c4001c70) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1165
#17 0x00007f77e6cf3c8d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1609
#18 0x00007f77e6cf7765 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5604a189a150) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1965
#19 0x00007f77e6cf8b6d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1797
#20 0x00007f77e6fea68f in postEventSourceDispatch (s=0x5604a18da650) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#21 0x00007f77e57a428c in g_main_dispatch (context=0x7f77cc000f30) at ../glib/gmain.c:3357
#22 g_main_context_dispatch_unlocked (context=0x7f77cc000f30) at ../glib/gmain.c:4208
#23 0x00007f77e58047b8 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f77cc000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273
#24 0x00007f77e57a5783 in g_main_context_iteration (context=0x7f77cc000f30, may_block=1) at ../glib/gmain.c:4338
#25 0x00007f77e6fe9de3 in QEventDispatcherGlib::processEvents (this=0x5604a18a2510, flags=...) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#26 0x00007f77e6d0221b in QEventLoop::exec (this=this@entry=0x7ffe1231d6d0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/global/qflags.h:34
#27 0x00007f77e6cfda2e in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/global/qflags.h:74
#28 0x00007f77e74d723d in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/gui/kernel/qguiapplication.cpp:1975
#29 0x00007f77e903d629 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/widgets/kernel/qapplication.cpp:2562
#30 0x000056048806a173 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.2.4-1.fc41.x86_64/shell/main.cpp:192
Comment 3 TraceyC 2024-12-10 17:28:07 UTC
Backtrace looks like it's all in Qt
Comment 4 TraceyC 2024-12-10 17:44:24 UTC
Based on the backtrace it seems to be the same crash as bug 496048. I'm marking this as a duplicate of that one. As noted in the other report, this is a bug in Qt that is fixed in 6.8.2. The crash should no longer happen on your system when Qt is updated to that version.

*** This bug has been marked as a duplicate of bug 496048 ***