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.
https://bugs.winehq.org/show_bug.cgi?id=55744
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |de81e2ea41b27a14f88177639c5 | |b5d35a210b5bd Keywords| |regression, source, | |testcase
https://bugs.winehq.org/show_bug.cgi?id=55744
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|psapi:psapi_main fails on |psapi:psapi_main fails in |Debian 11 |Wine Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This got fixed on 2023-10-09. (also it impacted Debian 12 so updated the summary to reflect that)
https://bugs.winehq.org/show_bug.cgi?id=55744
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.19.
https://bugs.winehq.org/show_bug.cgi?id=55744
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- *** Bug 55755 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=55744
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- *** Bug 55747 has been marked as a duplicate of this bug. ***