<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - [EGL] dEQP-EGL.functional.sharing.gles2.multithread intermittent"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99085#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - [EGL] dEQP-EGL.functional.sharing.gles2.multithread intermittent"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99085">bug 99085</a>
from <span class="vcard"><a class="email" href="mailto:chadversary@chromium.org" title="Chad Versace <chadversary@chromium.org>"> <span class="fn">Chad Versace</span></a>
</span></b>
<pre>(In reply to Chad Versace from <a href="show_bug.cgi?id=99085#c2">comment #2</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=128670" name="attach_128670" title="Backtrace of crash in dEQP-EGL.functional.sharing.gles2.multithread.simple.images.texture_source.create_texture_render">attachment 128670</a> <a href="attachment.cgi?id=128670&action=edit" title="Backtrace of crash in dEQP-EGL.functional.sharing.gles2.multithread.simple.images.texture_source.create_texture_render">[details]</a></span>
> Backtrace of crash in
> dEQP-EGL.functional.sharing.gles2.multithread.simple.images.texture_source.
> create_texture_render
>
> Attached is a backtrace of the crash in
> dEQP-EGL.functional.sharing.gles2.multithread.simple.images.texture_source.
> create_texture_render.
>
> Repo versions:
> mesa: master@d6545f2
>
> deqp: nougat-cts-dev@4acf725 with local patches
> deqp-target: x11_egl
>
> Crashing line is src/mesa/main/shaderobj.c:253:
>
> 248│ void
> 249│ _mesa_reference_shader_program_(struct gl_context *ctx,
> 250│ struct gl_shader_program **ptr,
> 251│ struct gl_shader_program *shProg)
> 252│ {
> **253│ assert(ptr);
> 254│ if (*ptr == shProg) {
> 255│ /* no-op */
> 256│ return;
> 257│ }</span >
And sometimes I see the crash on a different line in the same function:
248│ void
249│ _mesa_reference_shader_program_(struct gl_context *ctx,
250│ struct gl_shader_program **ptr,
251│ struct gl_shader_program *shProg)
252│ {
253│ assert(ptr);
254│ if (*ptr == shProg) {
255│ /* no-op */
256│ return;
257│ }
258│ if (*ptr) {
259│ /* Unreference the old shader program */
260│ GLboolean deleteFlag = GL_FALSE;
261│ struct gl_shader_program *old = *ptr;
262│
**263├> assert(old->RefCount > 0);</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>