https://bugs.winehq.org/show_bug.cgi?id=50111
Bug ID: 50111 Summary: osu! crashes since 20201110 version with Wine Mono Product: Wine Version: 5.21 Hardware: x86-64 URL: https://m1.ppy.sh/r/osu!install.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: aidas957@gmail.com Regression SHA1: d1472b302d3931074da50bc6ba6571a31a8c76c6 Distribution: ArchLinux
Created attachment 68605 --> https://bugs.winehq.org/attachment.cgi?id=68605 osu! 20201110 Wine Mono log
When osu! got updated to the 20201110 update, the game kinda starts up. but later shows an error dialog and message attached below
Running osu! with winetricks dotnet40 makes the game work again
The Wine log is also attached but I don't think it's important
Note: I can't attach multiple files for some reason (and keywords don't exist)
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #1 from aidas957@gmail.com --- Created attachment 68606 --> https://bugs.winehq.org/attachment.cgi?id=68606 osu! 20201110 error dialog
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #2 from aidas957@gmail.com --- Created attachment 68607 --> https://bugs.winehq.org/attachment.cgi?id=68607 osu! 20201110 error message
https://bugs.winehq.org/show_bug.cgi?id=50111
aidas957@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
https://bugs.winehq.org/show_bug.cgi?id=50111
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|d1472b302d3931074da50bc6ba6 | |571a31a8c76c6 | Keywords|regression |
https://bugs.winehq.org/show_bug.cgi?id=50111
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|osu! crashes since 20201110 |osu! crashes since 20201110 |version with Wine Mono |version with wine-mono | |(needs native -> managed | |byref array marshalling) CC| |z.figura12@gmail.com
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- (In reply to aidas957 from comment #2)
Created attachment 68607 [details] osu! 20201110 error message
Which contains the following:
System.Runtime.InteropServices.MarshalDirectiveException: Byref array marshalling to managed code is not implemented. at (wrapper native-to-managed) System._AppDomain.GetAssemblies(intptr,intptr)
https://bugs.winehq.org/show_bug.cgi?id=50111
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zeroredgrave@gmail.com
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 51309 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #5 from Gabriele gab.pulcio@gmail.com --- Still present in wine 6.19
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #6 from Gabriele gab.pulcio@gmail.com --- (In reply to Gabriele from comment #5)
Still present in wine 6.19
Even in wine 7.0-rc4
https://bugs.winehq.org/show_bug.cgi?id=50111
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- For reference: https://github.com/mono/mono/blob/main/mono/metadata/marshal-ilgen.c#L2732
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- How did you get so far? I always get
029c:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc53ad6
when I try to run the game.
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #9 from Esme Povirk madewokherd@gmail.com --- Both messages appear in the log.
https://bugs.winehq.org/show_bug.cgi?id=50111
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #10 from Aida Jonikienė aidas957@gmail.com --- The error still appears with wine-staging 8.12 and wine-mono 8.0.0 (and a newer version of the game which is 20230628.2) but it happens much earlier now that I had to use WINE_MONO_TRACE to find it:
[00000170:] EXCEPTION handling: System.Runtime.InteropServices.MarshalDirectiveException: Byref array marshalling to managed code is not implemented.
Also now the game (or wine-mono) throws an ILLEGAL_INSTRUCTION exception before even showing the main game window
(also the game segfaults in WoW64 mode for some reason with garbage pointers being shown in a gdb backtrace)
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #11 from Esme Povirk madewokherd@gmail.com --- I have an implementation of this now, currently in a pull request awaiting code review: https://github.com/madewokherd/mono/pull/46
https://bugs.winehq.org/show_bug.cgi?id=50111
--- Comment #12 from Aida Jonikienė aidas957@gmail.com --- (In reply to Esme Povirk from comment #11)
I have an implementation of this now, currently in a pull request awaiting code review: https://github.com/madewokherd/mono/pull/46
I now get this exception when starting the game instead:
[000001f4:] EXCEPTION handling: System.InvalidCastException: Specified cast is not valid.
https://bugs.winehq.org/show_bug.cgi?id=50111
Aida Jonikienė aidas957@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #13 from Aida Jonikienė aidas957@gmail.com --- The InvalidCastException still occurs even with Wine Mono 9.0.0 and the newest osu! version (but the original exception/bug should be fixed since Wine 8.19 with the Wine Mono 8.1.0 update so I'll mark this as resolved)
I'll move the InvalidCastException talk to https://bugs.winehq.org/show_bug.cgi?id=56571
https://bugs.winehq.org/show_bug.cgi?id=50111
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.7.