Summary: | Unpluging drawing tablet causes Plasma to crash in QtWayland::zwp_tablet_pad_v2::handle_removed() | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | easonqq0000 |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | josh, kdedev, nate, nicolas.fella, reza.jahanbakhshi |
Priority: | NOR | Keywords: | drkonqi |
Version: | 6.2.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
easonqq0000
2024-11-11 15:45:58 UTC
I look closely at some tracebacks of other applications that also crashed when unplugging drawing tablet, `QtWayland::zwp_tablet_pad_v2::handle_removed(void*, zwp_tablet_pad_v2*)` appear many times. Maybe libQt6WaylandClient.so.6 is the culprit. I believe [QWaylandTabletPadV2::zwp_tablet_pad_v2_removed](https://github.com/qt/qtwayland/blob/88f94bdbea19725b3c1a09e1f868c14dff286f53/src/client/qwaylandtabletv2.cpp#L620) cause such error, but without more knowledge about its code, I can't proceed smoothly. Following tracebacks are repeated: ``` #4 0x00007f7974bd9027 in QtWayland::zwp_tablet_pad_v2::handle_removed(void*, zwp_tablet_pad_v2*) () from /lib64/libQt6WaylandClient.so.6 #5 0x00007f797348f056 in ffi_call_unix64 () from /lib64/libffi.so.8 #6 0x00007f797348a74d in ffi_call_int.lto_priv () from /lib64/libffi.so.8 #7 0x00007f797348d64e in ffi_call () from /lib64/libffi.so.8 #8 0x00007f7975aa210e in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0 #9 0x00007f7975aa2979 in dispatch_event () from /lib64/libwayland-client.so.0 #10 0x00007f7975aa2d73 in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0 #11 0x00007f7974b9e1d2 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt6WaylandClient.so.6 #12 0x00007f797554d172 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6 #13 0x00007f79754f3a38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6 #14 0x00007f79754f7765 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6 ``` This trace looks like bug 482768 but that was supposed to be fixed in Plasma 6.1.3 I'll let one of the more knowledgeable contributors take a closer look Okay, notify me when that was released. Thank for your help beforehand. By the way, I look at the issue and commit, but I hardly found it related(maybe my skill issue). *** This bug has been marked as a duplicate of bug 496048 *** #482768 Sorry, I misclicked before adding my comment. https://bugs.kde.org/show_bug.cgi?id=482768 does not resolve this issue as it's already released with 6.1.3 and thisis still happening with 6.2.4 on Arch Linux. Below is the callstack for one I reproduced just now. I'm attaching the coredump too. Core was generated by `/usr/bin/plasmashell --no-respawn'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007ce729ca53f4 in ?? () from /usr/lib/libc.so.6 [Current thread is 1 (Thread 0x7ce723e53a00 (LWP 2153))] (gdb) bt #0 0x00007ce729ca53f4 in ?? () from /usr/lib/libc.so.6 #1 0x00007ce729c4c120 in raise () from /usr/lib/libc.so.6 #2 0x00007ce72cc652a1 in KCrash::defaultCrashHandler(int) () from /usr/lib/libKF6Crash.so.6 #3 <signal handler called> #4 0x00007ce72b32a387 in QtWayland::zwp_tablet_pad_v2::handle_removed(void*, zwp_tablet_pad_v2*) () from /usr/lib/libQt6WaylandClient.so.6 #5 0x00007ce729887596 in ?? () from /usr/lib/libffi.so.8 #6 0x00007ce72988400e in ?? () from /usr/lib/libffi.so.8 #7 0x00007ce729886bd3 in ffi_call () from /usr/lib/libffi.so.8 #8 0x00007ce72ccdc8b0 in ?? () from /usr/lib/libwayland-client.so.0 #9 0x00007ce72ccdd139 in ?? () from /usr/lib/libwayland-client.so.0 #10 0x00007ce72ccdd553 in wl_display_dispatch_queue_pending () from /usr/lib/libwayland-client.so.0 #11 0x00007ce72b2f1266 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /usr/lib/libQt6WaylandClient.so.6 #12 0x00007ce72a3a348a in QObject::event(QEvent*) () from /usr/lib/libQt6Core.so.6 #13 0x00007ce72c2fe31a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt6Widgets.so.6 #14 0x00007ce72a3585a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt6Core.so.6 #15 0x00007ce72a359035 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt6Core.so.6 #16 0x00007ce72a5c23fc in ?? () from /usr/lib/libQt6Core.so.6 #17 0x00007ce728df3559 in ?? () from /usr/lib/libglib-2.0.so.0 #18 0x00007ce728e56157 in ?? () from /usr/lib/libglib-2.0.so.0 #19 0x00007ce728df2a55 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #20 0x00007ce72a5bf71d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Core.so.6 #21 0x00007ce72a364566 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Core.so.6 #22 0x00007ce72a359a2f in QCoreApplication::exec() () from /usr/lib/libQt6Core.so.6 #23 0x00005e58910e217f in ?? () #24 0x00007ce729c34e08 in ?? () from /usr/lib/libc.so.6 #25 0x00007ce729c34ecc in __libc_start_main () from /usr/lib/libc.so.6 #26 0x00005e58910e2695 in ?? () I created a new crash report to be able to send the coredumps and I'm closing it as a duplicate to this one. https://bugs.kde.org/show_bug.cgi?id=496924 *** Bug 496924 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 496048 *** |