Fwd: XInitThreads in library constructor breaks Motif!

Alan Coopersmith alan.coopersmith at oracle.com
Thu Nov 3 19:40:41 UTC 2022


On 11/3/22 04:46, Po Lu wrote:
> Matthieu Herrb <matthieu at herrb.eu> writes:
> 
>> My french input method has eaten the URL. here the unmangled one:
>>
>> https://marc.info/?l=openbsd-tech&m=166742060513284&w=2
> 
> My crystal ball says it's probably that before XInitThreads was called,
> pthread stubs somehow found their way into the executable image.
> 
> If you link the crashing program with -lpthread, does the crash
> magically go away?

If that's the case, then this should already be solved in git for 1.8.2:

https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/1f8fd7ff1cf688e
https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/701e9e9afb88bdc

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris


More information about the xorg-devel mailing list