[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 19:40:47 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98883
--- Comment #1 from Dave Gilbert <freedesktop at treblig.org> ---
I wonder whether the fix of setting the pool->attached = XNextRequest(dpy)
after the XShmAttach would work. That's effectively delaying the shmdt until
after whatever the next X request is after the attach has completed; who knows
what that is, but as long as there is one (ahem, that might be a bit of an
assumption; could we just add a dummy?) then it should complete. Not got a
clue what the perf would be.
--
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/5a9e84c5/attachment.html>
More information about the cairo-bugs
mailing list