https://bugs.winehq.org/show_bug.cgi?id=54506
Bug ID: 54506 Summary: psapi:psapi_main - The 64-bit test_EnumProcessModulesEx() gets pcs-6464 and pcs-6432 failures on Windows 11 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: psapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
psapi:psapi_main - The 64-bit test_EnumProcessModulesEx() gets pcs-6464 and pcs-6432 failures on Windows 11:
psapi_main.c:303: Test failed: pcs-6464: 2: expecting C:\windows\system32\notepad.exe but got C:\Program Files\WindowsApps\Microsoft.WindowsNotepad_10.2102.13.0_x64__8wekyb3 psapi_main.c:303: Test failed: pcs-6464: 0: expecting C:\windows\system32\notepad.exe but got C:\Program Files\WindowsApps\Microsoft.WindowsNotepad_10.2102.13.0_x64__8wekyb3 psapi_main.c:303: Test failed: pcs-6464: 3: expecting C:\windows\system32\notepad.exe but got C:\Program Files\WindowsApps\Microsoft.WindowsNotepad_10.2102.13.0_x64__8wekyb3 psapi_main.c:448: Test failed: pcs-6432: expecting 32bit modules psapi_main.c:299: Test failed: pcs-6432: 1: got error 6 psapi_main.c:300: Test failed: pcs-6432: 1: expecting notepad.exe but got e{u psapi_main.c:302: Test failed: pcs-6432: 1: got error 6 psapi_main.c:303: Test failed: pcs-6432: 1: expecting C:\windows\syswow64\notepad.exe but got e{u psapi_main.c:306: Test failed: pcs-6432: 1: got error 6 psapi_main.c:307: Test failed: pcs-6432: 1: expected 00000000DEADBEEF, got 00007FF8DF7EF800 psapi_main.c:309: Test failed: pcs-6432: 1: got entry point 000000000040BDF8 psapi_main.c:303: Test failed: pcs-6432: 0: expecting C:\windows\syswow64\notepad.exe but got C:\Program Files\WindowsApps\Microsoft.WindowsNotepad_10.2102.13.0_x64__8wekyb3 psapi_main.c:303: Test failed: pcs-6432: 3: expecting C:\windows\syswow64\notepad.exe but got C:\Program Files\WindowsApps\Microsoft.WindowsNotepad_10.2102.13.0_x64__8wekyb3
See https://test.winehq.org/data/patterns.html#psapi:psapi_main
Where 6 == ERROR_INVALID_HANDLE, hence the presumable uninitialized strings too.
These tests and failures were introduced by the commit below:
commit 84a9a1c8fbc1e8ccc9c34cf0db375813b3ac2955 Author: Eric Pouech eric.pouech@gmail.com AuthorDate: Mon Jan 30 13:45:46 2023 +0100
psapi: Add tests for EnumProcessModulesEx().
Signed-off-by: Eric Pouech eric.pouech@gmail.com