https://bugs.winehq.org/show_bug.cgi?id=50625
Bug ID: 50625 Summary: Unhandled exception with try/catch Product: Wine Version: 4.12.1 Hardware: arm OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: david.paradis@us.abb.com Distribution: ---
Created attachment 69319 --> https://bugs.winehq.org/attachment.cgi?id=69319 Test Project File
Hello,
I have run into a bug with try/catch blocks throwing an unhandled exception even though I have a catch all.
I have attached a very simple test program that when started calls a method that just throws an exception class back to the caller. This very simple program works great in Windows and throws an unhandled exception in Wine and terminates the program.
This is a critical path to my application as I have incorporated a 3rd party library that uses exceptions for program flow rather than function return codes. Without a fix our application becomes unstable and crashes when an intended exception is thrown.
I would really like a solution for the version of Wine that we are running (4.12.1) as we have Wine running on thousands of remote computers with not easy solution to upgrade to newer versions. I can however deploy patches to Wine.
Thank you for any assistance with addressing this issue as I have spent the last couple days annotating the Wine sources to try and find the root cause without success to this point.