https://bugs.winehq.org/show_bug.cgi?id=55744
Bug ID: 55744 Summary: psapi:psapi_main fails on Debian 11 Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: psapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
psapi:psapi_main fails on Debian 11:
Pure 32-bit case: psapi_main.c:105: Test failed: hMod=7BD20000 GetModuleHandleA(NULL)=00400000 psapi_main.c:121: Test failed: hMod=7BD20000 GetModuleHandleA(NULL)=00400000 psapi_main.c:406: Test failed: hMod=7BD20000 GetModuleHandleA(NULL)=00400000 psapi_main.c:1018: Test failed: szModExPath="C:\windows\system32\ntdll.dll" szModPath="C:\users\winetest\Temp\wct\psapi_test.exe" psapi_main.c:1079: Test failed: szModPath="C:\users\winetest\Temp\wct\psapi_test.exe" szModBaseName="ntdll.dll"
64-bit Windows-on-Windows: psapi_main.c:105: Test failed: hMod=00006FFFFFC60000 GetModuleHandleA(NULL)=0000000000400000 psapi_main.c:121: Test failed: hMod=00006FFFFFC60000 GetModuleHandleA(NULL)=0000000000400000 psapi_main.c:163: Test failed: got ntdll.dll psapi_main.c:167: Test failed: got C:\windows\system32\ntdll.dll psapi_main.c:406: Test failed: hMod=00006FFFFFC60000 GetModuleHandleA(NULL)=0000000000400000 psapi_main.c:346: Test failed: self: 2: expecting psapi_test.exe but got ntdll.dll psapi_main.c:349: Test failed: self: 2: expecting C:\users\winetest\Temp\wct\psapi_test.exe but got C:\windows\system32\ntdll.dll psapi_main.c:346: Test failed: self: 0: expecting psapi_test.exe but got ntdll.dll psapi_main.c:349: Test failed: self: 0: expecting C:\users\winetest\Temp\wct\psapi_test.exe but got C:\windows\system32\ntdll.dll psapi_main.c:346: Test failed: self: 3: expecting psapi_test.exe but got ntdll.dll psapi_main.c:349: Test failed: self: 3: expecting C:\users\winetest\Temp\wct\psapi_test.exe but got C:\windows\system32\ntdll.dll psapi_main.c:346: Test failed: pcs-6464: 2: expecting msinfo32.exe but got ntdll.dll psapi_main.c:349: Test failed: pcs-6464: 2: expecting C:\windows\system32\msinfo32.exe but got C:\windows\system32\ntdll.dll psapi_main.c:346: Test failed: pcs-6464: 0: expecting msinfo32.exe but got ntdll.dll psapi_main.c:349: Test failed: pcs-6464: 0: expecting C:\windows\system32\msinfo32.exe but got C:\windows\system32\ntdll.dll psapi_main.c:346: Test failed: pcs-6464: 3: expecting msinfo32.exe but got ntdll.dll psapi_main.c:349: Test failed: pcs-6464: 3: expecting C:\windows\system32\msinfo32.exe but got C:\windows\system32\ntdll.dll psapi_main.c:519: Test failed: pcs-6432: default and all module list should match psapi_main.c:346: Test failed: pcs-6432: 1: expecting msinfo32.exe but got ntdll.dll psapi_main.c:349: Test failed: pcs-6432: 1: expecting C:\windows\syswow64\msinfo32.exe but got C:\windows\system32\ntdll.dll psapi_main.c:346: Test failed: pcs-6432: 0: expecting msinfo32.exe but got ntdll.dll psapi_main.c:349: Test failed: pcs-6432: 0: expecting C:\windows\syswow64\msinfo32.exe but got C:\windows\system32\ntdll.dll psapi_main.c:346: Test failed: pcs-6432: 3: expecting msinfo32.exe but got ntdll.dll psapi_main.c:349: Test failed: pcs-6432: 3: expecting C:\windows\syswow64\msinfo32.exe but got C:\windows\system32\ntdll.dll psapi_main.c:1018: Test failed: szModExPath="C:\windows\system32\ntdll.dll" szModPath="C:\users\winetest\Temp\wct\psapi_test.exe" psapi_main.c:1079: Test failed: szModPath="C:\users\winetest\Temp\wct\psapi_test.exe" szModBaseName="ntdll.dll"
See https://test.winehq.org/data/patterns.html#psapi:psapi_main
A bisect shows that these failures started with the commit below:
commit de81e2ea41b27a14f88177639c5b5d35a210b5bd Author: Alexandre Julliard julliard@winehq.org AuthorDate: Fri Oct 6 15:08:02 2023 +0200
ntdll: Only create the main module on the 32-bit side for wow64.