https://bugs.winehq.org/show_bug.cgi?id=54505
Bug ID: 54505 Summary: psapi:psapi_main - The 64-bit test_EnumProcessModules() gets unexpected Notepad case 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_EnumProcessModules() gets unexpected Notepad case on Windows 11:
psapi_main.c:160: Test failed: got Notepad.exe psapi_main.c:164: Test failed: got C:\Program Files\WindowsApps\Microsoft.
See https://test.winehq.org/data/patterns.html#psapi:psapi_main
This failure is specific to the 64-bit tests running on Windows 11, that is the 32-bit test has other (possibly related) failures, and Windows 10 and lower don't have failures. Also this failure has been present ever since the Windows 11 VM was added.
This looks like a simple case issue. If so it's strange that it only happens in 64-bit but it could be cured by a simple strcasecmp() or equivalent.
https://bugs.winehq.org/show_bug.cgi?id=54505
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=54505
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |38e3a92e21220a6e8a97ba3e472 | |a704d6a4f6664 Resolution|--- |FIXED
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This is fixed:
commit 38e3a92e21220a6e8a97ba3e472a704d6a4f6664 Author: Eric Pouech eric.pouech@gmail.com AuthorDate: Tue Feb 21 17:34:58 2023 +0100
psapi/tests: Use msinfo32.exe instead of notepad.exe.
Under Windows 11, notepad.exe has been migrated into the UWP framework, and can no longer be launched as a 32bit process: - even if c:\windows\syswow64\notepad.exe is still a 32 bit PE file - the process created from c:\windows\syswow64\notepad.exe is not a wow64 process.
So use msinfo32.exe instead. Like notepad.exe, it's a gui application, present on Wine and all test-bot:ed windows platforms. But unlike notepad.exe, it's not an UWP app on Windows 11.
(May not fix all the issues in the following bug list, but will remove a lot of errors).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54504 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54505 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54506 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54507 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54508 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54509 Signed-off-by: Eric Pouech eric.pouech@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=54505
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.4.