World load dies at 0xc0000005 in game code (+0x2215eca), same address on two independent layers #1464

Open
opened 2026-11-26 04:32:48 +00:00 by github-bot · 4 comments
Owner

@⁠bailu12300 on GitHub · 2026-11-24 18:13 UTC · original

What

The world load of the retail Xbox Series dump dies at 0xc0000005 inside 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.

result
menus, settings, legal notices fully correct (Chinese typeset, artwork, 30 fps, 66 draws)
world entry reaches it, 663 draws/frame, 5 fps
2K present presenting 2560x1440 fires
blinking gone (the eight 1440p candidates no longer alternate)
picture stable dark blue-grey, not lit colour
crash none over several minutes

Layer 2: a different compatibility layer, same dump

16906 draws with translated pipelines (0 skipped), 1024 dispatches (0 skipped), audio 429 Opus packets, 0 errors, then after the intro:

Game exited with code 0xc0000005 (3221225477)
thread ...: ntdll < KERNELBASE < game_scarlett_master.exe+0x22511f
           < game_scarlett_master.exe+0x25782e2 < +0x2578607 < **game_scarlett_master.exe+0x2215eca**

This repository's own stack shows the same frame:

victory-image-*.dll+0x221c29c < victory-image-*.dll+0x2215eca

(victory-image-*.dll here 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 +0x2215eca is (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:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/1464) ## What The world load of the retail Xbox Series dump dies at `0xc0000005` inside **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. | | result | |---|---| | menus, settings, legal notices | **fully correct** (Chinese typeset, artwork, 30 fps, 66 draws) | | world entry | reaches it, 663 draws/frame, 5 fps | | 2K present | `presenting 2560x1440` fires | | blinking | **gone** (the eight 1440p candidates no longer alternate) | | picture | stable dark blue-grey, not lit colour | | crash | none over several minutes | ## Layer 2: a different compatibility layer, same dump `16906 draws with translated pipelines (0 skipped), 1024 dispatches (0 skipped)`, audio `429 Opus packets, 0 errors`, then after the intro: ``` Game exited with code 0xc0000005 (3221225477) thread ...: ntdll < KERNELBASE < game_scarlett_master.exe+0x22511f < game_scarlett_master.exe+0x25782e2 < +0x2578607 < **game_scarlett_master.exe+0x2215eca** ``` This repository's own stack shows the same frame: ``` victory-image-*.dll+0x221c29c < victory-image-*.dll+0x2215eca ``` (`victory-image-*.dll` here 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 `+0x2215eca` is (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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:32:48 +00:00
Author
Owner

@⁠bailu12300 on GitHub · 2026-11-24 18:37 UTC · original

Second data point, from a tree built on shader/console-flow-lds (#439 head 28aca3b, plus the two Win10 D3D12SDK exports only, no other patches):

It goes further than any other tree, on the UI side

stage result
boot splash (art) correct colour for the first time, 30 fps / 33.3 ms / 6 draws
subtitle onboarding page complete: purple panel, arrows, 4 step dots, CONFIRMER (A) / RETOUR (B), 30 fps / 24 draws
LEGAL NOTICES page complete: body text, left item highlight, background art, 30 fps / 40 draws
Rockstar privacy + ToS page complete: checkbox interaction, greyed-out Confirmer logic, 30 fps / 61 draws
after confirming spinner, then black, 837 -> 3035 draws/frame, GPU 99%, RSS 21 GB
end 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:

Machad3x tree : victory-image-*.dll+0x2215eca
#439 tree     : +0x23cf683 < +0x2215c35 < +0x2215eca
other layer   : +0x22511f < +0x25782e2 < +0x2578607 < +0x2215eca

and this time the fault is a write to 0x0, previous ones were a read of 0xffffffffffffffff. Same caller.

What #439 itself refuses

console wave64 lanes in a group of more than 64 threads
on a host without 64-lane waves is not supported

Several compute shaders (GPU-driven culling / streaming) hit this and are dropped; 461 does not translate lines accumulated, plus dropped N/frame without a host pipeline at 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 threads is 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.

**@⁠bailu12300** on GitHub · 2026-11-24 18:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/1464#issuecomment-7140903324) Second data point, from a tree built on `shader/console-flow-lds` (#439 head `28aca3b`, plus the two Win10 `D3D12SDK` exports only, no other patches): ## It goes further than any other tree, on the UI side | stage | result | |---|---| | boot splash (art) | correct colour for the first time, 30 fps / 33.3 ms / 6 draws | | subtitle onboarding page | complete: purple panel, arrows, 4 step dots, CONFIRMER (A) / RETOUR (B), 30 fps / 24 draws | | LEGAL NOTICES page | complete: body text, left item highlight, background art, 30 fps / 40 draws | | Rockstar privacy + ToS page | complete: checkbox interaction, greyed-out Confirmer logic, 30 fps / 61 draws | | after confirming | spinner, then black, 837 -> 3035 draws/frame, GPU 99%, RSS 21 GB | | end | `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: ``` Machad3x tree : victory-image-*.dll+0x2215eca #439 tree : +0x23cf683 < +0x2215c35 < +0x2215eca other layer : +0x22511f < +0x25782e2 < +0x2578607 < +0x2215eca ``` and this time the fault is a **write to 0x0**, previous ones were a read of `0xffffffffffffffff`. Same caller. ## What #439 itself refuses ``` console wave64 lanes in a group of more than 64 threads on a host without 64-lane waves is not supported ``` Several compute shaders (GPU-driven culling / streaming) hit this and are dropped; 461 `does not translate` lines accumulated, plus `dropped N/frame without a host pipeline` at 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 threads` is 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.
Author
Owner

@⁠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:

  • TdrDelay/TdrDdiDelay raised to 60 s — this got us past the earlier 0x887A0006 world-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.
  • WARP diag build also dies, but with 0x887A0005 (device suspended) — possibly session-related, less informative.

Crash (after several minutes in-world, dark scene, draws being dropped for untranslated shaders):

VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there)
  #0  victory-image-b99f876b74d4a77f.dll+0x23cf683
  #1  victory-image-b99f876b74d4a77f.dll+0x2215c35
  #2  victory-image-b99f876b74d4a77f.dll+0x2215eca

Same +0x2215eca return address as reported above. I disassembled the fault site: +0x23cf683 is mov dword ptr [0], 0x4d8bd421, reached only when cmp byte ptr [rsp+0x34], 1 fails — 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 one a 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.

**@⁠brunomrtns** on GitHub · 2026-11-24 19:01 UTC · [original](https://github.com/Marvisak/VIctory/issues/1464#issuecomment-7141477925) Another data point on the same fault, RTX 3060 12 GB / Windows 11, release build @ ffe310e, retail 1.0.2.1 dump. Environment notes: - TdrDelay/TdrDdiDelay raised to 60 s — this got us *past* the earlier `0x887A0006` world-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. - WARP diag build also dies, but with `0x887A0005` (device suspended) — possibly session-related, less informative. Crash (after several minutes in-world, dark scene, draws being dropped for untranslated shaders): ``` VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there) #0 victory-image-b99f876b74d4a77f.dll+0x23cf683 #1 victory-image-b99f876b74d4a77f.dll+0x2215c35 #2 victory-image-b99f876b74d4a77f.dll+0x2215eca ``` Same `+0x2215eca` return address as reported above. I disassembled the fault site: `+0x23cf683` is `mov dword ptr [0], 0x4d8bd421`, reached only when `cmp byte ptr [rsp+0x34], 1` fails — 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 one `a 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.
Author
Owner

@⁠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 image b99f876b… (base 0x140000000):

+0x2215ea0  push rsi / sub rsp,20h
            mov  rdx,gs:[58h]                 ; TLS
            mov  rax,[rcx+10h]
            mov  rcx,[rdx] / mov [rcx+410h],rax
            call +0x43a42e0
            mov  rcx,[rsi+8]                  ; the thread's argument
            call qword ptr [rsi]              ; the thread's function
+0x2215eca  call +0x4de8620                   ; <- return address: cleanup after the thread function returns
            ...

The frames above it differ between your two stacks, and neither looks like the fault:

  • Second layer: +0x2578607 follows call [rax+10h] (a thread object's run method). +0x25782e2 follows call +0x225110 with edx = 7D0h. +0x22511f follows call [+0x6793b20], which is WaitForSingleObject with a 2,000 ms timeout. Then KERNELBASE and ntdll. 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.
  • VIctory: +0x221c29c follows call 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 (#0 and 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…#5 frames from crashes.log? The #0 address 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.

**@⁠AgneyaK** on GitHub · 2026-11-25 05:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/1464#issuecomment-7153741030) 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 image `b99f876b…` (base `0x140000000`): ``` +0x2215ea0 push rsi / sub rsp,20h mov rdx,gs:[58h] ; TLS mov rax,[rcx+10h] mov rcx,[rdx] / mov [rcx+410h],rax call +0x43a42e0 mov rcx,[rsi+8] ; the thread's argument call qword ptr [rsi] ; the thread's function +0x2215eca call +0x4de8620 ; <- return address: cleanup after the thread function returns ... ``` The frames above it differ between your two stacks, and neither looks like the fault: - **Second layer:** `+0x2578607` follows `call [rax+10h]` (a thread object's run method). `+0x25782e2` follows `call +0x225110` with `edx = 7D0h`. `+0x22511f` follows `call [+0x6793b20]`, which is **`WaitForSingleObject`** with a 2,000 ms timeout. Then `KERNELBASE` and `ntdll`. 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. - **VIctory:** `+0x221c29c` follows `call 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` (`#0` and 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`…`#5` frames from `crashes.log`? The `#0` address 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.
Author
Owner

@⁠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 at 28aca3b). 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: +0x2215eca is 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

**@⁠Marvisak** on GitHub · 2026-11-25 10:19 UTC · [original](https://github.com/Marvisak/VIctory/issues/1464#issuecomment-7159542887) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T05:24:32Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Thanks for the runs (RTX 5060 8 GB, Windows 10 19045; a fork tree at `31f4a19`, and #439 at `28aca3b`). 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: `+0x2215eca` is 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](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#1464
No description provided.