https://bugs.winehq.org/show_bug.cgi?id=39449
Bug ID: 39449 Summary: __finally being called too many times Product: Wine Version: 1.7.52 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lamberga@gmail.com Distribution: ---
This bug dealing with exception handling only occurs in a 64 bit environment. Appears to be independent of msvc*.dll version (also, switching to native dlls does not seem to have any effect). I have attached a reproducer.
Expected output (output under Windows and 32 bit Wine): Hello from main Hello from prog1 Finalizing Caught: Oh No!
Output under 64 bit Wine: Hello from main Hello from prog1 Finalizing Finalizing Caught: Oh No!