Bug 410701 - kglobalaccel5 takes all CPU when plugging USB keyboard
Summary: kglobalaccel5 takes all CPU when plugging USB keyboard
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.16.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-07 18:03 UTC by Malte
Modified: 2022-09-26 12:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte 2019-08-07 18:03:32 UTC
The desktop stops responding to all keyboard input after plugging in USB input devices. I can reproduce this using the Raspberry Pi Keyboard and a Sennheiser USB headset. I've been seeing this behavior for quite some time on multiple systems since KDE ~5.14 on Debian testing, unstable and also on Arch Linux.

STEPS TO REPRODUCE
1. Plug in USB headset or similar

OBSERVED RESULT
- Screen freezes for some seconds (kwin_x11's compositor?)
- Sometimes no keyboard input is possible for dozens of seconds
- Always global shortcuts stop working for dozens of seconds
- Checking with (h)top shows high cpu usage by kglobalaccel5 and Xorg
- Killing and restarting kglobalaccel5 restores functionality immediately

There is nothing suspicious in xsession-errors or Xorg.log.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (2019-08-07)
(available in About System)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2022-09-23 02:22:47 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Malte 2022-09-26 12:34:13 UTC
This issue hasn't appeared for quite a while.