https://bugs.winehq.org/show_bug.cgi?id=49801
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|https://www.fymanager.com/f |https://web.archive.org/web |iles/FYMInstaller_V5.9.17.m |/20210116105955/https://www |si |.fymanager.com/files/FYMIns | |taller_V5.10.7.msi Summary|Freight Yard Manager |Freight Yard Manager 5.x |crashes on start with |crashes on start with |wine-mono |wine-mono Status|RESOLVED |REOPENED Resolution|FIXED |--- Ever confirmed|0 |1
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote --- Program no longer crashes at this point on Wine 5.22.
Has another crash after this point, but unrelated to this one. --- quote ---
I doubt that. It sill crashes in same way:
--- snip --- $ pwd /home/focht/.wine/drive_c/FYM
$ wine ./FYManager.exe ... System.InvalidProgramException: Invalid IL code in Microsoft.DirectX.Direct3D.Manager:CheckDeviceType (int,Microsoft.DirectX.Direct3D.DeviceType,Microsoft.DirectX.Direct3D.Format,Microsoft.DirectX.Direct3D.Format,bool): IL_0007: call 0x060005a6
at FYManager.F.FindGraphicsFormat () [0x001a4] in <20d87a5163c244ddaa726b5c9e76f1fc>:0 at FYManager.F.SetupFYM () [0x00261] in <20d87a5163c244ddaa726b5c9e76f1fc>:0 at FYManager.F.F_Load (System.Object sender, System.EventArgs e) [0x0016e] in <20d87a5163c244ddaa726b5c9e76f1fc>:0 at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x000d1] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Form.OnCreateControl () [0x00031] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Control.CreateControl (System.Boolean fIgnoreVisible) [0x000ed] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Control.CreateControl () [0x00008] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00051] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0071b] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00043] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x0001a] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Form.WmShowWindow (System.Windows.Forms.Message& m) [0x00013] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00290] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <4b7d326f792d4378bd436300c6961411>:0 at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in <4b7d326f792d4378bd436300c6961411>:0 ... --- snip ----
Although the problems are fixed in Wine-Mono, it's not fixed in Wine. The changes were applied *after* Wine-Mono 5.1.1 release which is part of Wine 5.19 release. Wine didn't receive a new Wine-Mono update yet.
I couldn't find the first part of the "Invalid IL code" fixes in Wine-Mono (didn't search hard enough).
Esme's Mono-Basic fixes mentioned in comment #7 and comment #10
Mono-Basic fork:
* https://github.com/madewokherd/mono-basic/commit/609437d5b4550ba6a24388d7663... ("Support hex syntax in IntegerType.FromString.")
* https://github.com/madewokherd/mono-basic/commit/36284c53c6d7bb6256c36f4e56c... ("Extend hex FromString support to other numeric types.")
Superproject:
https://github.com/madewokherd/wine-mono/commit/454d9a850ac7b49498e0035a0eea... ("Add support for hex string conversions in mono-basic. ") -> mono-basic submodule update.
$ sha1sum FYMInstaller_V5.10.7.msi b8192a251721222071512b0f1f93782decbdf38b FYMInstaller_V5.10.7.msi
$ du -sh FYMInstaller_V5.10.7.msi 8.9M FYMInstaller_V5.10.7.msi
$ wine --version wine-6.0
Regards