https://bugs.kde.org/show_bug.cgi?id=529284
Bug ID: 529284
Summary: kwin_wayland 6.8.3 crashes with SIGSEGV in
KWin::InputRedirection::syncTabletWithMouse() during
startup
Classification: Plasma
Product: kwin
Version First 6.8.3
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: input
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
kwin_wayland crashes with SIGSEGV inside
`KWin::InputRedirection::syncTabletWithMouse()` immediately during Wayland
session startup when pointer/touchpad motion events are processed while
`setupInputBackends()` is still running.
STEPS TO REPRODUCE
1. Boot into SDDM on a laptop (Dell Inspiron 5437).
2. Enter password and press Enter to start a Plasma 6.8.3 Wayland session.
3. Move the touchpad/cursor immediately while the session is still
initializing.
OBSERVED RESULT
kwin_wayland segfaults (`Signal: 11 (SEGV)`, `si_code: SI_TKILL`) during
`ApplicationWayland::performStartup()` ->
`InputRedirection::setupInputBackends()`.
EXPECTED RESULT
Pointer motion events queued during backend initialization should not trigger
`syncTabletWithMouse()` before tablet/input redirection components are fully
initialized.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 45 (CapivaraOS 45 derivative)
KDE Plasma Version: 6.8.3
KDE Frameworks Version: 6.32.0
Qt Version: 6.11.2
Graphics Platform: Wayland (Intel Haswell / Mesa 26.2.7)
Hardware: Dell Inspiron 5437 (Intel Core i5-4200U)
BACKTRACE (Thread 2016)
#0 0x00007f5d1c8f1cec __pthread_kill_implementation (libc.so.6 + 0xefcec)
#1 0x00007f5d1c895f4e raise (libc.so.6 + 0x93f4e)
#2 0x00007f5d20949ed4 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 +
0x9ed4)
#3 0x00007f5d1c896070 __restore_rt (libc.so.6 + 0x94070)
#4 0x00007f5d202a5194 _ZNK4KWin16InputRedirection19syncTabletWithMouseEv
(libkwin.so.6 + 0x4a5194)
#5 0x00007f5d2034d344
_ZN4KWin23PointerInputRedirection13processMotionERK7QPointFS3_NSt6chrono8durationIlSt5ratioILl1ELl1000000EEEEPNS_11InputDeviceE
(libkwin.so.6 + 0x54d344)
#6 0x00007f5d1d1faa37 _Z10doActivateILb0EEvP7QObjectiPPv (libQt6Core.so.6 +
0x3faa37)
#7 0x00007f5d201b0768
_ZN4KWin11InputDevice13pointerMotionERK7QPointFS3_NSt6chrono8durationIlSt5ratioILl1ELl1000000EEEEPS0_
(libkwin.so.6 + 0x3b0768)
#8 0x00007f5d20546e12 _ZN4KWin8LibInput10Connection13processEventsEv
(libkwin.so.6 + 0x746e12)
#9 0x00007f5d202a76e3
_ZN4KWin16InputRedirection15addInputBackendEOSt10unique_ptrINS_12InputBackendESt14default_deleteIS2_EE
(libkwin.so.6 + 0x4a76e3)
#10 0x00007f5d202a78cf _ZN4KWin16InputRedirection18setupInputBackendsEv
(libkwin.so.6 + 0x4a78cf)
#11 0x00007f5d202a0155 _ZN4KWin16InputRedirectionC2EP7QObject (libkwin.so.6 +
0x4a0155)
#12 0x00007f5d202a0229 _ZN4KWin16InputRedirection6createEP7QObject
(libkwin.so.6 + 0x4a0229)
#13 0x00007f5d202e31cd _ZN4KWin11Application11createInputEv (libkwin.so.6 +
0x4e31cd)
#14 0x000055586378e161 _ZN4KWin18ApplicationWayland14performStartupEv
(kwin_wayland + 0x94161)
--
You are receiving this mail because:
You are watching all bug changes.