GL Programs SEGV on exit()

Konstantin Belousov kostikbel at
Tue May 8 08:46:23 UTC 2012

On Tue, May 08, 2012 at 06:32:02AM +1000, Peter Jeremy wrote:
> On 2012-May-07 15:13:52 +0300, Konstantin Belousov <kostikbel at> wrote:
> >On Mon, May 07, 2012 at 09:49:24PM +1000, Peter Jeremy wrote:
> >> Since rebuilding WITH_NEW_XORG, I've been seeing segmentation
> >> violations in GL programs under some conditions.  As a case that is
> >> quick and easy to reproduce, "glxinfo -b" with software GL (which is
> >> easily forced by running glxinfo in a X11-over-SSH session) will
> >> core dump on exit.
> (Due to atexit processing invoking a function in an unloaded .so)
> >Which OS version do you use ?
> Sorry, this was on 8-stable.
> >It was fixed in r211706 and some follow-up commits. The change is not in 8.
> The only explicit followups were r212497 (ppc64) and r214194 (ia64).
> Were there others?
> I notice r211706 was initially marked "MFC after 3 weeks" but this was
> never done.  I've found one posting that blames it for problems in
> emacs but nothing else.  Is there a reason it wasn't MFC'd?

It requires r211705 to get needed support from rtld. I mostly give up
merging rtld changes to stable/8 long time ago.

If you can test this all, I would merge.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-x11 mailing list