[Bug 59681] New: Prism 11 crashes with PlatformNotSupportedException in BridgeClr_HaveKeyboardFocus
http://bugs.winehq.org/show_bug.cgi?id=59681 Bug ID: 59681 Summary: Prism 11 crashes with PlatformNotSupportedException in BridgeClr_HaveKeyboardFocus Product: Wine Version: 11.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: mscoree Assignee: wine-bugs@list.winehq.org Reporter: leonardosilvaamorim56@gmail.com Distribution: --- Application: GraphPad Prism 11.0.0.84 OS: Ubuntu 22.04 (Jammy), Intel Ivy Bridge GPU FATAL UNHANDLED EXCEPTION: System.PlatformNotSupportedException: Operation is not supported on this platform. at <Module>.BridgeClr_HaveKeyboardFocus () [0x0001a] in <c111ab6993ac41748127c1d9a303ab71>:0 at (wrapper native-to-managed) <Module>.BridgeClr_HaveKeyboardFocus() Steps to reproduce: 1. Install Prism 11 via wine msiexec /i InstallPrism11.msi 2. Install wine-mono-9.4.0 3. Launch Prism.exe 4. Click "Create" on the Welcome dialog 5. Crash occurs immediately Note: GraphPad Prism 10.6.1 does not exhibit this crash. The issue appears to be specific to Prism 11.0.0.84. Both versions were tested under the same environment (Wine 11.7 Staging, wine-mono-9.4.0, Ubuntu 22.04 x86-64). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59681 --- Comment #1 from Esme Povirk <madewokherd@gmail.com> --- Does setting MONO_INLINELIMIT=0 add any information to the exception? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59681 Esme Povirk <madewokherd@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59681 --- Comment #2 from Leonardo S. Amorim <leonardosilvaamorim56@gmail.com> --- Created attachment 80851 --> http://bugs.winehq.org/attachment.cgi?id=80851 Log with MONO_INLINELIMIT=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.
http://bugs.winehq.org/show_bug.cgi?id=59681 --- Comment #3 from Leonardo S. Amorim <leonardosilvaamorim56@gmail.com> --- (In reply to Esme Povirk from comment #1)
Does setting MONO_INLINELIMIT=0 add any information to the exception?
Yes, here is the expanded stack trace. It looks like the issue stems from Marshal.GetExceptionCode() -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59681 --- Comment #4 from Esme Povirk <madewokherd@gmail.com> --- Ah, yep, looks like that is unimplemented and only throws PlatformNotSupportedException. Looks like it has to do with SEH: https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.... It seems likely to me that we're actually running managed code in an exception handler, so maybe we can get away with returning 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.
http://bugs.winehq.org/show_bug.cgi?id=59681 --- Comment #5 from Leonardo S. Amorim <leonardosilvaamorim56@gmail.com> --- That makes perfect sense! If returning 0 allows the application to bypass the crash, that sounds like a solid workaround. Please let me know if you'd like me to test a custom build of Wine-Mono or a specific patch with this change. I'd be more than happy to test it out and confirm if it gets Prism 11 running on my end! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59681 --- Comment #6 from Leonardo S. Amorim <leonardosilvaamorim56@gmail.com> --- Just a quick heads-up for reproducing the exact environment: to get the application to run up to this point and load the login screens, I had to install the following components in this wineprefix: Microsoft Edge WebView2 Runtime (v147.0.3912.72) Microsoft Visual C++ 2015-2022 Redistributable (v14.30.30704.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.
http://bugs.winehq.org/show_bug.cgi?id=59681 Leonardo S. Amorim <leonardosilvaamorim56@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59681 --- Comment #7 from Esme Povirk <madewokherd@gmail.com> --- I had the CI make a test build: https://gitlab.winehq.org/madewokherd/wine-mono/-/jobs/263296 -- 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.
participants (1)
-
WineHQ Bugzilla