[Mesa-dev] [Bug 94512] X segfaults with glx-tls enabled in a x32 environment

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 6 19:21:08 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94512

--- Comment #7 from EoD <EoD at xmw.de> ---
Created attachment 124376
  --> https://bugs.freedesktop.org/attachment.cgi?id=124376&action=edit
LD_DEBUG=libs startx

(In reply to Emil Velikov from comment #6)
> Based of the backtrace there is no information if mesa/libglapi was build
> with or w/o glx-tls. Following an IRC conversation it seems that the library
> is built w/o glx-tls as i is missing the _glapi_tls_Context and
> _glapi_tls_Dispatch symbols.
> 
> Perhaps they are different builds ? Either way it's good to attach the
> output of $nm -CD --defined-only /usr/libx32/libglapi.so in this particular
> case.
> 
> Also please that the correct libraries are being picked up. This can be done
> via something like:
>  $LD_DEBUG=libs foo (startx) 2>ld_debug.log
> 
> Obviously none of these excludes that there is an actual issue with x32 and
> glx-tls and/or that mesa silently ignores the flag on said platform ;-)

glx-tls never worked for me on my x32 setup. This setup is only around half a
year old, so I don't know if it worked before.

$ nm -CD --defined-only /usr/libx32/libglapi.so
00000004 B _glapi_tls_Context
00000000 D _glapi_tls_Dispatch
In full: https://gist.github.com/anonymous/543fd6a51163ced35819df49dbd0902c

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160606/11995b4a/attachment.html>


More information about the mesa-dev mailing list