[Bug 45505] PES 2017 settings.exe (.NET 4.0 app) crashes on startup with Wine-Mono

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 29 16:54:37 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=45505

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Fixed by SHA1|                            |605a9120775e9599fa340008af9
                   |                            |1c3be0edbc776

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

I've tested with a selection of Wine-Mono releases:

https://wiki.winehq.org/Mono#Versions

Only showing the ones that exhibit a different backtrace / progression.

Wine-Mono 4.7.3 | wine-3.13

--- snip ---
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an
object
  at <Module>.main.spec.GetVideoMemoryViaDXGI (HMONITOR__* hMonitor,
System.UInt32* pDedicatedVideoMemory, System.UInt32* pDedicatedSystemMemory,
System.UInt32* pSharedSystemMemory) [0x00006] in
<32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at <Module>.main.spec.winEnvCheck () [0x00552] in
<32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at Bind.Wrapper.init (System.Byte[] args, System.Int32 size) [0x00000] in
<32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at Settings.SettingsForm..ctor () [0x00223] in
<481d0c84bccf4765aefeb0b8718703e5>:0 
  at (wrapper remoting-invoke-with-check) Settings.SettingsForm:.ctor ()
  at Settings.Program.Main () [0x00021] in <481d0c84bccf4765aefeb0b8718703e5>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object
reference not set to an instance of an object
--- snip ---

Wine-Mono 4.8.0 | wine-4.3

--- snip ---
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Buffer.memcpy1 (System.Byte* dest, System.Byte* src, System.Int32
size) [0x00002] in <17d196a490344c61a3ce13b9e443f461>:0 
  at System.Buffer.Memcpy (System.Byte* dest, System.Byte* src, System.Int32
len) [0x00066] in <17d196a490344c61a3ce13b9e443f461>:0 
  at System.String.memcpy (System.Byte* dest, System.Byte* src, System.Int32
size) [0x00000] in <17d196a490344c61a3ce13b9e443f461>:0 
  at <Module>.std.basic_string<char,std::char_traits<char>,std::allocator<char>
>.assign (std.basic_string<char\,std::char_traits<char>\,std::allocator<char>
>* , System.SByte* _Ptr, System.UInt32 _Count) [0x0007e] in
<32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at <Module>.std.basic_string<char,std::char_traits<char>,std::allocator<char>
>.= (std.basic_string<char\,std::char_traits<char>\,std::allocator<char> >* ,
System.SByte* _Ptr) [0x00012] in <32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at <Module>.main.spec.GetDirectXVersion
(std.basic_string<char\,std::char_traits<char>\,std::allocator<char> >*
str_version,
std.basic_string<char\,std::char_traits<char>\,std::allocator<char> >*
str_version_number) [0x00783] in <32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at <Module>.main.spec.winEnvCheck () [0x00022] in
<32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at Bind.Wrapper.init (System.Byte[] args, System.Int32 size) [0x00000] in
<32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at Settings.SettingsForm..ctor () [0x00223] in
<481d0c84bccf4765aefeb0b8718703e5>:0 
  at (wrapper remoting-invoke-with-check) Settings.SettingsForm..ctor()
  at Settings.Program.Main () [0x00021] in <481d0c84bccf4765aefeb0b8718703e5>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object
reference not set to an instance of an object
--- snip ---

Wine-Mono 5.0.0 | wine-5.7
...
Wine-Mono 6.1.1 | wine-6.6

--- snip ---
Unhandled Exception:
System.InvalidProgramException: Invalid IL code in <Module>:SetResolutionList
(): IL_01e1: shr       


  at Bind.Wrapper.CheckResolution () [0x00000] in
<32ab72cdd67b4428ad5bedccdc6f871f>:0 
  at Settings.Display.InitResolutionList () [0x00042] in
<481d0c84bccf4765aefeb0b8718703e5>:0 
  at Settings.Display.SetupFromBind () [0x000f7] in
<481d0c84bccf4765aefeb0b8718703e5>:0 
  at Settings.SettingsForm..ctor () [0x002a0] in
<481d0c84bccf4765aefeb0b8718703e5>:0 
  at (wrapper remoting-invoke-with-check) Settings.SettingsForm..ctor()
  at Settings.Program.Main () [0x00021] in <481d0c84bccf4765aefeb0b8718703e5>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL
code in <Module>:SetResolutionList (): IL_01e1: shr    
--- snip ---

Wine-Mono 6.2.0 | wine-6.10 = works

Fixed by
https://source.winehq.org/git/wine.git/commitdiff/605a9120775e9599fa340008af91c3be0edbc776
("mscoree: Update Wine Mono to 6.2.0.").

Part of Wine 6.10 release.

Thanks Esme

Regards

-- 
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.



More information about the wine-bugs mailing list