<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [opencl] segfault when running any opencl programs (like clinfo)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93091#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [opencl] segfault when running any opencl programs (like clinfo)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93091">bug 93091</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>(In reply to Samuel Pitoiset from <a href="show_bug.cgi?id=93091#c8">comment #8</a>)
<span class="quote">> This segfault still happens for me using mesa git, commit
> ca976e6900dc8ff457ed9dba661d037c616abc59.
>
> OpenGL renderer string: Gallium 0.4 on NVE7
> OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0-devel
> (git-ca976e6)
>
> #0 pipe_loader_create_screen (dev=0x0) at pipe_loader.c:79</span >
Strange... I wonder if we're getting hit by the issue pointed out to Tom -
namely we should cap the ldevs iteration in platform::platform() to the value
returned by the second call to pipe_loader_probe. Reason being that second call
to pipe_loader_probe() may return smaller count (device has gone missing,
enomem, other).
Alternatively can someone pin-point the commit that causes this (note you might
need to cherry-pick patch in <a href="show_bug.cgi?id=93091#c1">comment 1</a> to fixup commit ff9cd8a67ca).
Thanks</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>