http://bugs.winehq.org/show_bug.cgi?id=59329 Bug ID: 59329 Summary: Erratic behavior of std::rethrow_exception() with DLL runtime Product: Wine Version: 11.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: ucrtbase Assignee: wine-bugs@list.winehq.org Reporter: p@perkele.cc Distribution: --- Created attachment 80262 --> http://bugs.winehq.org/attachment.cgi?id=80262 Minimal repro code I have observed various erratic behaviors after use of std::rethrow_exception() in my programs - either crashing or incorrect exception caught. Using DLL or static runtime seems to be a factor - using static runtime instead results in correct behavior for me. Compile and run attached program to test - verified with all Visual Studio versions from 2017 up. Live repro using mainstream software: Install any recent version of foobar2000, switch audio output to any of [exclusive] options, try playing anything - should say "Exclusive mode not allowed", says "Unknown exception" instead. Confirmed on: Fedora 43 / x86_64 / Wine 11.1 macOS 26.2 / ARM host running emulated x86_64 code / Wine 11.0 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.