http://bugs.winehq.org/show_bug.cgi?id=58610
Bug ID: 58610 Summary: Sim Racing Studio fails to start: “Error Loading Prython DLL ”C:\Progam Files\RimsRacingStudio 2.0\python312.dll" Product: Wine Version: 10.13 Hardware: x86-64 URL: https://www.simracingstudio.com/download OS: Linux Status: NEW Keywords: dotnet, download Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
Reported on the forum: https://forum.winehq.org/viewtopic.php?t=41487; Note: dotnet48 installed beforehand
Debug shows it fails just after it can't get entry for PssQuerySnapshot, see below.
After adding a stub entry, story repeats for PssCaptureSnapshot and PsFreeSnapshot. After adding those the application starts. I'll send patches later.
0100:Call KERNEL32.GetProcAddress(6fffffeb0000,6ffffe3653f0 "PssQuerySnapshot") ret=6ffffe373909 0100:Ret KERNEL32.GetProcAddress() retval=00000000 ret=6ffffe373909 0100:Ret PE DLL (proc=00006FFFFE372DB0,module=00006FFFFDCC0000 L"python312.dll",reason=PROCESS_ATTACH,res=0000000000000000) retval=0 0100:Call PE DLL (proc=00006FFFFE372DB0,module=00006FFFFDCC0000 L"python312.dll",reason=PROCESS_DETACH,res=0000000000000000) 0100:Ret PE DLL (proc=00006FFFFE372DB0,module=00006FFFFDCC0000 L"python312.dll",reason=PROCESS_DETACH,res=0000000000000000) retval=0 0100:Call PE DLL (proc=00006FFFFF982AD0,module=00006FFFFF980000 L"WS2_32.dll",reason=PROCESS_DETACH,res=0000000000000000) 0100:Ret PE DLL (proc=00006FFFFF982AD0,module=00006FFFFF980000 L"WS2_32.dll",reason=PROCESS_DETACH,res=0000000000000000) retval=1 0100:Call PE DLL (proc=00006FFFFDC516A0,module=00006FFFFDC50000 L"VERSION.dll",reason=PROCESS_DETACH,res=0000000000000000) 0100:Ret PE DLL (proc=00006FFFFDC516A0,module=00006FFFFDC50000 L"VERSION.dll",reason=PROCESS_DETACH,res=0000000000000000) retval=1 0100:Call PE DLL (proc=00006FFFFDC713B0,module=00006FFFFDC70000 L"VCRUNTIME140.dll",reason=PROCESS_DETACH,res=0000000000000000) 0100:Ret PE DLL (proc=00006FFFFDC713B0,module=00006FFFFDC70000 L"VCRUNTIME140.dll",reason=PROCESS_DETACH,res=0000000000000000) retval=1 0100:Call PE DLL (proc=00006FFFFDC96600,module=00006FFFFDC90000 L"bcrypt.dll",reason=PROCESS_DETACH,res=0000000000000000) 0100:Ret PE DLL (proc=00006FFFFDC96600,module=00006FFFFDC90000 L"bcrypt.dll",reason=PROCESS_DETACH,res=0000000000000000) retval=1 0100:Ret ntdll.LdrLoadDll() retval=c0000142 ret=6fffffc703d2 0100:Call ntdll.RtlReleasePath(002b7750) ret=6fffffc703e3 0100:Ret ntdll.RtlReleasePath() retval=00000001 ret=6fffffc703e3 0100:Ret KERNEL32.LoadLibraryExW() retval=00000000 ret=140007209 0100:Call KERNEL32.GetLastError() ret=14000265a 0100:Ret KERNEL32.GetLastError() retval=0000045a ret=14000265a 0100:Call KERNEL32.FormatMessageW(00001000,00000000,0000045a,00000400,00205520,7c4001f00001000,00000000) ret=14000753c 0100:Call ntdll.RtlFindMessage(6fffffbf0000,0000000b,00000400,0000045a,00205348) ret=6fffffc6c796 0100:Ret ntdll.RtlFindMessage() retval=00000000 ret=6fffffc6c796 0100:Call ntdll.RtlFormatMessage(6fffffe43d1c,00000000,00000000,00000000,401039a00000000,00000000,00205520,3c103fe00002000,002053fc) ret=6fffffc10f1a 0100:Ret ntdll.RtlFormatMessage() retval=00000000 ret=6fffffc10f1a 0100:Ret KERNEL32.FormatMessageW() retval=0000001c ret=14000753c 0100:Call KERNEL32.WideCharToMultiByte(0000fde9,00000000,00205520 L"DLL initialization failed.\r\n",ffffffff,14004b000,7c4001f00001000,00000000,00000000) ret=140007592 0100:Call ntdll.RtlUnicodeToUTF8N(14004b000,00001000,002053fc,00205520,0000003a) ret=6fffffc604c5 0100:Ret ntdll.RtlUnicodeToUTF8N() retval=00000000 ret=6fffffc604c5 0100:Ret KERNEL32.WideCharToMultiByte() retval=0000001d ret=140007592 0100:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,00207570 "Error loading Python DLL 'C:\Program Files\SimRacingStudio 2.0\python312.dll'.\nLoadLibrary: DLL initialization failed.\r\n",ffffffff,00208570,00000400) ret=140007b26 0100:Call ntdll.strlen(00207570 "Error loading Python DLL 'C:\Program Files\SimRacingStudio 2.0\python312.dll'.\nLoadLibrary: DLL initialization failed.\r\n") ret=6fffffc2aa19 0100:Ret ntdll.strlen() retval=00000078 ret=6fffffc2aa19