[Bug 94184] Vulkan: distancefieldfonts triggers a segfault

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 16 22:15:50 UTC 2016


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

            Bug ID: 94184
           Summary: Vulkan: distancefieldfonts triggers a segfault
           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: notasas at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

source: https://github.com/SaschaWillems/Vulkan
binaries: http://vulkan.gpuinfo.org/examples.php (data required from source
git)

VK_ICD_FILENAMES=/home/notaz/src/mesa/src/vulkan/anv_icd.json gdb
./distancefieldfonts
...
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff53b58dc in nir_build_alu (src3=0x0, src2=0x0, src1=0x0, src0=0x0,
op=nir_op_fddx, build=0x8a0170) at ./nir/nir_builder.h:175
175                num_components = MAX2(num_components,
(gdb) bt
#0  0x00007ffff53b58dc in nir_build_alu (src3=0x0, src2=0x0, src1=0x0,
src0=0x0, op=nir_op_fddx, build=0x8a0170) at ./nir/nir_builder.h:175
#1  nir_fddx (src0=0x0, build=0x8a0170) at ./nir/nir_builder_opcodes.h:65
#2  vtn_handle_alu (b=0x8a0170, opcode=SpvOpFwidth, w=w at entry=0x8db314,
count=<optimized out>) at nir/spirv/vtn_alu.c:405
#3  0x00007ffff53b08a8 in vtn_handle_body_instruction (b=0x8a0170,
opcode=SpvOpFwidth, w=0x8db314, count=<optimized out>)
    at nir/spirv/spirv_to_nir.c:2585
#4  0x00007ffff53ad230 in vtn_foreach_instruction (b=b at entry=0x8a0170,
start=<optimized out>, end=end at entry=0x8db420, 
    handler=handler at entry=0x7ffff53b0570 <vtn_handle_body_instruction>) at
nir/spirv/spirv_to_nir.c:218
#5  0x00007ffff53bb001 in vtn_emit_cf_list (b=b at entry=0x8a0170,
cf_list=cf_list at entry=0x7dac70, switch_fall_var=switch_fall_var at entry=0x0, 
    has_switch_break=has_switch_break at entry=0x0,
handler=handler at entry=0x7ffff53b0570 <vtn_handle_body_instruction>)
    at nir/spirv/vtn_cfg.c:577
#6  0x00007ffff53bbb57 in vtn_function_emit (b=b at entry=0x8a0170,
func=func at entry=0x7dac50, 
    instruction_handler=instruction_handler at entry=0x7ffff53b0570
<vtn_handle_body_instruction>) at nir/spirv/vtn_cfg.c:767
#7  0x00007ffff53b1730 in spirv_to_nir (words=<optimized out>,
words at entry=0x8dadf0, 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=0x460baa "main", 
    options=0x7ffff54b8780 <scalar_nir_options>) at
nir/spirv/spirv_to_nir.c:2671
#8  0x00007ffff4ff2a3d in anv_shader_compile_to_nir (device=<optimized out>,
spec_info=<optimized out>, stage=MESA_SHADER_FRAGMENT, 
    entrypoint_name=0x460baa "main", module=0x850f20) at anv_pipeline.c:136
#9  anv_pipeline_compile (pipeline=pipeline at entry=0x8db6c0,
module=module at entry=0x8dadd0, entrypoint=<optimized out>, 
    stage=stage at entry=MESA_SHADER_FRAGMENT, spec_info=<optimized out>,
prog_data=prog_data at entry=0x8dc360) at anv_pipeline.c:318
#10 0x00007ffff4ff3feb in anv_pipeline_compile_fs (spec_info=<optimized out>,
entrypoint=<optimized out>, module=<optimized out>, 
    extra=<optimized out>, info=0x7fffffffe0b0, cache=<optimized out>,
pipeline=0x8db6c0) at anv_pipeline.c:612
#11 anv_pipeline_init (pipeline=pipeline at entry=0x8db6c0,
device=device at entry=0x7c7870, cache=cache at entry=0x855f00, 
    pCreateInfo=pCreateInfo at entry=0x7fffffffe0b0, extra=extra at entry=0x0,
alloc=0x7c7878, alloc at entry=0x0) at anv_pipeline.c:1073
#12 0x00007ffff5496eaf in gen9_graphics_pipeline_create (_device=0x7c7870,
cache=0x855f00, pCreateInfo=0x7fffffffe0b0, extra=0x0, 
    pAllocator=0x0, pPipeline=0x68a330) at gen8_pipeline.c:273
#13 0x00007ffff4ff483d in anv_graphics_pipeline_create
(_device=_device at entry=0x7c7870, _cache=_cache at entry=0x855f00, 
    pCreateInfo=pCreateInfo at entry=0x7fffffffe0b0, extra=extra at entry=0x0,
pAllocator=pAllocator at entry=0x0, pPipeline=pPipeline at entry=0x68a330)
    at anv_pipeline.c:1172
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff4ff48be in anv_CreateGraphicsPipelines (_device=0x7c7870,
pipelineCache=0x855f00, count=1, pCreateInfos=<optimized out>, 
    pAllocator=0x0, pPipelines=0x68a330) at anv_pipeline.c:1190
#15 0x000000000043fe35 in VulkanExample::preparePipelines() ()
#16 0x000000000044085f in VulkanExample::prepare() ()
#17 0x000000000043577b in main ()

Mesa 11.2.0-devel (git-0a3324e) (vulkan branch)
Intel(R) HD Graphics 530 (Skylake GT2)
kernel: 4.4.1

-- 
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/20160216/6e3059e4/attachment.html>


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