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

2017-09-11 Thread Jacek Caban
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

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

2017-09-11 Thread Jacek Caban
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]

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

2017-09-11 Thread walter harms
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 ? re, wh Am 14.08.2017 19:27, schrieb Jacek Caban: > Hi, > > Sure, a simple test case is attached. It replicates what Wine does when >

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

2017-09-10 Thread walter harms
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.

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

2017-08-14 Thread Jacek Caban
On 14.08.2017 17:11, Adam Jackson wrote: > On Thu, 2017-08-10 at 23:04 +0200, Jacek Caban wrote: >> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 >> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 >> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 >> Signed-off-by:

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

2017-08-14 Thread Jacek Caban
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 Signed-off-by: Jacek Caban --- src/xlibi18n/lcWrap.c | 4 1 file changed, 4 insertions(+)

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

2017-08-14 Thread Adam Jackson
On Thu, 2017-08-10 at 23:04 +0200, Jacek Caban wrote: > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 > Signed-off-by: Jacek Caban > --- >

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

2017-08-14 Thread walter harms
hi, can you provide a simple program does needs the patch to work ? re, wh Am 10.08.2017 23:04, schrieb Jacek Caban: > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 > Fixes:

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

2017-08-10 Thread Jacek Caban
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 Signed-off-by: Jacek Caban --- src/xlibi18n/lcWrap.c | 4 1 file changed, 4 insertions(+)