<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 - Mesa freezes in "vtn_cfg_walk_blocks" with Sacha Willems' hdr, parallaxmapping and specializationconstants Vulkan demos"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104359">104359</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Mesa freezes in "vtn_cfg_walk_blocks" with Sacha Willems' hdr, parallaxmapping and specializationconstants Vulkan demos
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>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>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eero.t.tamminen@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Latest Mesa git version freezes at start of Sacha Willems' HDR,
parallaxmapping, and specializationconstants demos, which worked fine earlier.
Mesa spends now all of its time in the "vtn_cfg_walk_blocks" function.
Gdb gives following backtrace:
--------------------------------
(gdb) bt
#0 0x00007f19e2eb1c7a in vtn_cfg_walk_blocks (b=b@entry=0x18fdaf0,
cf_list=cf_list@entry=0x19098c8, start=<optimized out>,
switch_case=switch_case@entry=0x0,
switch_break=switch_break@entry=0x0, loop_break=loop_break@entry=0x0,
loop_cont=0x0, end=0x0) at ../../../src/compiler/spirv/vtn_cfg.c:552
#1 0x00007f19e2eb54d4 in vtn_build_cfg (b=b@entry=0x18fdaf0,
words=words@entry=0x18fc4e4, end=end@entry=0x18fcdd4) at
../../../src/compiler/spirv/vtn_cfg.c:600
#2 0x00007f19e2ea8371 in spirv_to_nir (words=0x18fc4e4, words@entry=0x18fbf48,
word_count=931, spec=spec@entry=0x183d9f0, num_spec=num_spec@entry=1,
stage=stage@entry=MESA_SHADER_VERTEX, entry_point_name=<optimized out>,
options=0x7ffc34c10910, nir_options=0x7f19e2ef9000 <scalar_nir_options>)
at ../../../src/compiler/spirv/spirv_to_nir.c:3746
#3 0x00007f19e2b03a55 in anv_shader_compile_to_nir (pipeline=0x18fcde0,
pipeline=0x18fcde0, spec_info=0x7ffc34c10a90, stage=MESA_SHADER_VERTEX,
entrypoint_name=0x18fcde0 "P\371\214\001", module=0x18fbf30,
mem_ctx=0x1840de0) at ../../../src/intel/vulkan/anv_pipeline.c:149
#4 anv_pipeline_compile (pipeline=pipeline@entry=0x18fcde0,
mem_ctx=mem_ctx@entry=0x1840de0, module=module@entry=0x18fbf30,
entrypoint=entrypoint@entry=0x4ab982 "main",
stage=stage@entry=MESA_SHADER_VERTEX, spec_info=spec_info@entry=0x7ffc34c14850,
prog_data=0x7ffc34c10a90,
map=0x7ffc34c109b0) at ../../../src/intel/vulkan/anv_pipeline.c:395
(gdb) info locals
case_block = 0x1994470
w = <optimized out>
break_block = 0x1994470
swtch = 0x1994500
branch_end = <optimized out>
is_default = <optimized out>
branch_type = <optimized out>
block = <optimized out>
(gdb) print *b
$1 = {nb = {cursor = {option = nir_cursor_before_block, {block = 0x1993ce0,
instr = 0x1993ce0}}, exact = false, shader = 0x0, impl = 0x0}, fail_jump = {{
__jmpbuf = {4897154, 1860650571846527914, 26201568, 140721193552528,
26197832, 26197832, -1861620158216655958, -1737934244285240406},
__mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}},
spirv = 0x18fbf48, shader = 0x190c5c0, options = 0x7ffc34c10910, block = 0x0,
spirv_offset = 0, file = 0x0, line = -1, col = -1, const_table = 0x0,
phi_table = 0x0, num_specializations = 1, specializations = 0x183d9f0,
value_id_bound = 144, values = 0x19ae230, entry_point_stage =
MESA_SHADER_VERTEX, entry_point_name = 0x4ab982 "main", entry_point =
0x19ae2d0,
origin_upper_left = false, pixel_center_integer = false, func = 0x0,
functions = {head_sentinel = {next = 0x19098a0, prev = 0x0}, tail_sentinel =
{next = 0x0,
prev = 0x19098a0}}, func_param_idx = 0, has_loop_continue = false}
--------------------------------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>