https://bugs.kde.org/show_bug.cgi?id=456817
Bug ID: 456817 Summary: kwin_wayland segfaults while pressing some buttons on Tablet Product: kwin Version: 5.25.3 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: foraminuteth...@mail.ru Target Milestone: --- SUMMARY kwin_wayland segfaults while pressing buttons on the graphic tablet. (X11 Works fine) Here a backtrace: Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayl'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f2402722088 in KWaylandServer::ClientConnection::operator wl_client*() () from /usr/lib/libkwin.so.5 [Current thread is 1 (Thread 0x7f23fb387a80 (LWP 16715))] (gdb) bt #0 0x00007f2402722088 in KWaylandServer::ClientConnection::operator wl_client*() () at /usr/lib/libkwin.so.5 #1 0x00007f24027687f9 in KWaylandServer::TabletPadV2Interface::setCurrentSurface(KWaylandServer::SurfaceInterface*, KWaylandServer::TabletV2Interface*) () at /usr/lib/libkwin.so.5 #2 0x00007f24025e8986 in () at /usr/lib/libkwin.so.5 #3 0x00007f240267bdb5 in () at /usr/lib/libkwin.so.5 #4 0x00007f24012bd341 in () at /usr/lib/libQt5Core.so.5 #5 0x00007f2402548c22 in KWin::InputDevice::tabletPadButtonEvent(unsigned int, bool, KWin::TabletPadId const&) () at /usr/lib/libkwin.so.5 #6 0x00007f240270fecc in KWin::LibInput::Connection::processEvents() () at /usr/lib/libkwin.so.5 #7 0x00007f24012b0440 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #8 0x00007f2400978b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #9 0x00007f240128cad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #10 0x00007f240128d5e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5 #11 0x00007f24012d6c37 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #12 0x00005629ef6fd622 in () #13 0x00007f240128527c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #14 0x00007f240128fda9 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #15 0x00005629ef622eb5 in () #16 0x00007f2400029290 in () at /usr/lib/libc.so.6 #17 0x00007f240002934a in __libc_start_main () at /usr/lib/libc.so.6 #18 0x00005629ef6245d5 in () STEPS TO REPRODUCE I cannot find exactly reproduce steps (behavior changes from time to time) 1. Plug in tablet 2. Press some buttons on tablet (not a pen) OBSERVED RESULT kwin_wayland segfaults, thus every graphical session application crashes EXPECTED RESULT Normal operation SOFTWARE/OS VERSIONS OS: Arch Linux 64-bit Kernel: 5.18.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 12 Jul 2022 15:40:51 +0000 x86_64 GNU/Linux KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Graphics Platform: Wayland HARDWARE INFORMATION Tablet: Ugee M708 (v1 with active pen), detects as "UC-LOIC Tablet 1060". -- You are receiving this mail because: You are watching all bug changes.