<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 - shader-db crashes on 72 core system after ast_type_qualifier bitset change"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105497">105497</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>shader-db crashes on 72 core system after ast_type_qualifier bitset change
</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>Keywords</th>
<td>bisected, regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>glsl-compiler
</td>
</tr>
<tr>
<th>Assignee</th>
<td>currojerez@riseup.net
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kenneth@whitecape.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>shader-db crashes on our 72-core server (ogopogo):
Thread 38 "run" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdf3f8700 (LWP 16090)]
ast_type_qualifier::validate_in_qualifier (this=this@entry=0x7fffdf3ec728,
loc=loc@entry=0x7fffdf3eb3b4, state=state@entry=0x7ffed491fde0)
at glsl/ast_type.cpp:653
653 if ((this->flags.i & ~valid_in_mask.flags.i) != 0) {
(gdb) bt
#0 ast_type_qualifier::validate_in_qualifier (this=this@entry=0x7fffdf3ec728,
loc=loc@entry=0x7fffdf3eb3b4, state=state@entry=0x7ffed491fde0)
at glsl/ast_type.cpp:653
#1 0x00007ffff416b901 in _mesa_glsl_parse (state=state@entry=0x7ffed491fde0)
at ./glsl/glsl_parser.yy:2866
#2 0x00007ffff41758d6 in _mesa_glsl_compile_shader (
ctx=ctx@entry=0x7ffed4047280, shader=shader@entry=0x7ffed40b7fa0,
dump_ast=dump_ast@entry=false, dump_hir=dump_hir@entry=false,
force_recompile=force_recompile@entry=false)
at glsl/glsl_parser_extras.cpp:2089
#3 0x00007ffff3f6845f in _mesa_compile_shader (sh=0x7ffed40b7fa0,
ctx=0x7ffed4047280) at main/shaderapi.c:1129
#4 _mesa_CreateShaderProgramv (type=<optimised out>, count=<optimised out>,
strings=0x7fffdf3f6e40) at main/shaderapi.c:2510
#5 0x0000000000403521 in main._omp_fn.0 () at run.c:814
#6 0x00007ffff74be43e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#7 0x00007ffff72996ba in start_thread (arg=0x7fffdf3f8700)
at pthread_create.c:333
#8 0x00007ffff6fcf41d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)
It seems to be some kind of concurrency issue caused by
commit ba79a90fb52e1e81fbfb38113e85a56b13497c50
Author: Francisco Jerez <<a href="mailto:currojerez@riseup.net">currojerez@riseup.net</a>>
Date: Mon Feb 12 14:18:15 2018 -0800
glsl: Switch ast_type_qualifier to a 128-bit bitset.
At that commit, plus the compile fix (e119c53f56064d8acecfcd22a15ba512c83dfcd0)
cherry-picked on top, I get the crashes. But commit
bdbc2ffa4219b39e47a27decbc603d445286d92d (the one before that) works fine.</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>