Created attachment 56386 [details]
Results of the incomplete bisection
When kdm is running and at the login window, pressing any key on the keyboard crashes the server with a segmentation fault. This problem is 100% reproducible and does not appear when the X server is run from the console.
A debug session from a remote computer originated the crash from the function EventIsDeliverable and the cause of the crash is an invalid address (see gdb.txt for more informations).
A bisection using git bisect showed that the bug was introduced between xorg-server-184.108.40.206 and xorg-server-220.127.116.11. I was unable to finish the bisection because of compilations issues three steps before the end of the bisection (the log is in bisection.results).
218752bdc5d9323d1e6202e762573a925cf8a4eb is the first bad commit
Author: Peter Hutterer <firstname.lastname@example.org>
Date: Thu Dec 8 14:27:01 2011 +1000
input: replace GRABTYPE_* with the InputLevel enums
They achieve the same thing, re-use the more generic InputLevel so we can
convert to/fro easier.
Signed-off-by: Peter Hutterer <email@example.com>
Reviewed-by: Chase Douglas <firstname.lastname@example.org>
:040000 040000 da796c2c9bd3069c1f18e3c48377165047cff9dc 2643d9e30b18576e2cb4de583414222929a3c89b M Xi
:040000 040000 48dd6c197d484fb833108142a78bd3312563b706 c74546e6f4cff43cd2f3aa5feb90355f2f537a20 M dix
:040000 040000 f5a5a63f4ac1e997c58b2012f8007cac17f5eb12 ec574d564571670a0167304cedbeee0c649c083d M include
:040000 040000 de23b6d8bae38ba7944f75c1e0b13a7e0065e719 bd0b61a1ea13e5d8ceef5d18acbdd11b74867e59 M test
The commits I was unable to test are all related to Xinput.
Created attachment 56387 [details]
Created attachment 56388 [details]
Created attachment 56572 [details]
result of the second bisection
is this still an issue with 1.12?
I've seen crashes like these on systems where X is started during the init process on a free TTY that is taken by agetty later in the boot process. X puts the TTY in raw mode thanks to evdev, agetty does something else to the TTY and as soon as you press enter, X will crash. After that it works fine, as kdm/gdm will launch X on tty8 instead.
This is a mass change of bugs. Bugs assigned to me that haven't been updated in the last 3 years are closed as WONTFIX, because, well, let's at least be honest about it.
Please do not re-open unless you have a really good reason to do so (e.g. you're fixing it yourself). If it hasn't been fixed in the last 3 years, it probably won't be fixed anytime soon either. Sorry.