Bug 12855 - glean abort with "X Error of failed request: BadDrawable"
Summary: glean abort with "X Error of failed request: BadDrawable"
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: Other Linux (All)
: high critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 12570
  Show dependency treegraph
 
Reported: 2007-10-18 19:15 UTC by Shuang He
Modified: 2009-08-24 12:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg conf (3.82 KB, application/octet-stream)
2007-10-18 19:15 UTC, Shuang He
Details
xorg log (21.88 KB, application/octet-stream)
2007-10-18 19:16 UTC, Shuang He
Details

Description Shuang He 2007-10-18 19:15:19 UTC
System Environment:
--------------------------
--Platform: FC6
--Xf86_video_intel:79636b8c776ae024518103c9fa137c8498c21d48
--Mesa:a663e846b63c33685a9e88c8904f5e3a225f6e85
--DRM:2c5c18fbd394f419a9cf650720a1187440c643cd
--Kernel:2.6.22

Bug detailed description:
--------------------------
glean abort with following error:
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  145 (XFree86-DRI)
  Minor opcode of failed request:  8 ()
  Resource id in failed request:  0x400002
  Serial number of failed request:  56
  Current serial number in output stream:  64


Reproduce steps:
----------------
start X
./glean -r resultlog


Current result:
----------------
api2:  NOTE rgba8, db, z24, s8, win+pmap, id 37
        Test skipped/non-applicable
api2:  NOTE rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 41
        Test skipped/non-applicable
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  145 (XFree86-DRI)
  Minor opcode of failed request:  8 ()
  Resource id in failed request:  0x400002
  Serial number of failed request:  56
  Current serial number in output stream:  64


Expected result:
----------------
glean should run completely without error
Comment 1 Shuang He 2007-10-18 19:15:47 UTC
Created attachment 12114 [details]
xorg conf
Comment 2 Shuang He 2007-10-18 19:16:10 UTC
Created attachment 12115 [details]
xorg log
Comment 3 WuNian 2007-10-23 18:19:18 UTC
Glean tests one case with all visuals. When test with the first visual, glean run normally. When test with the second visual, glean will create a new window and call XF86DRICreateContextWithConfig which results the request failure.

This bug is not i915 driver bug. It should be GLX or DRI common bug.
Comment 4 Shuang He 2007-10-23 22:19:09 UTC
I have tried bisect this, but failed
but according to our testing result history. this issue happened around 10-14-2007

for 10-13-2007, this issue didn't happen, we have:
Kernel:		2.6.22-rc6
Mesa:		bf805d3bf5bf191aa669b6155316a78917cf9b0e
Drm:		74001c34e5ad768feec8b2fbe9a617bc598a0a4b
Xf86_video_intel:		56ae767180da4a8bd4b7a4c35b92e019ab67d753
Xserver:		566610680c4e1cab3e7fc7146adbeaba52fdd0ad

for 10-14-2007, this issue happened, we have:
Kernel:		2.6.22-rc6
Mesa:		f9c6dfc4d12451c21f39f38b048758cbee5723cf
Drm:		9d779e2c88a02f5f9d57618145654610f0f10e28
Xf86_video_intel:		56ae767180da4a8bd4b7a4c35b92e019ab67d753
Xserver:		566610680c4e1cab3e7fc7146adbeaba52fdd0ad
Comment 5 Shuang He 2007-10-23 22:37:07 UTC
It seems the following dri2 merge brings in this issue:

commit f9c6dfc4d12451c21f39f38b048758cbee5723cf
Merge: bf805d3... a249446...
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Oct 12 19:35:04 2007 -0400

    Merge branch 'dri2'

    Conflicts:

        src/mesa/drivers/dri/i915/intel_screen.c
Comment 6 Michael Fu 2007-11-01 17:15:55 UTC
could you please retest on the tip? thanks.
Comment 7 Shuang He 2007-11-01 17:51:46 UTC
seems the issue is different now with the tip, I will look into this issue to find out. following is the current result:

[root@x-915gm bin]# ./glean -r shuang
api2:  NOTE rgba8, db, z24, s8, win+pmap, id 33
        Test skipped/non-applicable
api2:  NOTE rgba8, db, z24, s8, win+pmap, id 34
        Test skipped/non-applicable

basic:  PASS rgba8, db, z24, s8, win+pmap, id 33
Segmentation fault

Comment 8 Shuang He 2007-11-04 22:29:53 UTC
this issue has gone.
Comment #7 is another one. I will close and open another one for that.
Comment 9 Adam Jackson 2009-08-24 12:28:11 UTC
Mass version move, cvs -> git


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.