https://bugs.winehq.org/show_bug.cgi?id=43607
Bug ID: 43607 Summary: Akiba's Trip Undead & Undressed: Unhandled exception page fault on read access Product: Wine-staging Version: 2.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lockert.fredrick@gmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
Created attachment 59023 --> https://bugs.winehq.org/attachment.cgi?id=59023 Terminal Output
Akiba's Trip Undead & Undressed crashes when the Play button is pressed in the game launcher, which results in an unhandled page fault.
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #1 from Lockert Fredrick lockert.fredrick@gmail.com --- Created attachment 59024 --> https://bugs.winehq.org/attachment.cgi?id=59024 Debugger Output
https://bugs.winehq.org/show_bug.cgi?id=43607
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- This only happens in staging, it works with vanilla wine?
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #3 from Lockert Fredrick lockert.fredrick@gmail.com --- Tested with vanilla wine 2.15 compiled from source, with the exception of one hiccup during the installation process, it crashed at the same location.
The hiccup only required a second run to be bypassed.
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #4 from Lockert Fredrick lockert.fredrick@gmail.com --- Created attachment 59026 --> https://bugs.winehq.org/attachment.cgi?id=59026 Vanilla wine - Terminal Output
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #5 from Lockert Fredrick lockert.fredrick@gmail.com --- Created attachment 59027 --> https://bugs.winehq.org/attachment.cgi?id=59027 Vanilla wine - Debugger Output
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Then the product is 'Wine', not 'Wine-staging'. 'Wine-staging' is for bugs that occur in wine-staging, but not in wine-development.
There is a demo on steam available, maybe it's affected by this issue, too. I might test that later.
https://bugs.winehq.org/show_bug.cgi?id=43607
Lockert Fredrick lockert.fredrick@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine-staging |Wine
--- Comment #7 from Lockert Fredrick lockert.fredrick@gmail.com --- Alright, changing it to wine then.
Thought I would check the demo, but steam refuses me to do so since I own the full product.
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Created attachment 59031 --> https://bugs.winehq.org/attachment.cgi?id=59031 Log from the demo with +relay
Confirming the issue, also affects the demo: http://store.steampowered.com/app/375980/
Log attached. Search for "Unhandled page fault", the first should be it.
Problem is, when running the game it tells steam to start itself, steam then starts the config which starts the actual program. This makes it hard to get a log from only the game, or attach a debugger to it. An idea how to do that?
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #9 from Michael Müller michael@fds-team.de --- With Wine Staging you can use the following syntax:
WINEDEBUG=+AkibaUU.exe:relay,+AkibaUU.exe:seh,+AkibaUU.exe:tid
This enables the debug channels only for the specified application and should not affect Steam.
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #10 from Fabian Maurer dark.shadow4@web.de ---
WINEDEBUG=+AkibaUU.exe:relay,+AkibaUU.exe:seh,+AkibaUU.exe:tid
Thank you, didn't know that. But for some reason "WINEDEBUG=+AkibaUU.exe:relay wine AkibaUU.exe" makes the game not start up at all, while "WINEDEBUG=+relay" is fine.
Since the game is a D3D11 game, it needs either the staging patches or MaxVersionGL set.
The error seems to be in 'mfplat.dll', if you patch 'MFStartup' to return S_OK it starts.
https://bugs.winehq.org/show_bug.cgi?id=43607
Fredrick Lockert lockert.fredrick@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mfplat
--- Comment #11 from Fredrick Lockert lockert.fredrick@gmail.com --- Sorry for being a bit late.
(In reply to Fabian Maurer from comment #10)
The error seems to be in 'mfplat.dll', if you patch 'MFStartup' to return S_OK it starts.
Can confirm, this works for the full version as well. Updating bug component to mfplat.
https://bugs.winehq.org/show_bug.cgi?id=43607
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Akiba's Trip Undead & |Akiba's Trip Undead & |Undressed: Unhandled |Undressed requires |exception page fault on |MFStartup to return S_OK. |read access | CC| |leslie_alistair@hotmail.com
--- Comment #12 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Updated title to reflect issue.
https://bugs.winehq.org/show_bug.cgi?id=43607
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #13 from Fabian Maurer dark.shadow4@web.de --- Changing status.
https://bugs.winehq.org/show_bug.cgi?id=43607
Toni eldrad@autistici.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eldrad@autistici.org
--- Comment #14 from Toni eldrad@autistici.org --- Same things happens with "Darksiders Warmastered Edition" and "Secret of Mana"
Tested returning S_OK and that avoids crash at startup and need for native mfplat.dll (although videos still won't play of course), allowing the games to run.
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #15 from Toni eldrad@autistici.org --- Created attachment 61078 --> https://bugs.winehq.org/attachment.cgi?id=61078 Return S_OK in MFStartup
It's a trivial patch but I'm attaching it anyways in case it helps anyone
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #16 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Toni from comment #15)
Created attachment 61078 [details] Return S_OK in MFStartup
It's a trivial patch but I'm attaching it anyways in case it helps anyone
The patch is trivial and I've being using it for quite some time without too many issues. However I've only used it on a small set of programs, thus may still crash programs that currently work.
Since staging has this patch already, currently disabled, since it caused a regression with stream (which is now fixed). I'll include the patch after the next release and hopefully people will have time to test and report any crashes/regression before we attempt to upstream.
https://bugs.winehq.org/show_bug.cgi?id=43607
--- Comment #17 from Toni eldrad@autistici.org --- Was thinking we could limit the workaround to just certain versions, so far documented games that crash due to not returning ok seem to request version 65648 (most games reports I've seen in bugzilla) and 131184 (secret of mana).
Once we're returning S_OK for say <= 131184 technically an application crashing because of this could be considered a regression, but also I don't see how implementation will move forward if next steps are hidden by mfplat.dll
Always returning "bad version" and thus hiding the problems after initialization (that seem to be about a number of interfaces implemented on different dlls as explained at https://bugs.winehq.org/show_bug.cgi?id=44498#c4).
https://bugs.winehq.org/show_bug.cgi?id=43607
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=43607
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://store.steampowered.c | |om/app/375980/
https://bugs.winehq.org/show_bug.cgi?id=43607
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |beb3094ca8cdf50b5422e7242cb | |74354f4e03420 Resolution|--- |FIXED
--- Comment #18 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=beb3094ca8cdf50b5422e7242...
https://bugs.winehq.org/show_bug.cgi?id=43607
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.8.
https://bugs.winehq.org/show_bug.cgi?id=43607
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=43607
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |--- CC| |mstefani@winehq.org
--- Comment #20 from Michael Stefaniuc mstefani@winehq.org --- Considered too risky for Stable.