https://bugs.freedesktop.org/show_bug.cgi?id=92757
Steinar H. Gunderson changed:
What|Removed |Added
Status|NEW |RESOLVED
https://bugs.freedesktop.org/show_bug.cgi?id=92757
--- Comment #3 from Steinar H. Gunderson ---
Created attachment 120238
--> https://bugs.freedesktop.org/attachment.cgi?id=120238=edit
Suggested patch
Hi,
I think the included patch should resolve the problem. I've run
https://bugs.freedesktop.org/show_bug.cgi?id=92757
Ian Romanick changed:
What|Removed |Added
CC|
https://bugs.freedesktop.org/show_bug.cgi?id=92757
Bug ID: 92757
Summary: GL_ARB_sync objects are not properly synchronized
across threads
Product: Mesa
Version: 11.0
Hardware: All
OS: All
https://bugs.freedesktop.org/show_bug.cgi?id=92757
--- Comment #1 from Ilia Mirkin ---
After looking at the code briefly, it looks like _mesa_validate_sync really
needs to be _mesa_validate_sync_and_get_ref. Otherwise another thread might
delete and unref the last RefCount,