May 8, 2026
2:33 a.m.
The first commit fixes 569a7553b26dc0a89fb48af5da8442b4f71c42a4 ("ntdll: Use ESR in the ARM64 signal handler when possible."), on Linux it turns out that the ESR can be non-zero but also stale/incorrect. With the unaligned access test added, I was getting failures in later breakpoint tests because the SIGTRAP handler was still using the ESR from the earlier unaligned access fault. The unaligned access test shows a case where Windows differs from Linux/macOS, Wine may need to emulate/handle this in the future. (Unlike Linux/macOS, Windows sets `SCTLR_EL1.nAA` = 1 which results in no alignment fault in some cases) @jacek -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10843