[C++-sig] gtkglext & mesa = __cxa_allocate_exception

Leonard Ritter paniq at paniq.org
Tue Sep 14 21:18:04 CEST 2010


On Tue, Sep 14, 2010 at 9:12 PM, Leonard Ritter <paniq at paniq.org> wrote:
> it seems that when gtk.glext is imported in python, and a boost python
> module hits a StopIteration exception (as it is usual for generators),
> the exception is not caught and the app segfaults.

that is, unless OpenGL.GL is imported before gtk.glext - in this case,
no segfaults; it's the translation of a sites suggestion to use "env
LD_PRELOAD=libGL.so python script.py", which is essentially the same
thing.

i wonder what kind of voodoo is at work here :)


More information about the Cplusplus-sig mailing list