Created attachment 33395 Proposed patch
I believe the problem is that std::rethrow_exception() does not update `__cxa_eh_globals::uncaughtExceptions' (which remains zero), while __cxa_begin_catch() decrements it to -1.
A proposed patch is attached.
Created attachment 33395
Proposed patch
I believe the problem is that std::rethrow_ exception( ) does not update `__cxa_ eh_globals: :uncaughtExcept ions' (which remains zero), while __cxa_begin_catch() decrements it to -1.
A proposed patch is attached.