<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 - gles cts-runner segfault compiling shader with textureGatherOffsets"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111114">111114</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>gles cts-runner segfault compiling shader with textureGatherOffsets
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>19.1
</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>mark.a.janes@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=144770" name="attach_144770" title="backtrace and shader text from crashing compile">attachment 144770</a> <a href="attachment.cgi?id=144770&action=edit" title="backtrace and shader text from crashing compile">[details]</a></span>
backtrace and shader text from crashing compile
When running the gles cts on mesa master, the test runner segfaults on tests
which pass when run individually. The same test will crash reliably via
cts-runner, but running the same config via the glcts executable will pass.
It takes about an hour on a kblgt3 to encounter the segfault, but this can be
accelerated by emptying out the test lists for various configs so that
cts-runner executes only the tests in
gl_cts/data/mustpass/gles/khronos_mustpass/3.2.5.x/gles31-khr-master.txt
Regardless of what test is crashing, the stack trace is the same (attached).
The compiler is attempting to format an error because it cannot find a matching
function for a textureGatherOffsets invocation. The parameter type list in the
ast has a corrupted type member, which can be seen in gdb.
Running valgrind on the cts-runner does not find memory errors, but the test
fails instead of segfaulting.
I was unable to bisect mesa because cts-runner fails to run on older commits
(eg 18.3). I applied a patch to cts to disable broken 565 configs, which did
not help the suite to run.</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>