https://bugs.winehq.org/show_bug.cgi?id=54507
Bug ID: 54507 Summary: psapi:psapi_main - The 32-bit test_EnumProcessModulesEx() gets many pcs-3232 failures due to partial copy errors 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 32-bit test_EnumProcessModulesEx() gets many pcs-3232 failures due to partial copy errors on Windows 11:
psapi_main.c:225: Test failed: pcs-3232: 1: didn't succeed 299 psapi_main.c:226: Test failed: pcs-3232: 1: not a multiple of sizeof(HMODULE) cbNeeded=1966900330 psapi_main.c:231: Test failed: pcs-3232: 1: GetModuleBaseName failed: 299 (0/128=DEADBEEF) psapi_main.c:233: Test failed: pcs-3232: 1: GetModuleFileNameEx failed: 299 (0/128=DEADBEEF) psapi_main.c:236: Test failed: pcs-3232: 1: GetModuleInformation failed: 299 psapi_main.c:237: Test failed: pcs-3232: 1: expected DEADBEEF, got 00000000 psapi_main.c:238: Test failed: pcs-3232: 1: image size was 0 ... repeats of lines 231 - 238 ... psapi_main.c:299: Test failed: pcs-3232: 1: got error 299 psapi_main.c:300: Test failed: pcs-3232: 1: expecting notepad.exe but got ? psapi_main.c:302: Test failed: pcs-3232: 1: got error 299 psapi_main.c:303: Test failed: pcs-3232: 1: expecting c:\windows\syswow64\notepad.exe but got ? psapi_main.c:306: Test failed: pcs-3232: 1: got error 299 psapi_main.c:307: Test failed: pcs-3232: 1: expected DEADBEEF, got 00000000 psapi_main.c:308: Test failed: pcs-3232: 1: image size was 0 psapi_main.c:299: Test failed: pcs-3232: 0: got error 299 psapi_main.c:300: Test failed: pcs-3232: 0: expecting notepad.exe but got ? psapi_main.c:302: Test failed: pcs-3232: 0: got error 299 psapi_main.c:303: Test failed: pcs-3232: 0: expecting c:\windows\syswow64\notepad.exe but got ? psapi_main.c:306: Test failed: pcs-3232: 0: got error 299 psapi_main.c:307: Test failed: pcs-3232: 0: expected DEADBEEF, got 00000000 psapi_main.c:308: Test failed: pcs-3232: 0: image size was 0 psapi_main.c:299: Test failed: pcs-3232: 3: got error 299 psapi_main.c:300: Test failed: pcs-3232: 3: expecting notepad.exe but got ? psapi_main.c:302: Test failed: pcs-3232: 3: got error 299 psapi_main.c:303: Test failed: pcs-3232: 3: expecting c:\windows\syswow64\notepad.exe but got ? psapi_main.c:306: Test failed: pcs-3232: 3: got error 299 psapi_main.c:307: Test failed: pcs-3232: 3: expected DEADBEEF, got 00000000 psapi_main.c:308: Test failed: pcs-3232: 3: image size was 0
See https://test.winehq.org/data/patterns.html#psapi:psapi_main
Where 299 == ERROR_PARTIAL_COPY
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
See also bug 54504 which had partial copy errors before these tests were introduced, and bug 54506 for 64-bit specific failures that were also introduced by this commit.