<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BDW]Piglit/spec@glsl-1.30@execution@tex-miplevel-selection_texturegrad_1d intermittently segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91005">91005</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW]Piglit/spec@glsl-1.30@execution@tex-miplevel-selection_texturegrad_1d intermittently segfault
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: BDW
Libdrm:       
(master)libdrm-2.4.61-13-g97be70b45eccc37e98a1cecf360593f36956ea42
Mesa:        (master)8b24388647f626a5cad10fd48e61335ed26a8560
Xserver:   
(master)xorg-server-1.17.0-158-gfa12f2c150b2f50de9dac4a2b09265f13af353af
Xf86_video_intel:(master)2.99.917-362-g7d9a74622e5a936e4860fcef8358619bf59adae8
Libva:        (master)5d07b29687db6d17811b7ecf9b779377e9851a27
Libva_intel_driver:(master)e797089446c1f5b71b239b9046d76e054dfcba59
Kernel:   (drm-intel-nightly)8207b91f1a5a6aefe571a9823b2458dd941a9a5e

Bug detailed description:
-----------------------------
It intermittently segfault on BDW with the latest mesa master branch, fail
rate: 2/10.
Following cases also segfault:
spec@arb_shader_texture_lod@execution@tex-miplevel-selection_*lod_cube
spec@arb_shader_texture_lod@execution@tex-miplevel-selection_*projlod_1d
spec@arb_shader_texture_lod@execution@tex-miplevel-selection_*projlod_2dshadow
<a href="mailto:spec@glsl-1.20">spec@glsl-1.20</a>@execution@tex-miplevel-selection_gl2:textureproj_2d_projvec4
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_texturegrad_1d
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_texturegrad_2dshadow
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_texturelod_1darrayshadow
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_texturelod_2d
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_texturelod_cube
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_textureprojgradoffset_1dshadow
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_textureprojgrad_1d
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_textureprojgrad_3d
<a href="mailto:spec@glsl-1.30">spec@glsl-1.30</a>@execution@tex-miplevel-selection_textureprojlodoffset_3d

output:
Starting program: /GFX/Test/Piglit/piglit/bin/tex-miplevel-selection
textureGrad 1DShadow -auto -fbo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
libGL: OpenDriver: trying /opt/X11R7/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /opt/X11R7/lib/dri/i965_dri.so
libGL: Using DRI2 for screen 0

Program received signal SIGSEGV, Segmentation fault.
check_and_emit_atom (atom=0x7ffff7fc9740, state=0x7fffffffdcf0,
brw=0x7ffff7fa5038) at brw_state_upload.c:650
(gdb) bt
#0  check_and_emit_atom (atom=0x7ffff7fc9740, state=0x7fffffffdcf0,
brw=0x7ffff7fa5038) at brw_state_upload.c:650
#1  brw_upload_pipeline_state (pipeline=BRW_RENDER_PIPELINE,
brw=brw@entry=0x7ffff7fa5038) at brw_state_upload.c:750
#2  brw_upload_render_state (brw=brw@entry=0x7ffff7fa5038) at
brw_state_upload.c:772
#3  0x00007ffff2031966 in brw_try_draw_prims (indirect=<optimized out>,
max_index=<optimized out>, min_index=<optimized out>, ib=<optimized out>,
nr_prims=<optimized out>,
    prims=<optimized out>, arrays=<optimized out>, ctx=0x7ffff7fa5038) at
brw_draw.c:517
#4  brw_draw_prims (ctx=0x7ffff7fa5038, prims=<optimized out>,
nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized
out>, min_index=0, max_index=3,
    unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:605
#5  0x00007ffff1e78544 in vbo_exec_vtx_flush (exec=exec@entry=0x1033308,
keepUnmapped=<optimized out>) at vbo/vbo_exec_draw.c:408
#6  0x00007ffff1e5e1c1 in vbo_exec_FlushVertices_internal (exec=0x1033308,
unmap=<optimized out>) at vbo/vbo_exec_api.c:568
#7  0x00007ffff1e753b6 in vbo_exec_FlushVertices (ctx=0x7ffff7fa5038,
flags=<optimized out>) at vbo/vbo_exec_api.c:1191
#8  0x00007ffff1e3b93c in incomplete (texObj=0x11ac3d0, ctx=0x7ffff7fa5038) at
main/texparam.c:250
#9  set_tex_parameteri (ctx=ctx@entry=0x7ffff7fa5038,
texObj=texObj@entry=0x11ac3d0, pname=pname@entry=33084,
params=params@entry=0x7fffffffdee0, dsa=<optimized out>)
    at main/texparam.c:387
#10 0x00007ffff1e3c7f6 in _mesa_texture_parameteri (ctx=0x7ffff7fa5038,
texObj=0x11ac3d0, pname=33084, param=5, dsa=<optimized out>) at
main/texparam.c:917
#11 0x000000000040571a in piglit_display () at
/GFX/Test/Piglit/piglit/tests/texturing/tex-miplevel-selection.c:1450
#12 0x00007ffff7b5e903 in run_test (gl_fw=0x609010, argc=3,
argv=0x7fffffffe178) at
/GFX/Test/Piglit/piglit/tests/util/piglit-framework-gl/piglit_fbo_framework.c:52
#13 0x00007ffff7b453ed in piglit_gl_test_run (argc=3, argv=0x7fffffffe178,
config=0x7fffffffe040) at
/GFX/Test/Piglit/piglit/tests/util/piglit-framework-gl.c:151
#14 0x0000000000401d46 in main (argc=3, argv=0x7fffffffe178) at
/GFX/Test/Piglit/piglit/tests/texturing/tex-miplevel-selection.c:67

Reproduce steps:
---------------------------- 
1. xinit
2. ./bin/tex-miplevel-selection textureGrad 1DShadow -auto -fbo</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>