Since switching to xserver 1.4.x (1.4.0.90 at the moment) I'm getting more and more user reports, that sometimes (maybe about once a week) X think that modifiers like Alt/Ctrl are pressed constantly (keypress event). Pressing the same modifier, i.e. forcing the keyrelease eventn, doesn't help. Neither does reloading the keyboard layout. Only restarting the Xserver does. This seems to be something deep inside the Xserver. Any hints where to add debug code (source file, function), so this issue can be understood better?
Hopefully Daniel can help here.
This problem is very nasty, it happens on my system every couple of days during regular X11 use. And it breaks my mouse too. I am not sure when it started, either after upgrade to the latest packages in Debian Sid or after I changed the config to use evdev (both happened almost at the same time). Interesting facts: I can kill my Xserver with Alt-Fx-Backspace but only on the PS2 keyboard and not via USB keyboard (driven by evdev). I got confusing bug reports for IceWM(Debian) and some people seem to experience this or similar problems, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452002#30 . Another thing: One time I had xev running in the background when this happened. Therein I could not see proper events for the mouse button 1 but other button events have been reported correctly. Events for button 1 appeared but they were garbled (I cannot remember the contents and could not store it anymore).
Looks like there are more victims. The users, which reported the issue to me, are still using the kbd driver, so I don't think it's related to evdev driver.
There may be different problems with similar symptoms. Or a common problem having different appearences depending on what the user did to trigger it... I don't know. Few minutes ago I had to kill my X because input started a flood of Super_L events (left Win95 key). Before this happened I pressed this key down for few seconds combined with left/right cursor keys (switching through icewm workspaces). Here are more victims: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/190615
Seems to be a duplicate. *** This bug has been marked as a duplicate of bug 14449 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.