Bug 16421 - [mesa_7_0 i915]seg fault when SetTexImages
Summary: [mesa_7_0 i915]seg fault when SetTexImages
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: 7.0.3
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 16029
  Show dependency treegraph
 
Reported: 2008-06-18 19:16 UTC by WuNian
Modified: 2008-07-06 18:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description WuNian 2008-06-18 19:16:02 UTC
+++ This bug was initially created as a clone of Bug #16210 +++

Running test case of bug #10219 (attachment #9027 [details]), it will seg fault when draw primitives. The case uses mipmap and sets texture lod.

The backtrace info:

(gdb) bt
#0  0x00002b376a8ff813 in i915SetTexImages (i915=<value optimized out>, 
    tObj=0x911af0) at i915_texstate.c:347
#1  0x00002b376a8ffe3c in enable_tex_2d (ctx=<value optimized out>, unit=0)
    at i915_texstate.c:809
#2  0x00002b376a900388 in i915UpdateTextureState (intel=0x62de40)
    at i915_texstate.c:902
#3  0x00002b376a920d17 in intelRunPipeline (ctx=0x911e10) at intel_tris.c:767
#4  0x00002b376a9ad0db in _tnl_draw_prims (ctx=0x62de40, arrays=0x66ea90, 
    prim=0x66d274, nr_prims=1, ib=0x0, min_index=0, max_index=3)
    at tnl/t_draw.c:402
#5  0x00002b376a9a5a10 in vbo_exec_vtx_flush (exec=0x66d030)
    at vbo/vbo_exec_draw.c:215
#6  0x00002b376a9a19f5 in vbo_exec_FlushVertices (ctx=<value optimized out>, 
    flags=21) at vbo/vbo_exec_api.c:700
#7  0x00002b376aa3a405 in _mesa_ReadPixels (x=0, y=0, width=64, height=64, 
    format=6407, type=5126, pixels=0x6110c0) at main/drawpix.c:277
#8  0x00002b3768fb4d2d in glReadPixels (x=0, y=0, width=64, height=64, 
    format=6407, type=5126, pixels=0x6110c0)
    at ../../../src/mesa/glapi/glapitemp.h:1365
#9  0x000000000040168f in display () at texture_lod_10219.c:145
#10 0x00002b376920fc14 in processWindowWorkList (window=0x624590)
    at glut_event.c:1306
#11 0x00002b3769210752 in glutMainLoop () at glut_event.c:1353


The bug is similar with bug #16210 but with different backtrace.
Comment 1 haihao 2008-06-30 20:55:45 UTC
fixed in mesa_7_0_branch (9fa552eb0fb91d092f8a7df0e131696feda54130)


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.