0xC000001D (#UD) at patched insertq (SSE4a) sites in title image - Intel host, ~30s into gameplay #45
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ToLIManl--VIctory-Hydra#45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Tip-Tutaki on GitHub · 2026-12-05 05:07 UTC · original
Summary
Three
0xC000001D(#UD, illegal instruction) crashes inside the mapped title image today, ~30 s into gameplay each time, on an Intel host. Disassembly of the two fatal sites shows both are the same inlined helper built aroundinsertq(AMD SSE4a) — and the crash records show the loader's static patch was present at both sites when the process died (e9 … 90jmp+nop planted over the 6-byteinsertq). Many siblinginsertqsites in the same run were emulated successfully at runtime (first-chance, caught). Suspected cross-modifying-code race on multi-threaded execution of these helpers; details and evidence below.Environment
9dca5652)victory-image-b99f876b74d4a77f.dll(cache dirnative-2560x1440-upscaler-balanced-sdr)Crash records (from
crashes.log)The fatal sites are
insertq(SSE4a), and they WERE patchedOn-disk cache image (unpatched at these RVAs), objdump:
Same inlined helper both times: int8 → sign-extend via insertq field insert →
vpmovsxbd→vcvtdq2ps→ square/blend/haddps×2 →vrsqrtps.Live bytes at crash time (crash reporter's dump):
e9 b9 ba 3f fa 90/e9 4a eb ec f9 90— a jmp rel32 + nop over the 6-byteinsertq, with the original stream (vpmovsxbd …) continuing after. So the patch was applied; the thread died at the patched address anyway.Where the planted jmp points
rel32 from the crash records (preferred ImageBase 0x140000000):
0x13F480241— 0x120 below ImageBase0x13F480361— also just below ImageBase, 0x120 from site A's targetBoth targets sit just under the image, 0x120 apart — consistent with a deliberate thunk region placed before the image rather than a wild jump. At this run's actual base (0x6fffe6b40000) they resolve to
actual_base − 0xb7fdbf/− 0xb7fc9f.The mechanism mostly works — sibling sites were emulated fine
The MFG Unlocker mod's log (it was loaded in the 17:37 run and observes first-chance exceptions) shows the same run surviving many other #UDs in the same image, caught and emulated at runtime:
Reading / hypothesis
The 16:43 and 16:47 crashes happened with no MFG Unlocker loaded (first loaded 17:37), so the mod is only the witness in the third run, not a factor in the first two.
What would help
Sitelist or patched by the runtime scan.Attachments
Full evidence (crash logs ×3, crashes.log tail, the mod's observation log + status JSON, play-log excerpt, disassembly notes):
https://gist.github.com/Tip-Tutaki/6c5f1e7433b6ca9bd40bd96f5264eed5 Nothing from the game is included beyond what victory's own crash reporter prints.