Files
FEX-Emu--FEX/External/FEXCore/Source/Interface/Core
Ryan Houdek 273f5e1f26 Arm64: Fixes a race condition on syscall spilling SRA
When executing a non-inlined syscall, we spill all static registers.
We weren't storing in to the thread context that we have done this.
If a signal occured between FEX returning from the syscall (after the
blr) and before the `FillStaticRegs` then the signal handler would get
the incorrect register state.

This typically manifested as Steam getting a SIGCHLD, trying to recover
the guest stack pointer, and it that pointer would be zero or some other
corrupt value. Thus crashing inside of the signal handler.

Surprising that we hadn't hit this way more before this point, must have
needed hardware that tickled the race condition *just* right.
2023-02-19 16:12:06 -08:00
..
2023-02-13 16:52:47 -05:00
2023-02-15 11:24:37 -05:00
2020-03-06 09:07:37 +02:00
2023-01-18 17:56:21 -08:00
2023-01-14 13:37:26 -08:00
2020-03-06 09:07:37 +02:00
2022-03-13 13:05:00 -07:00