Can't catch Exception from a shared object (SO) on Linux

Cyrille Morvan cmorvan@houston.westerngeco.slb.com
Sun Dec 8 15:39:00 GMT 2002


All-

Does anybody ever try to throw a C++ exception in a shared object
defined in a second shared object and catch it in a third one ...

Do you know that sometimes it's not working with g++ ?

Sometimes the catch of an upper class of the exception type 
will work, sometimes only catch(...) will work, and most
of the times catch doesn't work and the program finish
with "Abort".

Is there anybody that can fix that in GCC 3.3 ?
Or do you have any idea how to fix that ?

Thank you.

--
Cyrille Morvan
IT Student / FIIFO / Orsay / France



More information about the Gcc-bugs mailing list