[Mesa-dev] [Bug 95035] Gallium OSMesa driver is far from being thread-safe

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 21 15:09:13 UTC 2016


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

--- Comment #8 from Roland Scheidegger <sroland at vmware.com> ---
(In reply to Frederic Devernay from comment #5)
> OK, there was another issue, which actually may affect other Gallium drivers
> as well: 
> 
> st_framebuffer_reuse_or_create() uses pointer comparison to check if it can
> reuse a framebuffer.
> 
> The problem is that a call to free followed by a call to malloc may very
> well return the exact same pointer! Pointer comparison should be used as a
> safe check but is very unreliable.

Yes, I think this is the same issue as originally reported here:
https://bugs.chromium.org/p/chromium/issues/detail?id=395818

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


More information about the mesa-dev mailing list