[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 21 00:20:15 PDT 2011


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

--- Comment #22 from Alexandre Demers <alexandre.f.demers at gmail.com> 2011-04-21 00:19:54 PDT ---
(In reply to comment #21)
> You may also try 'git clean -fdx' instead of 'make clean'. It deletes the all
> files and directories not added in git, as if you made a clean clone.
> Nevertheless, the crash in loopback_* is caused by wrong libGL.so being
> installed.
> 
> > By the way, may I suggest not closing a bug before people reporting it confirm
> > the fix or solution is working for them?
> 
> Anyone can always re-open it anyway.
> 
> Also try this:
> 
> LIBGL_DEBUG=verbose glxinfo
> 
> It prints which driver is loaded.

I'm using make realclean when compiling and I always hard reset git when
fetching. Is it enough or does "make clean -fdx" better?

Nevertheless, LIBGL_DEBUG=verbose glxinfo gives me:
name of display: :0
libGL: OpenDriver: trying /usr/lib/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/r600_dri.so
libGL error: dlopen /usr/lib/r600_dri.so failed (/usr/lib/r600_dri.so: cannot
open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so

ls -la  /usr/lib/dri gives:
lrwxrwxrwx 1 root root 30 2011-04-21 02:15 /usr/lib/dri ->
/usr/lib/x86_64-linux-gnu/dri/

I deleted all libGL and dri files and folders (which scrapped my setup at
first) befores rebuilding and reinstalling. I made sure it's really using the
good files. Otherwise, how could we explain that building mesa with
--enable-shared-api shows the problem, while disabling it doesn't? It means at
least that libGL.so is being replaced. Then, there is libglapi.so left... I had
a look at libglapi.so and here again, everything is pointing to the good file:
ldd /usr/bin/glxinfo
        linux-vdso.so.1 =>  (0x00007fff4e7ff000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fb3ad9a9000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
(0x00007fb3ad66f000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb3ad2da000)
        libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0
(0x00007fb3ad0b6000)
...

What should we do to help you more?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list