Exception thrown from multithreaded shared lib not caught in main
Joao Luis Pinto
Mon Dec 6 08:05:00 GMT 2004
Following my previously presented problem, I have built an example that
replicates the problem:
Just run ./configure && make check
It builds a shared library with a function that throws an exception, and
an executable that calls the library function. Aparently multi-threading
is not the issue. The problem is that the exception is never caught in
main(), and unhandled() gets called.
Tested with g++-3.3.4 and g++-3.4.2 (Debian testing x86).
Thank you for your time.
More information about the Gcc-help