https://bugs.winehq.org/show_bug.cgi?id=55238
Bug ID: 55238 Summary: ntdll:exception - The 64-bit test_nested_exception() 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
ntdll:exception - The 64-bit test_nested_exception() fails on Windows 11:
exception.c:4842: nested_exception_handler Rip 000001E4AD6D0007, Rsp 00000012F5BFFAB0, code 0x80000003, flags 0, ExceptionAddress 000001E4AD6D0007. exception.c:4842: nested_exception_handler Rip 00007FFA236D428C, Rsp 00000012F5BFEAC0, code 0xdeadbeef, flags 0x90, ExceptionAddress 00007FFA236D428C. exception.c:4867: Test failed: Got unexpected exception code 0xdeadbeef, flags 0x90. exception.c:4870: Test failed: Got unexpected frame 00000012F5BFFAB0. exception.c:4891: Test failed: Did not get nested exception.
See https://test.winehq.org/data/patterns.html#ntdll:exception
This failure is specific to the 64-bit tests and only happen on the Windows 11 VM, with out without the AMD/NVidia GPUs (but the nightlies only run the 32-bit tests on the base configuration).
https://bugs.winehq.org/show_bug.cgi?id=55238
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55238
Jinoh Kang jinoh.kang.kr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jinoh.kang.kr@gmail.com
--- Comment #1 from Jinoh Kang jinoh.kang.kr@gmail.com ---
exception.c:4867: Test failed: Got unexpected exception code 0xdeadbeef, flags 0x90.
The bit 7 (0x80) of ExceptionFlags is `EXCEPTION_SOFTWARE_ORIGINATE`, which seems to have been introduced in Windows 11. This would always be set for user-initiated exceptions, so the test will have to mask it out.
https://bugs.winehq.org/show_bug.cgi?id=55238
--- Comment #2 from François Gouget fgouget@codeweavers.com --- So then 0x9 == EXCEPTION_NONCONTINUABLE | EXCEPTION_SOFTWARE_ORIGINATE
But it looks like it's not just ExceptionFlags that does not have the expected value, it's also the frame and nesting. Essentially it looks like "this is not the exception we are looking for".
https://bugs.winehq.org/show_bug.cgi?id=55238
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |7eaa5119b7f2a4f316689922be0 | |a74dd1c7bd70f
--- Comment #3 from Paul Gofman pgofman@codeweavers.com --- Should be fixed by 7eaa5119b7f2a4f316689922be0a74dd1c7bd70f.
https://bugs.winehq.org/show_bug.cgi?id=55238
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.16.