I've run into a problem with throwing (or rather, catching) exceptions
over shared library boundaries in 3.9. When I try to catch an exception
in my application that has been thrown inside a shared library, the
exception isn't caught, but instead causes the program to exit with
SIGABRT. If I link statically it works (not surprising), but this also
works on OpenBSD 3.7 when linked dynamically.
I wrote a simple application to test this, available at
http://www.stacken.kth.se/~ian/exception_test.tar.gz. Am I missing
something when compiling? Or has something radically changed in 3.9?
/Ian
- Throwing exceptions over shared library boundaries in C++ Ian Delahorne
-