World load dies at 0xc0000005 in game code (+0x2215eca), same address on two independent layers #1464
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#1464
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?
@bailu12300 on GitHub · 2026-11-24 18:13 UTC · original
What
The world load of the retail Xbox Series dump dies at
0xc0000005inside game code, and the address is the same when a second, independent layer runs the same dump.Hardware / OS
RTX 5060 8 GB (7896 MiB VRAM), Windows 10 19045, 32 GB RAM, i5-14490F.
Layer 1: this repository (Machad3x tree, 31f4a19)
Hand-merged on top: #902's
mirror()out-of-bounds degradation and a 2K present fallback whose candidate is locked by index.presenting 2560x1440firesLayer 2: a different compatibility layer, same dump
16906 draws with translated pipelines (0 skipped), 1024 dispatches (0 skipped), audio429 Opus packets, 0 errors, then after the intro:This repository's own stack shows the same frame:
(
victory-image-*.dllhere is the mapped module of the same title image.)Reading
Two unrelated implementations of the console stack stop at the same function in the title, so this looks title-side rather than a translation gap: the world-load path reaches a call that returns a bad pointer (the first-chance exception reads
0xffffffffffffffff, i.e. -1) and the title dereferences it.One observation that may matter: with no Xbox Live the title logs
XUser: token ... no Xbox Live (0x80072EFD). The crash sits right where the world finishes loading, which is where social / session / online init would run.Ask
Does anyone know what
+0x2215ecais (is it the online/session or PLS path), and is the -1 return from a missing service something that can be answered with a valid stub instead of a failure? If that is the blocker, it is the last one between "menus" and "gameplay" on this hardware.@bailu12300 on GitHub · 2026-11-24 18:37 UTC · original
Second data point, from a tree built on
shader/console-flow-lds(#439 head28aca3b, plus the two Win10D3D12SDKexports only, no other patches):It goes further than any other tree, on the UI side
first-chance 0xc0000005 at ...+0x23cf683 (write 0x0: nothing mapped there), stack+0x23cf683 < +0x2215c35 < **+0x2215eca**So the crash address is now confirmed on three independent implementations:
and this time the fault is a write to 0x0, previous ones were a read of
0xffffffffffffffff. Same caller.What #439 itself refuses
Several compute shaders (GPU-driven culling / streaming) hit this and are dropped; 461
does not translatelines accumulated, plusdropped N/frame without a host pipelineat 12-17 per shader, per frame. Which means the world is built with those compute passes missing, and that lands exactly on the null write above.Why I think these two are one problem
console wave64 lanes in a group of more than 64 threadsis the compute counterpart of what #439 already does for mesh. On a 32-lane host the group must be split and the shared LDS kept coherent across the two halves; without that the pass is refused rather than emulated. The title then loads its world against buffers that were never filled, and dies writing through a pointer that pass was meant to publish.So the remaining question is not "which layer", it is: can the console-flow emulation be extended to compute groups above 64 threads on 32-lane hosts? If yes, this is likely the last blocker before gameplay on NVIDIA hardware.
@brunomrtns on GitHub · 2026-11-24 19:01 UTC · original
Another data point on the same fault, RTX 3060 12 GB / Windows 11, release build @
ffe310e, retail 1.0.2.1 dump.Environment notes:
0x887A0006world-entry hang entirely. Previous runs died at 27-29 command lists; with the raised TDR the world ran for minutes (host submissions ~0.5-1.2 s) before dying here instead.0x887A0005(device suspended) — possibly session-related, less informative.Crash (after several minutes in-world, dark scene, draws being dropped for untranslated shaders):
Same
+0x2215ecareturn address as reported above. I disassembled the fault site:+0x23cf683ismov dword ptr [0], 0x4d8bd421, reached only whencmp byte ptr [rsp+0x34], 1fails — i.e. a deliberate fatal-error write to null, not an accidental dereference. So whatever check feeds[rsp+0x34]is the real failure; the crash site itself is just the RAGE fatal handler.Preceding log is dominated by dropped draws from untranslated compute/mesh shaders (
a select on an untracked mask,a descriptor read only as data,a 64-bit image atomic,a scalar memory read as data) and onea draw or dispatch dropped: no dynamic slots for its tables dropped=32768. If the assert is downstream of missing world buffers, shader coverage may be the trigger — but I can't prove that from here.@AgneyaK on GitHub · 2026-11-25 05:24 UTC · original
On "what is
+0x2215eca": it's the title's thread-start trampoline, so it's the bottom frame of every thread the title creates. It doesn't belong to any one subsystem, and two layers sharing that frame only says "a title thread". Decoded from imageb99f876b…(base0x140000000):The frames above it differ between your two stacks, and neither looks like the fault:
+0x2578607followscall [rax+10h](a thread object's run method).+0x25782e2followscall +0x225110withedx = 7D0h.+0x22511ffollowscall [+0x6793b20], which isWaitForSingleObjectwith a 2,000 ms timeout. ThenKERNELBASEandntdll. So that thread was waiting on a handle when the process died. It's most likely one thread's stack printed at exit, not the thread that faulted.+0x221c29cfollowscall qword ptr [rbx]inside a loop, a dispatcher calling a job's function. The fault is in whatever that job called, so it's in the frames above#1(#0and the fault address).So the "same function in two layers" argument doesn't hold, and the -1 read happened somewhere else. Could you post the
unhandled exception 0xc0000005 at …+0x…line with its#0…#5frames fromcrashes.log? The#0address is the one to decode.AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and wrote this; no game data beyond addresses and instructions.
@Marvisak on GitHub · 2026-11-25 10:19 UTC · original
Automated triage for the maintainers.
Thanks for the runs (RTX 5060 8 GB, Windows 10 19045; a fork tree at
31f4a19, and #439 at28aca3b). The #439 run ends in the stop seen in #1323 and others: an access violation writing 0 at+0x23cf683, reached from a title thread. It is discussed in #1118, the oldest report of it; #1232 has the most controlled runs. There it followed long GPU submissions and did not happen once those got shorter.On your question, @AgneyaK's answer above holds:
+0x2215ecais the bottom frame shared by the title's threads, so two stacks sharing it don't point to one subsystem. Nothing here ties the stop to the missing Xbox Live service. The 32-lane refusals in #439 (console wave64 lanes in a group of more than 64 threads) belong in that pull request's review.Please don't post disassembly of the title's code in this repository; addresses and log lines are enough.
Missing for a complete report: the GPU driver version.
Generated by Claude Code