[Bug c++/13878] Uncaught exception on AIX with shared libraries

smethells at llnl dot gov gcc-bugzilla@gcc.gnu.org
Mon Mar 1 21:01:00 GMT 2004


------- Additional Comments From smethells at llnl dot gov  2004-03-01 21:01 -------
Our project is also experiencing problems with exceptions not being caught, when
compiling with g++ on AIX. Small example codes that we have tried to put
together to model what we are seeing, do not end up having the same incorrect
behavior. On large test cases (our entire application as linked by g++), any
exceptions thrown (that make it into _cxa_throw) do not bubble up to the catch
statement (not even a literal catch(...)); rather, all exceptions call abort().
I would be extremely interested in hearing how this issue sorts itself out. I
can try to give you more feedback no our problem than this, if requested. At the
moment we are not sure what the property is that is required in order for the
exception handling behavior to go from good to bad. That is work in progress.
This occurs on AIX 5, GCC 3.3.2.

Greg Smethells
Lawrence Livermore National Lab
smethells@llnl.gov

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smethells at llnl dot gov


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13878



More information about the Gcc-bugs mailing list