[PATCH libX11 1/3] Make _XCloseLC thread safe.

Jacek Caban jacek at codeweavers.com
Mon Sep 11 12:44:44 UTC 2017


Hi Walter,

On 11.09.2017 09:11, walter harms wrote:
> Hi Jacek,
> while it worked in the latest release of libX11 i was unable to
> replicate the crash with the current git version.
> Can you confirm my observation ?

The race is there since the code was introduced, so release version is
also affected. As usually with races, it's random so maybe it just
didn't happen there. I attached a version of the test that tries harder
to reproduce the problem. Do you see a crash or hang with this test and
release version of libX11? It does the same thing as previous test, but
multiple times so chances of hitting the problem are much higher.

Thanks,
Jacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtest.c
Type: text/x-csrc
Size: 695 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170911/17552a7c/attachment.c>


More information about the xorg-devel mailing list