Bug 20324

Summary: [i915]glean case/maskedClear segfault
Product: Mesa Reporter: liuhaien <haien.liu>
Component: Drivers/DRI/i915Assignee: Eric Anholt <eric>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: regression
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 20277    
Attachments: xorg.0.log
xorg conf file

Description liuhaien 2009-02-26 00:29:33 UTC
Created attachment 23308 [details]
xorg.0.log

System Environment:
--------------------------
Libdrm:         (master)efa485b2cf2f1f46760a3d9297ba1a73a2dbcd05
Mesa:           (mesa_7_4_branch)c32661c3ce39e3c6ba89bb7181692cdf0340c6ca       
Xserver:        (server-1.6-branch)4557b3f6c4273cd83b701beaf7a150c806fed298
Xf86_video_intel: (master)a625a07022ea7f6757b288fcc2ffb9e27c7f8341
GEM_kernel:       (for-airlied)7652afdd9e8ceaa92f34ad347be404b3903ff30f

Bug detailed description:
--------------------------
glean case/maskedClear got segfault since Feb.18. I think it is related to bug 20261.


Reproduce steps:
----------------
1. xinit&
2.run Glean/maskedClear
Comment 1 liuhaien 2009-02-26 00:30:20 UTC
Created attachment 23309 [details]
xorg conf file
Comment 2 liuhaien 2009-02-26 00:36:04 UTC
following is the backtrace from gdb:
#0  0xb7a3c9a0 in i915_emit_state (intel=0x8423ce8) at i915_vtbl.c:327
#1  0xb7a6a0d6 in intel_flush_prim (intel=0x8423ce8) at intel_tris.c:228
#2  0xb7a5f095 in intel_meta_draw_quad (intel=0x8423ce8, x0=0, x1=258, y0=0,
    y1=258, z=1, color=4294967295, s0=0, s1=0, t0=0, t1=0) at intel_tris.c:1282
#3  0xb7a2e916 in intelClear (ctx=0x8423ce8, mask=512) at intel_buffers.c:286
#4  0xb7a73339 in _mesa_Clear (mask=0) at main/clear.c:182
#5  0x08078fb0 in GLEAN::MaskedClearTest::runOne (this=0x8105040, r=@0x816b088)
    at tmaskedclear.cpp:229
#6  0x0805bb9f in GLEAN::BaseTest<GLEAN::BasicResult>::run (this=0x8105040,
    environment=@0xbf9277b0) at tbase.h:313
#7  0x0805466b in main (argc=6, argv=0xbf9278f4) at main.cpp:129
Comment 3 liuhaien 2009-03-22 20:28:09 UTC
still exists against:
Libdrm:         (master)00d8e960ca665b7f0528438331f4d0ae77fbb4cc
Mesa:(mesa_7_4_branch)b009a32bf428192fef2dc4787d25f022a472854f          
Xserver:        (server-1.6-branch)60c161545af80eb78eb790a05bde79409dfdf16e
Xf86_video_intel:       (2.7)e2465249a90b9aefe6d7a96eb56a51fde54698a0
Kernel:       (for-airlied)a2e785c32b886dd7f0289d1cf15fc14e9c81bc01
Comment 4 Eric Anholt 2009-06-30 20:39:07 UTC
No longer segfaults in current mesa_7_4_branch.
Comment 5 liuhaien 2009-07-02 20:47:44 UTC
verified although it still fails but without segfault.
Libdrm:		(master)fbac5891b91c795de61f4d7cbc1a6799474364ad
Mesa:		(master)73137997e23ff6c1145d036315d1a9ad96651281
Xserver:		(master)3525d140567e0ad5f0184e4b37893c47239e1628
Xf86_video_intel:		(master)4100abdf5d208bbcbb4ceabad0572c04221443c9
Kernel:       (drm-intel-next)1ae8c0a56eeb3ed358b78ccadd024d6b721f26bc

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.