Files
Xenia-Canary/src
Herman S. 3b8debcf5b [Memory] Fix watch race condition causing crashes on Linux
When two threads fault on the same watched page, the second thread may
find the watch already cleared by the first. TriggerCallbacks returned
false in this case, leaving the SIGSEGV unhandled. Return true instead
so the instruction retries — the page is already unprotected.

This is the signal-safe equivalent of the QueryProtect check that
handles the same race on Windows. Fixes a regression from dbd58b.
2026-03-12 15:32:07 +09:00
..