[cairo-bugs] [Bug 90318] TSan data races with freed_pool_t's |top| data member

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 26 20:39:59 UTC 2016


Uli Schlachter <psychon at znc.in> changed:

           What    |Removed                     |Added
                 CC|                            |psychon at znc.in

--- Comment #3 from Uli Schlachter <psychon at znc.in> ---
Created attachment 121989
  --> https://bugs.freedesktop.org/attachment.cgi?id=121989&action=edit
Hack adding C11 atomics for setting pool->top

The attached patch uses C11 atomics for setting and reading pool->top. Could
someone check if this patch makes TSan happy?

If so, that someone should also pick up this work and add C11 atomic support
for cairo-atomic-private.h (and configure). Afterwards, _cairo_atomic_int_set()
could be added to this and the freed pool can be fixed up to work properly.
I'm not interested in doing this work myself.

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/20160226/13233a5e/attachment.html>

More information about the cairo-bugs mailing list