[Gridflow-dev] ATI linux drivers vs C++ exceptions [SOLVED]

Claude Heiland-Allen claudiusmaximus at goto10.org
Sat Oct 4 13:20:45 EDT 2008


Hi,

I'd been having horrible issues with Pd crashing with a segfault in 
__cxa_allocate_exception() when using both Gem and GridFlow, preventing 
me using the Gem<=>GridFlow bridge:

   pd -lib gridflow -lib Gem     => no crash
   pd -lib Gem -lib gridflow     => segfault

Turns out that it's a bug in the ATI OpenGL implementation, and the 
suggested workaround (to link libstdc++ before opengl libraries) works 
better than I had hoped:

   http://wiki.fifengine.de/Segfault_in_cxa_allocate_exception#Workaround

Using the attached source, I can do:

   pd -lib libstdcpp -lib Gem -lib gridflow     => no crash

Hope this helps others in a similar predicament.


Claude
-- 
http://claudiusmaximus.goto10.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdcpp.c
Type: text/x-csrc
Size: 38 bytes
Desc: not available
Url : http://lists.artengine.ca/pipermail/gridflow-dev/attachments/20081004/d2f94081/attachment.c 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
Url: http://lists.artengine.ca/pipermail/gridflow-dev/attachments/20081004/d2f94081/attachment.txt 


More information about the Gridflow-dev mailing list