[Bug 97213] SIGSEGV - spirv_to_nir - in vkQuake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 5 09:40:19 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97213

            Bug ID: 97213
           Summary: SIGSEGV - spirv_to_nir - in vkQuake
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: groleo at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: jason at jlekstrand.net

I'm trying to run vkQuake (https://github.com/Novum/vkQuake) 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 at entry=SpvOpVariable,
w=w at 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 at entry=0x23011d8,
start=start at entry=0x2307738, end=end at entry=0x2307a34,
handler=handler at entry=0x7f1caa1bfb60 <vtn_handle_variable_or_type_instruction>)
    at spirv/spirv_to_nir.c:231
#5  0x00007f1caa1c7865 in spirv_to_nir (words=0x2307738, words at entry=0x2307560,
word_count=<optimized out>, spec=spec at entry=0x0, num_spec=0,
stage=stage at entry=MESA_SHADER_FRAGMENT, 
    entry_point_name=entry_point_name at 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 at entry=0x2388390,
module=module at entry=0x2307540, entrypoint=<optimized out>,
entrypoint at entry=0x468063 "main", stage=stage at entry=MESA_SHADER_FRAGMENT,
spec_info=<optimized out>, 
    prog_data=prog_data at entry=0x7ffe42884100, map=0x7ffe42884010) at
anv_pipeline.c:317
#8  0x00007f1caa0c97d8 in anv_pipeline_compile_fs
(pipeline=pipeline at entry=0x2388390, cache=cache at entry=0x222eb08,
info=info at entry=0x7ffe42886920, extra=extra at entry=0x0,
module=module at entry=0x2307540, entrypoint=0x468063 "main", 
    spec_info=0x0) at anv_pipeline.c:608
#9  0x00007f1caa0cad67 in anv_pipeline_init (pipeline=pipeline at entry=0x2388390,
device=device at entry=0x222e850, cache=cache at entry=0x222eb08,
pCreateInfo=pCreateInfo at entry=0x7ffe42886920, extra=extra at entry=0x0,
alloc=0x222e858, 
    alloc at 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 at entry=0x222e850, _cache=_cache at entry=0x0,
pCreateInfo=pCreateInfo at entry=0x7ffe42886920, extra=extra at entry=0x0,
pAllocator=pAllocator at entry=0x0, 
    pPipeline=pPipeline at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160805/0aa49086/attachment-0001.html>


More information about the intel-3d-bugs mailing list