[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
Tue Oct 25 08:59:52 UTC 2016


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

--- Comment #45 from Suzuki, Shinji <shinji.suzuki at gmail.com> ---
> feeling that solution via serialization of unref-ops blurs the nature of the
> problem that is inherent in the sock code. 
This concern can perhaps be obviated by inserting an explicit check.

   if (screen->fence_finish(screen, pipe, fence, timeout)) {
      mtx_lock(&ctx->Shared->Mutex);
      if( so->fence!= NULL )
        screen->fence_reference(screen, &so->fence, NULL);
      mtx_unlock(&ctx->Shared->Mutex);
      so->b.StatusFlag = GL_TRUE;
   }

-- 
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/20161025/2927011a/attachment.html>


More information about the mesa-dev mailing list