FS#12372 - xf86-input-evdev 2.1.0-1 crashes xorg on "ctrl-c"

Attached to Project: Arch Linux
Opened by Jakob Gruber (schuay) - Sunday, 07 December 2008, 11:29 GMT
Last edited by Jan de Groot (JGC) - Thursday, 18 December 2008, 11:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture i686
Severity Critical
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I'm using a config-less xorg-server 1.5.3-2. After the upgrade the xf86-input-evdev 2.1.0-1 and xorg-server 1.5.3-3, pressing ctrl-c while in gnome crashes xorg and restarts gdm.
Reverting to xorg-server 1.5.3-2 didn't help, reverting to xf86-input-evdev 2.0.7-1 fixed the problem.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

Upgrade to evdev 2.1.0-1 and press Ctrl-C.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 18 December 2008, 11:13 GMT
Reason for closing:  Fixed
Comment by Jakob Gruber (schuay) - Sunday, 07 December 2008, 11:56 GMT
debian-bugs-dist@lists.debian.org/msg586642.html"> http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586642.html

some more info here
Comment by Jakob Gruber (schuay) - Sunday, 07 December 2008, 12:09 GMT
adding an xorg.conf with

Section "ServerFlags"
Option "AllowEmptyInput" "true"
EndSection

fixes the ctrl-c issue, but exiting xorg using "c-a-backspace" or switching to a VC using "c-a-1" does not work.
Comment by Jan de Groot (JGC) - Sunday, 07 December 2008, 15:32 GMT
Note that AllowEmptyInput is the default, as that's required for hotplugging. As for the broken key combinations: is your keyboard configured as evdev model in your desktop environment?
Comment by Jakob Gruber (schuay) - Sunday, 07 December 2008, 15:47 GMT
yes, the keyboard is configured as evdev-managed, and xev shows the expected keysyms for Alt, Ctrl, F1 and Backspace.

about AllowEmptyInput - it may be default, but adding it to xorg.conf does change evdev's behavior.

Comment by Jan de Groot (JGC) - Sunday, 07 December 2008, 17:24 GMT
Could you attach your xorg.conf and Xorg.0.log?
Comment by Jakob Gruber (schuay) - Sunday, 07 December 2008, 17:46 GMT
Xorg.0.log is attached, and my current xorg.conf is posted above (empty except for ServerFlags section).
Before I had the ctrl-c issue, I didn't have any config files for xorg.

Here's the link to the commit (taken from the URL in my first comment):

http://cgit.freedesktop.org/xorg/xserver/commit/?id=d936a4235c9625bd41569cef3452dd086284e0d7
Comment by Jan de Groot (JGC) - Sunday, 07 December 2008, 19:35 GMT
Please attach the whole xorg.conf. Small quotes are not relevant in xorg bugreports.
Comment by Jakob Gruber (schuay) - Sunday, 07 December 2008, 19:49 GMT
Here you go.
Comment by Jakob Gruber (schuay) - Sunday, 07 December 2008, 20:33 GMT
I found the cause for the nonworking keyboard shortcuts "C-A-Backspace" and "C-A-F1".

In Keyboard Preferences - Layouts - Layout Options - Alt/Win behavior, I had "Left Alt is swapped with left Win-key" selected. Worked fine for xev and X apps, but apparently it confused the rest of the system (is this another xorg bug?).

With "Alt/Win key behavior" on Default and AllowEmptyInput true in xorg.conf, everything works as expected.

Running xorg without an xorg.conf leads to the described bug. I haven't tested it but I can imagine that xorg.conf's without AllowEmptyInput will also produce this bug.
Comment by Teran McKinney (sega01) - Tuesday, 16 December 2008, 18:28 GMT Comment by Jan de Groot (JGC) - Wednesday, 17 December 2008, 21:02 GMT
I just updated xorg-server to testing for i686 which includes the suggested patch, together with some more upstream updates. Please test and confirm if this bug is fixed.
Comment by Matteo Drera (seven.issimo) - Thursday, 18 December 2008, 11:08 GMT
I confirm: last update (xorg-server 1.5.3-4) fix this issue.

Loading...