Bug 4067

Summary: xorg-server breakage on amd64
Product: xorg Reporter: Ben Skeggs <skeggsb>
Component: Build/ModularAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: high CC: dberkholz, herbs
Version: 6.7.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Output of running the test case
none
xorg.conf
none
Xorg.0.log
none
Test case for XSelectInput problem none

Description Ben Skeggs 2005-08-13 15:27:55 UTC
Most X applications refuse to start, failing with BadValue in XCreateWindow.

I believe the problem may have something to do with the event mask, as calling
XCreateSimpleWindow seems to work in a couple of tests, but if you attempt to
select for some events with XSelectInput, the application will die with BadValue.

I've also seen firefox die with BadColor, I'm unsure if this is related.

OS: Gentoo AMD64 2005.0
gcc: 3.4.4
kernel: 2.6.12-gentoo-r6
Comment 1 Ben Skeggs 2005-08-13 15:28:47 UTC
Created attachment 3339 [details] [review]
proposed patch.
Comment 2 Ben Skeggs 2005-08-14 19:31:28 UTC
Created attachment 2860 [details]
Output of running the test case
Comment 3 Ben Skeggs 2005-08-14 19:32:05 UTC
Created attachment 2861 [details]
xorg.conf
Comment 4 Ben Skeggs 2005-08-14 19:32:32 UTC
Created attachment 2862 [details]
Xorg.0.log
Comment 5 Ben Skeggs 2005-08-14 19:34:01 UTC
Created attachment 2863 [details]
Test case for XSelectInput problem
Comment 6 Ben Skeggs 2005-08-14 19:36:53 UTC
As suggested by Donnie Berkholz (spyderous), I've updated the build (portage has
cvs from 20050811) and a patch to configure.ac which changes "amd64" to "x86_64".

The problem still occurs.
Comment 7 Donnie Berkholz 2005-08-22 18:19:29 UTC
Ben, could you try >=xorg-server-0.99.1-r4 and let us know how it works. It's a
CVS update to today, which has some amd64 fixes.
Comment 8 Ben Skeggs 2005-08-22 23:43:10 UTC
Thanks for the heads up Donnie.  xorg-server-0.99.1-r5 works correctly.  Marking
as resolved.

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.