<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [GLSL compiler] SIGSEGV for shaders/glsl-fs-inline-explosion"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70920#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [GLSL compiler] SIGSEGV for shaders/glsl-fs-inline-explosion"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70920">bug 70920</a>
from <span class="vcard"><a class="email" href="mailto:kusmabite@gmail.com" title="Erik Faye-Lund <kusmabite@gmail.com>"> <span class="fn">Erik Faye-Lund</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=106343" name="attach_106343" title="error-checking in glsl-compiler">attachment 106343</a> <a href="attachment.cgi?id=106343&action=edit" title="error-checking in glsl-compiler">[details]</a></span>
error-checking in glsl-compiler
What's going on here, seems to be that we're running out of memory while
linking the shader (during optimizations, but that's probably just dumb luck).
This makes ralloc_size return a NULL-pointer, which gets dereferenced because
the only guards against NULL-pointers in the compiler seems to be asserts.
The attached patch fixes *that* issue for me, but it doesn't make the test
pass, nor fail gracefully either; all that happens is that piglit itself runs
out of memory, triggering an assert.
Besides, it doesn't seem like exceptions is exactly good style in this project.
So I dunno...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>