https://bugs.winehq.org/show_bug.cgi?id=54019
Bug ID: 54019 Summary: The 64-bit ntdll:wow64 fails on Windows 11 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The 64-bit ntdll:wow64 fails on Windows 11. There are two failure modes:
wow64.c:269: Test failed: wrong Tib.ExceptionList 0000000000000000 / 00000013640C5000 wow64.c:273: Test failed: wrong len 0 wow64.c:290: Test failed: wrong len 0 wow64.c:312: Test failed: wrong len 0 wow64.c:320: Test failed: wrong ImagePathName ptr 0 / 75cec0-75d884 wow64.c:320: Test failed: wrong ImagePathNamelen 0 / 210 wow64.c:321: Test failed: wrong CommandLine ptr 0 / 75cec0-75d884 wow64.c:321: Test failed: wrong CommandLinelen 0 / 66 wow64.c:322: Test failed: wrong WindowTitle ptr 0 / 75cec0-75d884 wow64.c:322: Test failed: wrong WindowTitlelen 0 / 210 wow64.c:323: Test failed: wrong Desktop ptr 0 / 75cec0-75d884 wow64.c:323: Test failed: wrong Desktoplen 0 / 30 wow64.c:324: Test failed: wrong ShellInfo ptr 0 / 75cec0-75d884 wow64.c:326: Test failed: wrong size 0 / 3222 wow64.c:338: Test failed: wrong len 0 wow64.c:339: Test failed: BeingDebugged is 0
or with 2 extra failures and different values:
wow64.c:269: Test failed: wrong Tib.ExceptionList 0000000000000000 / 000000A7ECDDA000 wow64.c:273: Test failed: wrong len 0 wow64.c:290: Test failed: wrong len 0 wow64.c:291: Test failed: BeingDebugged is 117 wow64.c:309: Test failed: wrong ptr32 0000000000000000 / 00000298B3F80000 wow64.c:312: Test failed: wrong len 0 wow64.c:320: Test failed: wrong ImagePathName ptr 0 / 0-9c4 wow64.c:320: Test failed: wrong ImagePathNamelen 0 / 210 wow64.c:321: Test failed: wrong CommandLine ptr 0 / 0-9c4 wow64.c:321: Test failed: wrong CommandLinelen 0 / 66 wow64.c:322: Test failed: wrong WindowTitle ptr 0 / 0-9c4 wow64.c:322: Test failed: wrong WindowTitlelen 0 / 210 wow64.c:323: Test failed: wrong Desktop ptr 0 / 0-9c4 wow64.c:323: Test failed: wrong Desktoplen 0 / 30 wow64.c:324: Test failed: wrong ShellInfo ptr 0 / 0-9c4 wow64.c:326: Test failed: wrong size 0 / 3112 wow64.c:338: Test failed: wrong len 0 wow64.c:339: Test failed: BeingDebugged is 117
See https://test.winehq.org/data/patterns.html#ntdll:wow64
The values are pretty stable from one run to the next but do change from time to time (causing false positives). Note also that the 32-bit version fails on Windows 11 too.
https://bugs.winehq.org/show_bug.cgi?id=54019
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=54019
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=54019
--- Comment #1 from François Gouget fgouget@codeweavers.com --- These failures happen in test_peb_teb() which uses "C:\windows\syswow64\notepad.exe" as a test subject. So this may be related to bug 54504: this path is now remapped to a 64-bit executable instead of being a 32-bit one.
https://bugs.winehq.org/show_bug.cgi?id=54019
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |de3ecada243b6cf5fc65afc8963 | |4142a8de76401 Resolution|--- |FIXED
--- Comment #2 from François Gouget fgouget@codeweavers.com --- This is fixed:
commit de3ecada243b6cf5fc65afc89634142a8de76401 Author: Eric Pouech eric.pouech@gmail.com AuthorDate: Tue Feb 21 17:34:55 2023 +0100
ntdll/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.
Signed-off-by: Eric Pouech eric.pouech@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=54019
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.4.