Skip to content

FM27: align bounded ARM64EC fault diagnostics - #19

Open
butilly wants to merge 2 commits into
mainfrom
fix/fm27-fexcore-fault-diagnostic-2
Open

butilly wants to merge 2 commits into
mainfrom
fix/fm27-fexcore-fault-diagnostic-2

Conversation

@butilly

@butilly butilly commented Oct 31, 2026

Copy link
Copy Markdown
Owner

Football Manager 27 (fm.exe), thread 1566023569568440401. Supersedes PR 18 whose compilation passed but ARM64EC linking failed with a misaligned ldr/str offset. Use a naturally aligned 32-bit atomic guard and explicitly align diagnostic static storage. Diagnostic remains fm.exe-only, deduplicated and capped at 24 fault sites. NtReadVirtualMemory captures up to 15 instruction bytes safely; record mapping/access details and reconstructed guest registers. No guest instruction, exception routing or Proton architecture changes. Existing FEX debug logging showed an access violation before Invalid instruction in entry block at game_plugin.dll+0x12E038D0; subsequent recursive faults overflow the exception stack. Both emulator paths and headless Steam already stall at 2%, and the game DLL exceeds the upload cap. Existing full x86 disassembly is build-dependent and unbounded. Verify GN-FEX-FAULT-v1 marker and first-fault byte records in the next report; separate base-version effects from diagnostics. git diff --check passed. This is the first diagnostic delivered if packaging succeeds; PR 18 was never published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant