GTA VI (1.0.2.1, Xbox): title faults writing to address 0 right after the account picker #2477
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2477
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?
@nnkmn on GitHub · 2026-11-25 14:21 UTC · original
What happens
--console series-xboots correctly, the account picker draws at ~30 fps (21 draws/frame), then the title crashes with an access violation at a fixed RVA while entering the world. Two runs with different--unimplementedsettings fault at exactly the same instruction.The faulting instruction is a trap stub, not a wild pointer
victory-image-*.dllis the mapped title image, so the offset is a plain RVA. RVA0x23cf683lands in.text(file offset0x23CEA83):i.e.
The title deliberately writes a constant (
0x4D8BD421) to address zero and returns: the shape of a compiler-emitted fatal-error helper. Which engine check reaches it, and what0x4D8BD421encodes, is the question.Build
github.com/Marvisak/VIctory, branchcapped-heap, HEADbbe8770= base940d32f+ cherry-picks of #1778, #1763, #1832, #1779, plus one local experimental patch (mouse to right stick invictory-hle::modules::gameinput), unrelated to this crash.cached=truefor every shader in these runs).translate --cache --pipelines:328114588bytes,loaded=1079 made=0in the crashing run.Environment
RockstarGamesInc.28872443D20A, TitleId7952987A,TargetDeviceFamily="Scarlett"Reproduce
What the log says just before the crash
Other lines from the same run:
host pipeline refused error=参数错误 (0x80070057)withshaders=[compute ...]WARN victory_gpu::resource: dropping unordered access: the host cannot use this format as a typed UAV format=27WARN victory_gpu::resource: the host refuses castable formats: ... desc format: 115 ... 2560x1440 ... flags: 1memory allocation of 1435801620 bytes failedatframe=3378(2 GB page file, 33.9 GB commit limit)Hypothesis / what would help
0x4D8BD421is an engine-side fatal code, what does it mean?dropped 506 without a host pipelineexpected at world entry? If the title later reads back those targets, or builds a table from them, a dropped set could explain a null dereference.Secondary observation:
--console series-spresents blackSame build,
--console series-s: presents 1920x1080 at a steady 30 fps withhost textures: 1522 (2599 MB), 11 draws/frame, but every presented frame is a uniform colour (diagnostics capture writes a 1586-byte PNG) and the draw count never advances past 11, so the account picker never appears. Series X reaches it at 21 draws. Looks like a distinct output-path problem rather than a slow load.@nnkmn on GitHub · 2026-11-25 14:23 UTC · original
run-1-trap-err.log
run-2-zero-err.log
@kotekompotek on GitHub · 2026-11-25 17:08 UTC · original
The fault is the title's own watchdog killing itself, not a stray null-write — the stack gives it away:
#3 KERNEL32!BaseThreadInitThunk → #2 +0x2215eca → #1 +0x2215c35 → #0 +0x23cf683.+0x2215c35is the watchdog thread decoded in #2469 (thegl0w's analysis: it fires when the main thread doesn't signal in time), and+0x23cf683is themov [0], constself-kill stub already on the crash-site map in #630 — the dword is a per-site tag for their crash pipeline, not a pointer.Your run-2 log shows the cause directly:
14:05:06—slow host submission ms=31724(one 31.7-second GPU submission),14:05:14—0.4 fps(2776 ms/frame), then the kill ~10 s later.That matches the ~30 s watchdog window seen in #630 (a kill 31 s after the trigger). During world entry the main thread produces multi-second frames — 178–838 MB of title-memory copies plus hundreds of
first bindpipeline creates per frame — and the watchdog treats that stall as a hang. Both your runs die at the same instruction because the watchdog thread's stack is deterministic.So this is a performance wall, not a correctness bug: on the console the same world-entry work finishes inside the window; on a host that hasn't warmed the world yet it doesn't. Things that shrink the stall are already in flight (#2427's dstorage/drive work cut cold launch 2.3×; the hoisted indirect clamps in #2472 target exactly the 700–1562 indirect calls/frame in your logs).
One experiment that would prove the mechanism end to end:
VICTORY_POKEthe watchdog byte thegl0w documented (+0x71b6330, diag build) — if the kill disappears or moves much later, the watchdog window is confirmed as the whole story and the remaining work is purely "make world entry faster".@Marvisak on GitHub · 2026-11-25 18:50 UTC · original
Automated triage for the maintainers.
Please do not post the title's code bytes or disassembly here, even a few instructions. Offsets and log lines are enough.
The fault is the title's own deliberate exit when progress stops. Its thread runs through
+0x2215c35, and #630 has the crash-site map for both addresses. #2351 ends at the same sibling site while entering the world. Your log points the same way: one host submission of about 31.7 s, then frames of about 2.8 s.This machine is well below what the world needs:
So the world is not expected to run on this card. The dropped draws without a host pipeline and the 137 refused compute pipelines follow from that, and from the partial pipeline library.
For the record, this ran on a branch with cherry-picked PRs (
bbe8770), not on main. The black--console series-spicture is a known gap (README, Series S mode).Generated by Claude Code