<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 - SIGSEGV - spirv_to_nir - in vkQuake"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97213">97213</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SIGSEGV - spirv_to_nir - in vkQuake
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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/Vulkan/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>groleo@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jason@jlekstrand.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm trying to run vkQuake (<a href="https://github.com/Novum/vkQuake">https://github.com/Novum/vkQuake</a>) on a Skylake
machine, but it crashes.

The vulkan driver was compiled from commit
b521083ffb351b7fe2521a47731a46cdbb614117

(gdb) bt
#0  exec_list_push_tail (n=0x231d2f8, list=0x50) at
../../src/compiler/glsl/list.h:445
#1  nir_function_impl_add_variable (var=0x231d2f8, impl=0x0) at
./nir/nir.h:1931
#2  vtn_handle_variables (b=0x23011d8, opcode=opcode@entry=SpvOpVariable,
w=w@entry=0x23077ac, count=<optimized out>) at spirv/vtn_variables.c:1319
#3  0x00007f1caa1bfbed in vtn_handle_variable_or_type_instruction (b=0x23011d8,
opcode=SpvOpVariable, w=0x23077ac, count=4) at spirv/spirv_to_nir.c:2608
#4  0x00007f1caa1c1f9f in vtn_foreach_instruction (b=b@entry=0x23011d8,
start=start@entry=0x2307738, end=end@entry=0x2307a34,
handler=handler@entry=0x7f1caa1bfb60 <vtn_handle_variable_or_type_instruction>)
    at spirv/spirv_to_nir.c:231
#5  0x00007f1caa1c7865 in spirv_to_nir (words=0x2307738, words@entry=0x2307560,
word_count=<optimized out>, spec=spec@entry=0x0, num_spec=0,
stage=stage@entry=MESA_SHADER_FRAGMENT, 
    entry_point_name=entry_point_name@entry=0x468063 "main",
options=0x7f1caa2f8a40 <scalar_nir_options>) at spirv/spirv_to_nir.c:2896
#6  0x00007f1caa0c93cf in anv_shader_compile_to_nir (device=<optimized out>,
spec_info=<optimized out>, stage=<optimized out>, entrypoint_name=0x468063
"main", module=0x1f22b98) at anv_pipeline.c:135
#7  anv_pipeline_compile (pipeline=pipeline@entry=0x2388390,
module=module@entry=0x2307540, entrypoint=<optimized out>,
entrypoint@entry=0x468063 "main", stage=stage@entry=MESA_SHADER_FRAGMENT,
spec_info=<optimized out>, 
    prog_data=prog_data@entry=0x7ffe42884100, map=0x7ffe42884010) at
anv_pipeline.c:317
#8  0x00007f1caa0c97d8 in anv_pipeline_compile_fs
(pipeline=pipeline@entry=0x2388390, cache=cache@entry=0x222eb08,
info=info@entry=0x7ffe42886920, extra=extra@entry=0x0,
module=module@entry=0x2307540, entrypoint=0x468063 "main", 
    spec_info=0x0) at anv_pipeline.c:608
#9  0x00007f1caa0cad67 in anv_pipeline_init (pipeline=pipeline@entry=0x2388390,
device=device@entry=0x222e850, cache=cache@entry=0x222eb08,
pCreateInfo=pCreateInfo@entry=0x7ffe42886920, extra=extra@entry=0x0,
alloc=0x222e858, 
    alloc@entry=0x0) at anv_pipeline.c:1202
#10 0x00007f1caa2e836d in gen9_graphics_pipeline_create (_device=0x222e850,
cache=0x222eb08, pCreateInfo=0x7ffe42886920, extra=0x0, pAllocator=0x0,
pPipeline=0x702850) at gen8_pipeline.c:165
#11 0x00007f1caa0cb065 in anv_graphics_pipeline_create
(_device=_device@entry=0x222e850, _cache=_cache@entry=0x0,
pCreateInfo=pCreateInfo@entry=0x7ffe42886920, extra=extra@entry=0x0,
pAllocator=pAllocator@entry=0x0, 
    pPipeline=pPipeline@entry=0x702850) at anv_pipeline.c:1294
#12 0x00007f1caa0cb0ee in anv_CreateGraphicsPipelines (_device=0x222e850,
pipelineCache=0x0, count=1, pCreateInfos=<optimized out>, pAllocator=0x0,
pPipelines=0x702850) at anv_pipeline.c:1312</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>