<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-12-07 5:43 GMT+01:00 Julien Aubin <span dir="ltr"><<a href="mailto:julien.aubin@gmail.com" target="_blank">julien.aubin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2017-12-06 21:50 GMT+01:00 Aurelien Jarno <span dir="ltr"><<a href="mailto:aurelien@aurel32.net" target="_blank">aurelien@aurel32.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-7956858376855349196gmail-">On 2017-12-06 19:39, Julien Aubin wrote:<br>
</span><span class="m_-7956858376855349196gmail-">> Weird... this time I re-upgraded libc6 and things work fine... looks like<br>
> something wrong went during the install. And I cannot reproduce the issue<br>
> anymore... :'( WTF ???<br>
<br>
</span>Hmm, a bug has been introduced in libc6 version 2.24-11+deb9u2, which in<br>
some conditions leave the /etc/ld.so.nohwcap file instead of removing it<br>
just after the upgrade (see bug#883394). One of the condition is to have<br>
libc6-i686 installed (while it can be safely removed), which seems to be<br>
your case.<br>
<br>
I consider this bug harmless as it should not deactivate anything now<br>
that the default libc is already i686 optimized. Also I don't see how it<br>
could trigger the issue you described. Anyway better be safe than sorry,<br>
could you please try to create this file with "touch /etc/ld.so.nohwcap"<br>
as root and see if it makes the issue to reappear? Once the test is done<br>
you can then remove it.<br>
<br>
Thanks,<br>
Aurelien<br></blockquote><div><br></div><div><br></div></span><div>Bingo ! It was exactly this !</div><div><br></div><div>If I re-create the file for example it crashes glxgears. When I remove it glxgears works fine.</div><div><br></div><div>With GDB, the stack trace for when I run glxgears :</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">0  0x00007ffff6b311a4 in pthread_mutex_lock (mutex=0x7ffff604e8c0) at forward.c:192
</span><br>#1  0x00007ffff5de1308 in __glDispatchNewVendorID () from /usr/lib/x86_64-linux-gnu/<wbr>libGLdispatch.so.0
<br>#2  0x00007ffff60793c2 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libGLX.so.0
<br>#3  0x00007ffff607a1ac in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libGLX.so.0
<br>#4  0x00007ffff6073170 in glXChooseVisual () from /usr/lib/x86_64-linux-gnu/<wbr>libGLX.so.0
<br>#5  0x000055555555779f in ?? ()
<br>#6  0x0000555555555ae7 in ?? ()
<br>#7  0x00007ffff6a5c2e1 in __libc_start_main (main=0x555555555970, argc=1, argv=0x7fffffffe638, init=<optimized out>,  <br>    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe628) at ../csu/libc-start.c:291
<br>#8  0x000055555555646a in ?? ()<br>
<br></span></div><span class=""><div> </div></span></div></div></div></blockquote><div>To be clear it looks like this file also affects libc6-amd64 behaviour... </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="m_-7956858376855349196gmail-HOEnZb"><font color="#888888"><br>
--<br>
Aurelien Jarno                          GPG: 4096R/1DDD8C9B<br>
<a href="mailto:aurelien@aurel32.net" target="_blank">aurelien@aurel32.net</a>                 <a href="http://www.aurel32.net" rel="noreferrer" target="_blank">http://www.aurel32.net</a><br>
</font></span></blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>