[Mesa-dev] [Bug 94955] Uninitialized variables leads to random segfaults (valgrind log, apitrace attached)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 26 15:11:30 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94955

--- Comment #21 from David Lonie <david.lonie at kitware.com> ---
Thanks for the fix! 

> Comment # 20 on bug 94955 from Roland Scheidegger
> (In reply to Bruce Cherniak from comment #19)
> > Thanks Roland!  You patch fixes the segv I get when running both llvmpipe
> > and OpenSWR; and the test itself now passes on llvmpipe.

The segfault is indeed gone, so that's a definite improvement!

> I wonder what the test expects, I haven't seen anything but NaN coords with
> that sampler ;-). That can't have possibly given really useful results, unless
> not crashing is good enough to pass :-).

The test is not passing, but it is rendering a portion of the scene (the part
that doesn't use floating point textures).

What's interesting is that mesa is reporting ARB_texture_float, even though
I've not configured with --enable-texture-float, so that's likely part of the
problem. I also see error messages popping out from mesa at runtime:

Illegal sampler view creation without bind flag

Recompiling with --enable-texture-float fixed neither the rendering or the
error messages, so it appears something else is still going on.

Should this be a new bug? Is there more information I can provide? This can be
reproduced in VTK as described in comment #9.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160426/878846ef/attachment.html>


More information about the mesa-dev mailing list