[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults when compiled with shared glapi

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 30 07:56:29 PDT 2011


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

--- Comment #28 from Alexandre Demers <alexandre.f.demers at gmail.com> 2011-04-30 07:56:27 PDT ---
(In reply to comment #26)
> Here's some update on this. I found another application that segfaults:
> neverball. I also found that setting
> LD_LIBRARY_PATH=/home/almos/sources/mesa/lib solves the problem (as I mentioned
> earlier, I used to set LIBGL_DRIVERS_PATH only), which might indicate that it's
> indeed caused by libGL.so mismatch, but I still don't understand why only these
> two segfault. BTW I also did a bisect, and I can confirm that revision
> 34a5d3b9f4740601708c82093e2114356d749e65 is the first bad commit.
> 
> I'm not sure about that glapi thing, though. I compile Mesa with:
> ./autogen.sh --with-state-trackers=dri,glx,egl --enable-debug
> --with-dri-drivers= --prefix=/usr --enable-texture-float
> and I have no libglapi.so anywhere. What does that do anyways?

--enable-shared-glapi creates another library (libglapi.so). This library
contains de shared code between OpenGL (let'S say desktop), OpenGL ES and maybe
even OpenVG, instead of having duplicated code in each GL implementation.

However, in my case, it doesn't have to do with a library left somewhere. As I
tested and showed, everything is pointing to the right ones.

-- 
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