[Mesa-dev] [Bug 98172] Concurrent call to glClientWaitSync results in segfault in one of the waiters.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 15 08:50:05 UTC 2016


--- Comment #17 from shinji.suzuki at gmail.com ---
I need to take my words back.

> dtor should be called only by the thread that eliminated the last reference.

Looks like glDeleteSync directly calls (or is a macro of?)
st_delete_sync_object. If that is true, the reference count on sync-object, if
there is, is not respected. Therefore I think mtx_Lock(so->Shared.Mutex) needs
to be present in the dtor function as well. I apologize for my oversight.

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/20161015/721041bf/attachment.html>

More information about the mesa-dev mailing list