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

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


On 10.09.2017 19:17, walter harms wrote:
>
> Am 14.08.2017 19:27, schrieb Jacek Caban:
>> Hi,
>>
>> Sure, a simple test case is attached. It replicates what Wine does when
>> initializing new threads (see [1] for Wine reports).
>>
>> Thanks,
>> Jacek
>>
>> [1] https://bugs.winehq.org/show_bug.cgi?id=35041
>>
> i was able to get a double free bug. Is that what is expected ?
> (the bugreport shows several backtraces, i want to make sure).

Yes, double free is the most common symptom. I've also seen hangs or
invalid accesses, it depends on timing and where exactly things go wrong.

Thanks,
Jacek


More information about the xorg-devel mailing list