https://bugs.winehq.org/show_bug.cgi?id=40331
--- Comment #4 from Piotr Caban piotr.caban@gmail.com --- Thank you for attaching the log. I can see where the problem is now. Hopefully a fix for it will be ready tomorrow.
Note - there are 2 issues: - nested exception object needs to be registered before frames are unwinded - we should handle rethrown objects earlier
A code that demonstrates this issue is following: try { try { throw obj; } catch(...) { throw; } } catch(...) { printf("use obj here\n"); }