Bug 18700

Summary: AllowEmptyInput keyword in xorg.conf triggers xserver crash on current git
Product: xorg Reporter: Alex Villacís Lasso <avillaci>
Component: Input/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium Keywords: regression
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
i915 platform: i915 features:
Description Flags
Configuration file used for Xorg
Xorg.0.log after X server crashes
Xorg.0.log of previous (working) git tree
Heads of each git tree used in build none

Description Alex Villacís Lasso 2008-11-25 08:20:47 UTC
Testing current git for full xorg tree with Fedora 8 and kernel from distro. As far as I know, distro does not support evdev.

When running the then-current git from a month ago, the X server started up with /etc/X11/xorg.conf from distro, but keyboard and mouse did not work. By suggestion of the log file, the AllowEmptyInput keyword was added to the configuration file, and the X server started up without further problems.

With current git as of 2008/11/24 11:00 GMT -5 , xserver tree built from it crashes inmediately with a segfault after using the previously-working configuration file. When removing the AllowEmptyInput keyword, X server starts up again, but again mouse and keyboard are unresponsive.

Steps to reproduce:
- System uses PS/2 keyboard and mouse
- Use distro without evdev support (Fedora 8 in my case)
- Prepare xorg.conf with AllowEmptyInput keyword
- Attempt to start up xserver from current git

Expected results:
xserver should start normally

Actual results:
Screen flickers for a moment, then goes back to command line. Log file shows segfault.
Comment 1 Alex Villacís Lasso 2008-11-25 08:22:41 UTC
Created attachment 20576 [details]
Configuration file used for Xorg

Configuration file from system. Compiled tree is in /home/alex/xserver .
Comment 2 Alex Villacís Lasso 2008-11-25 08:24:11 UTC
Created attachment 20577 [details]
Xorg.0.log after X server crashes

This is the log file from the xserver right after the crash. Please note the segfault at the end.
Comment 3 Alex Villacís Lasso 2008-11-25 08:27:13 UTC
Created attachment 20578 [details]
Xorg.0.log of previous (working) git tree

This is the log file of the working build.
Comment 4 Alex Villacís Lasso 2008-11-25 08:55:09 UTC
Created attachment 20579 [details]
Heads of each git tree used in build

Generated with:

 for i in app/* data/* doc/* driver/* drm font/* lib/* mesa pixman proto/* util/* xcb/* xserver ; do CWD=`pwd`; echo $i >> salida-git-log.txt ; cd "$i"; git-log -1 </dev/null >> /home/alex/checkouts/xserver/git/salida-git-log.txt ; cd $CWD ; done
Comment 5 Peter Hutterer 2008-11-25 16:57:03 UTC
I merged the wrong patch, patch reverted and the correct one pushed as 
ec1d08442f69353cb0e73ac4eaf0346ebb975594. Thanks for reporting.

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.