https://bugs.winehq.org/show_bug.cgi?id=54836
Bug ID: 54836 Summary: GrandMA3 onPC Version 1.9.2.2 page fault on startup (1.8.8.2 worked fine) Product: Wine Version: 8.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wintrust Assignee: wine-bugs@winehq.org Reporter: nikolaus.einhauser@web.de Distribution: ---
So MALighting just released their new "major" update (new features, breaking old ones, etc) to their software which broke compatability with wine. Their previous version worked fine.
The issue can easily be reproduced by installing the software and then starting `app_gma3.exe`. It will crash on startup.
Judging by `wine: Unhandled page fault on execute access to 000000000000000F at address 000000000000000F (thread 010c)`, the problem seems to be in the application. By inspecting the `+relay` log a little closer the page fault only looks like a symptom of missing error handling. From what I can tell, the issue lies in wintrust.WinVerifyTrust but feel free to look trough the attached debug log yourself.
I'd very glad to provide more in-depth debug info or help otherwise to aid in fixing this. Suggestions for workarounds are also appreciated. Thank you.
PS. There is a contest currently ongoing that mandates the use of version 1.9 or higher. So staying on an older previously working version is not an option for me.
https://bugs.winehq.org/show_bug.cgi?id=54836
--- Comment #1 from nikolaus.einhauser@web.de --- Created attachment 74338 --> https://bugs.winehq.org/attachment.cgi?id=74338 stacktrace / threads / registers from the debugger window
https://bugs.winehq.org/show_bug.cgi?id=54836
--- Comment #2 from nikolaus.einhauser@web.de --- Created attachment 74339 --> https://bugs.winehq.org/attachment.cgi?id=74339 Trimmed (because of upload filesize limit) WINEDEBUG="+relay" trace
https://bugs.winehq.org/show_bug.cgi?id=54836
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=54836
--- Comment #3 from nikolaus.einhauser@web.de --- Created attachment 74352 --> https://bugs.winehq.org/attachment.cgi?id=74352 WINEDEBUG=+wintrust wine app_gma3.exe
https://bugs.winehq.org/show_bug.cgi?id=54836
Swiftb0y nikolaus.einhauser@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTOURBUG
--- Comment #4 from Swiftb0y nikolaus.einhauser@web.de --- A couple fine folks on the winehq IRC helped me get to the bottom of this. It seems that the software has started verifying the signature of system libraries (WS2_32.dll to be exact). Since wine doesn't (and from what I understand can't) sign the library implementations, there is no easy fix. I have managed to get the software running by compiling wine myself and patching `wintrust.WinVerifyTrust` to always succeed, though that could break in future versions as well.
Closing for now, though it would be nice if there was a less technically challenging solution in the future that would not require compiling wine yourself.
https://bugs.winehq.org/show_bug.cgi?id=54836
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|NOTOURBUG |--- Status|RESOLVED |UNCONFIRMED CC| |z.figura12@gmail.com
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- I don't know that it's clear yet this is a wontfix; it may deserve some discussion first.
https://bugs.winehq.org/show_bug.cgi?id=54836
--- Comment #6 from Swiftb0y nikolaus.einhauser@web.de --- Sure, what do you propose?
https://bugs.winehq.org/show_bug.cgi?id=54836
--- Comment #7 from Zeb Figura z.figura12@gmail.com --- (In reply to Swiftb0y from comment #6)
Sure, what do you propose?
It may be reasonable to treat any builtin DLL as signed. It may also be reasonable to distribute packages with builtin DLLs signed by a signature that Wine treats as trustworthy.
https://bugs.winehq.org/show_bug.cgi?id=54836
--- Comment #8 from Swiftb0y nikolaus.einhauser@web.de --- Both of those sound quite reasonable.
https://bugs.winehq.org/show_bug.cgi?id=54836
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com URL| |https://www.malighting.com/ | |downloads/products/grandma3 | |/ Keywords| |download