Bug 18700 - AllowEmptyInput keyword in xorg.conf triggers xserver crash on current git
Summary: AllowEmptyInput keyword in xorg.conf triggers xserver crash on current git
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2008-11-25 08:20 UTC by Alex Villacís Lasso
Modified: 2008-11-25 16:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Configuration file used for Xorg (1.76 KB, text/plain)
2008-11-25 08:22 UTC, Alex Villacís Lasso
no flags Details
Xorg.0.log after X server crashes (28.23 KB, text/plain)
2008-11-25 08:24 UTC, Alex Villacís Lasso
no flags Details
Xorg.0.log of previous (working) git tree (31.45 KB, text/x-log)
2008-11-25 08:27 UTC, Alex Villacís Lasso
no flags Details
Heads of each git tree used in build (74.84 KB, text/plain)
2008-11-25 08:55 UTC, Alex Villacís Lasso
no flags Details

Description Alex Villacís Lasso 2008-11-25 08:20:47 UTC
Testing current git for full xorg tree with Fedora 8 and kernel 2.6.26.6-49.fc8 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.