[cairo-bugs] [Bug 98883] BadAccess errors in ShmAttach due to thread races with XNextRequest() usage in cairo-xlib-surface-shm.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 28 20:31:20 UTC 2016


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

--- Comment #2 from Karl Tomlinson <bugs.freedesktop at karlt.net> ---
pool->attached = XNextRequest(dpy) - 1;
after the XShmAttach would work, yes.
It would then have a sequence number either equal to that of the XShmAttach
request or to that of a subsequent request, if there was one.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20161128/05bbc772/attachment.html>


More information about the cairo-bugs mailing list