On 09/14/10 21:18, Leonard Ritter wrote:
On Tue, Sep 14, 2010 at 9:12 PM, Leonard Ritter<pa...@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 :)
Last time I run into this kind of problem it was because python was using different memory allocator than the library I was importing (that is: the library was linked against our slightly modified tcmalloc)
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to