Lab 39 (5de296d): crash in the credits ~8:45 after start, 0x80000003 in victory-image dll (RX 6900 XT, Win10) #39

Open
opened 2026-11-26 05:53:16 +00:00 by github-bot · 3 comments
Owner

@⁠BlackBu7let on GitHub · 2026-11-25 19:52 UTC · original

Test report for Lab 39 (beta, 5de296d), standard mode (no Series S, no FSR, frame generation off). Build and pre-build (translate --cache --pipelines) finished before the run.

System: AMD Ryzen 5 3600 (6C/12T), AMD Radeon RX 6900 XT 16 GB (driver 32.0.21045.29003), 32 GB RAM (4 modules, running at 2133 MT/s), ASUS TUF B450-PLUS GAMING, Windows 10 Pro build 19045, SATA SSD (game and cache), pagefile 4.5 GB on C: and 32 GB on E:.

Crash

VIctory: unhandled exception 0x80000003 (breakpoint) at victory-image-b99f876b74d4a77f.dll+0x5149aec, 20:45:04, 8:45 min after start, in the credits.

  • Not a GPU device loss. There is no DRED line and no error line before it. The last stats line was ~23 s earlier, with only the usual warnings (213x "a texture picked by index changed after its upload ... uploaded again", 29x "a pipeline creation method that is not implemented").
  • Call chain (module offsets): +0x5149aec <- +0xa5db22 <- +0x5453ac7 <- +0x23d0f9a <- +0x23d1211 <- +0x257035e <- +0x221c29c <- +0x2215eca <- kernel32 / ntdll. Several threads showed similar registers (rax 0xed30001fffe, r8 0xffffffff00000000).
  • RAM use was 17.2 GB. The crash log itself is written to the title's t: drive, so only the part echoed to stderr is available to me.
  • The same credits scene ran through in your Lab 35 (74315e7) on the same card without a crash.

Question: is 0x80000003 a guest assertion, or a stop the translator emits for something unsupported? If you can map +0x5149aec to a function, that would help. I can rerun to check whether it reproduces.

Launch settings: skip file for pipeline 39f0e9aeb156a61c (hangs the RDNA2 driver), VICTORY_LATE_WAIT=0, VICTORY_CARD_BUFFERS=0, VICTORY_WIDE_BACK=1, VICTORY_SHADER_OPT=0, VICTORY_PIPELINE_WAIT_MS=24, VICTORY_RELAY_COPY_QUEUE=0, D3D12_DRED=1. Frame generation off.

What was visible (my notes, local time)

  • 20:36 intro. 20:37-20:39 in the game's settings menu (nothing changed).
  • 20:39 car scene: street and car loading, Lucia's face black, buildings invisible at first. 20:40: clothing textures present (in Lab 35 they were missing in the intro), officer NPC face missing, Jason's face black, then buildings, palms and environment loaded, then Lucia's and Jason's faces loaded.
  • 20:41 new street scene: street black, more buildings not loaded yet.
  • 20:42 credits: buildings load slowly, Lucia and Jason loaded, living room scene complete. 20:43 city scene partly loaded. 20:44 credits load much slower, bodies look pixelated. 20:45 crash.

FPS per scene (from the 5 s stats lines, scene boundaries by my notes, about a minute accurate)

Scene Samples FPS min / median / max ms/frame median
Intro 11 29.7 / 30 / 30.3 33.3
Settings menu 20 0.3 / 30 / 30.9 33.3
Car/street 30 0.3 / 0.4 / 0.6 2812
Credits 29 0.2 / 0.6 / 0.7 1809

The 30 fps in the intro and menu is a very light load (2-12 draws per frame). In the 3D scenes it drops below 1 fps. In the credits the log shows ~10,000 texture refreshes per frame (~7.5 GB copied per frame by the counter) while the card is only about 13% busy.

Lab39_FPS_frame_report_20261125_en_1.csv

**@⁠BlackBu7let** on GitHub · 2026-11-25 19:52 UTC · [original](https://github.com/PastiiJay/klbf-lab/issues/39) Test report for Lab 39 (`beta`, 5de296d), standard mode (no Series S, no FSR, frame generation off). Build and pre-build (translate --cache --pipelines) finished before the run. **System:** AMD Ryzen 5 3600 (6C/12T), AMD Radeon RX 6900 XT 16 GB (driver 32.0.21045.29003), 32 GB RAM (4 modules, running at 2133 MT/s), ASUS TUF B450-PLUS GAMING, Windows 10 Pro build 19045, SATA SSD (game and cache), pagefile 4.5 GB on C: and 32 GB on E:. **Crash** `VIctory: unhandled exception 0x80000003` (breakpoint) at `victory-image-b99f876b74d4a77f.dll+0x5149aec`, 20:45:04, 8:45 min after start, in the credits. - Not a GPU device loss. There is no DRED line and no error line before it. The last stats line was ~23 s earlier, with only the usual warnings (213x "a texture picked by index changed after its upload ... uploaded again", 29x "a pipeline creation method that is not implemented"). - Call chain (module offsets): `+0x5149aec` <- `+0xa5db22` <- `+0x5453ac7` <- `+0x23d0f9a` <- `+0x23d1211` <- `+0x257035e` <- `+0x221c29c` <- `+0x2215eca` <- kernel32 / ntdll. Several threads showed similar registers (rax 0xed30001fffe, r8 0xffffffff00000000). - RAM use was 17.2 GB. The crash log itself is written to the title's `t:` drive, so only the part echoed to stderr is available to me. - The same credits scene ran through in your Lab 35 (74315e7) on the same card without a crash. Question: is `0x80000003` a guest assertion, or a stop the translator emits for something unsupported? If you can map `+0x5149aec` to a function, that would help. I can rerun to check whether it reproduces. **Launch settings:** skip file for pipeline 39f0e9aeb156a61c (hangs the RDNA2 driver), `VICTORY_LATE_WAIT=0`, `VICTORY_CARD_BUFFERS=0`, `VICTORY_WIDE_BACK=1`, `VICTORY_SHADER_OPT=0`, `VICTORY_PIPELINE_WAIT_MS=24`, `VICTORY_RELAY_COPY_QUEUE=0`, `D3D12_DRED=1`. Frame generation off. **What was visible (my notes, local time)** - 20:36 intro. 20:37-20:39 in the game's settings menu (nothing changed). - 20:39 car scene: street and car loading, Lucia's face black, buildings invisible at first. 20:40: clothing textures present (in Lab 35 they were missing in the intro), officer NPC face missing, Jason's face black, then buildings, palms and environment loaded, then Lucia's and Jason's faces loaded. - 20:41 new street scene: street black, more buildings not loaded yet. - 20:42 credits: buildings load slowly, Lucia and Jason loaded, living room scene complete. 20:43 city scene partly loaded. 20:44 credits load much slower, bodies look pixelated. 20:45 crash. **FPS per scene (from the 5 s stats lines, scene boundaries by my notes, about a minute accurate)** | Scene | Samples | FPS min / median / max | ms/frame median | |---|---|---|---| | Intro | 11 | 29.7 / 30 / 30.3 | 33.3 | | Settings menu | 20 | 0.3 / 30 / 30.9 | 33.3 | | Car/street | 30 | 0.3 / 0.4 / 0.6 | 2812 | | Credits | 29 | 0.2 / 0.6 / 0.7 | 1809 | The 30 fps in the intro and menu is a very light load (2-12 draws per frame). In the 3D scenes it drops below 1 fps. In the credits the log shows ~10,000 texture refreshes per frame (~7.5 GB copied per frame by the counter) while the card is only about 13% busy. [Lab39_FPS_frame_report_20261125_en_1.csv](https://github.com/user-attachments/files/35431496/Lab39_FPS_frame_report_20261125_en_1.csv)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:53:16 +00:00
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 19:59 UTC · original

Thanks a lot @⁠BlackBu7let for the precise report! A 0x80000003 (breakpoint) inside the title's own code, with no device loss before it, matches a known case: the title hits a debug breakpoint when one of its memory pools runs out. Upstream has a fix for exactly that: Marvisak/VIctory PR #2644 by Pierrot1398 (approach by slauko in issue #698), switch VICTORY_STEP_OVER, which steps over that breakpoint. @⁠zocram4cc already uses it in his build. I'm adding it to our test queue on Lab 39. Your report gives us the exact moment (credits, ~8:45) to check it against.

**@⁠PastiiJay** on GitHub · 2026-11-25 19:59 UTC · [original](https://github.com/PastiiJay/klbf-lab/issues/39#issuecomment-7173024824) Thanks a lot @⁠BlackBu7let for the precise report! A `0x80000003` (breakpoint) inside the title's own code, with no device loss before it, matches a known case: the title hits a debug breakpoint when one of its memory pools runs out. Upstream has a fix for exactly that: Marvisak/VIctory PR #2644 by Pierrot1398 (approach by slauko in issue #698), switch `VICTORY_STEP_OVER`, which steps over that breakpoint. @⁠zocram4cc already uses it in his build. I'm adding it to our test queue on Lab 39. Your report gives us the exact moment (credits, ~8:45) to check it against.
Author
Owner

@⁠BlackBu7let on GitHub · 2026-11-25 20:40 UTC · original

Thanks, tested with VICTORY_STEP_OVER. Short version: it fixes the stop. The same build ran 30:27 (until I closed it), through the credits, the bar and into the cell, with no crash.

Reproduction first (without the switch): a second run of the same Lab 39 build crashed again at the same place: 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x5149aec, 21:02:09, 7:09 after start, in the credits. The log has several first-chance exception 0x80000003 at ...+0x5149aec lines before the unhandled one, so the trap is hit repeatedly and only sometimes caught. That fits an allocator trap on a full pool.

Test build: Lab 39 (5de296d) + the crash.rs change of Marvisak/VIctory#2644. The patch did not apply by itself to Lab 39's crash.rs (lines have moved), so I ported the same code by hand: step_over plus its hook after emulate_amd_only, diagnostics feature only. VICTORY_STEP_OVER=63966f,5149aec. Everything else as in my first report (same skip file, same switches, frame generation off). Same machine as in the issue (RX 6900 XT 16 GB, Ryzen 5 3600, 32 GB RAM, Windows 10).

Log:

20:16:17.904925Z WARN victory_loader::crash: stepped over the title's breakpoint (VICTORY_STEP_OVER): ... offset=0x5149aec n=1
... n=2, n=3, n=4, n=8, n=16, n=32, n=64, n=128, n=256 (all within 10 ms)
20:16:19.852483Z WARN victory_loader::crash: stepped over the title's breakpoint (VICTORY_STEP_OVER): ... offset=0x5149aec n=512

(UTC log time, 21:16:17 local = 7:33 after start, in the credits.) The log prints the first three hits and powers of two, so there were at least 512 and fewer than 1024 hits at +0x5149aec, nearly all in the first two seconds. +0x63966f never showed up. No unhandled exception and no DRED line in the whole log. Other warnings: 246x "a texture picked by index changed after its upload ... uploaded again", 29x "a pipeline creation method that is not implemented".

What I saw after the credits (my notes, local time):

  • Bar (21:21-21:22): Lucia's eyes white, walls not loaded, NPCs first untextured dummies, then HD textures but black faces.
  • Cell (from 21:23): first all white and pale, then window pane, outside environment, wall and window frame, Lucia's clothes, hair and face. At 21:26 walls, doors, ceiling and floor were all there. At 21:28 NPC faces and clothes were fine. Props and beds loaded, but the props are still purple.
  • In my earlier Lab 35 runs the cell never got floor, ceiling or door.
  • World scenes before the bar: buildings appeared and disappeared again several times. Sound dropped out at 21:11 and was gone at 21:15.

FPS (5 s stats lines, 321 samples, scene boundaries by my notes, about a minute accurate):

Scene Samples FPS min / median / max ms/frame median
Intro 12 0.7 / 30 / 30 33.6
Car/street 29 0.1 / 0.3 / 1.0 2939
Credits/world scenes 41 0.4 / 0.5 / 0.8 1825
Bar 64 0.3 / 0.6 / 0.7 1785
Cell 175 0.4 / 0.6 / 0.6 1781

So the speed did not change: about 0.6 fps in the cell, with the card mostly idle.

Caveats: as the PR says, this steps around the stop and does not make the pool bigger, so I can't tell yet how much of the purple props or the white bar eyes comes from allocations that now return NULL. If you can tell which pool it is and whether its limit can be raised, I can test that.

Lab39_StepOver_FPS_frame_report_20261125_en_1.csv

**@⁠BlackBu7let** on GitHub · 2026-11-25 20:40 UTC · [original](https://github.com/PastiiJay/klbf-lab/issues/39#issuecomment-7174021433) Thanks, tested with `VICTORY_STEP_OVER`. Short version: **it fixes the stop. The same build ran 30:27 (until I closed it), through the credits, the bar and into the cell, with no crash.** **Reproduction first (without the switch):** a second run of the same Lab 39 build crashed again at the same place: `0x80000003` at `victory-image-b99f876b74d4a77f.dll+0x5149aec`, 21:02:09, 7:09 after start, in the credits. The log has several `first-chance exception 0x80000003 at ...+0x5149aec` lines before the unhandled one, so the trap is hit repeatedly and only sometimes caught. That fits an allocator trap on a full pool. **Test build:** Lab 39 (5de296d) + the `crash.rs` change of Marvisak/VIctory#2644. The patch did not apply by itself to Lab 39's `crash.rs` (lines have moved), so I ported the same code by hand: `step_over` plus its hook after `emulate_amd_only`, `diagnostics` feature only. `VICTORY_STEP_OVER=63966f,5149aec`. Everything else as in my first report (same skip file, same switches, frame generation off). Same machine as in the issue (RX 6900 XT 16 GB, Ryzen 5 3600, 32 GB RAM, Windows 10). **Log:** ``` 20:16:17.904925Z WARN victory_loader::crash: stepped over the title's breakpoint (VICTORY_STEP_OVER): ... offset=0x5149aec n=1 ... n=2, n=3, n=4, n=8, n=16, n=32, n=64, n=128, n=256 (all within 10 ms) 20:16:19.852483Z WARN victory_loader::crash: stepped over the title's breakpoint (VICTORY_STEP_OVER): ... offset=0x5149aec n=512 ``` (UTC log time, 21:16:17 local = 7:33 after start, in the credits.) The log prints the first three hits and powers of two, so there were at least 512 and fewer than 1024 hits at `+0x5149aec`, nearly all in the first two seconds. `+0x63966f` never showed up. No `unhandled exception` and no DRED line in the whole log. Other warnings: 246x "a texture picked by index changed after its upload ... uploaded again", 29x "a pipeline creation method that is not implemented". **What I saw after the credits (my notes, local time):** - Bar (21:21-21:22): Lucia's eyes white, walls not loaded, NPCs first untextured dummies, then HD textures but black faces. - Cell (from 21:23): first all white and pale, then window pane, outside environment, wall and window frame, Lucia's clothes, hair and face. At 21:26 walls, doors, ceiling and floor were all there. At 21:28 NPC faces and clothes were fine. Props and beds loaded, but the props are still purple. - In my earlier Lab 35 runs the cell never got floor, ceiling or door. - World scenes before the bar: buildings appeared and disappeared again several times. Sound dropped out at 21:11 and was gone at 21:15. **FPS (5 s stats lines, 321 samples, scene boundaries by my notes, about a minute accurate):** | Scene | Samples | FPS min / median / max | ms/frame median | |---|---|---|---| | Intro | 12 | 0.7 / 30 / 30 | 33.6 | | Car/street | 29 | 0.1 / 0.3 / 1.0 | 2939 | | Credits/world scenes | 41 | 0.4 / 0.5 / 0.8 | 1825 | | Bar | 64 | 0.3 / 0.6 / 0.7 | 1785 | | Cell | 175 | 0.4 / 0.6 / 0.6 | 1781 | So the speed did not change: about 0.6 fps in the cell, with the card mostly idle. Caveats: as the PR says, this steps around the stop and does not make the pool bigger, so I can't tell yet how much of the purple props or the white bar eyes comes from allocations that now return NULL. If you can tell which pool it is and whether its limit can be raised, I can test that. [Lab39_StepOver_FPS_frame_report_20261125_en_1.csv](https://github.com/user-attachments/files/35433032/Lab39_StepOver_FPS_frame_report_20261125_en_1.csv)
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 20:42 UTC · original

Thank you @⁠BlackBu7let, this is a great report: a reproduction without the switch, the fix with it, 30:27 through the credits, the bar and into the cell, plus a per-scene fps table.

Your 512+ hits at +0x5149aec in two seconds match what you guessed: the game keeps asking a full pool for memory. We don't know yet which pool it is, so I won't promise a bigger limit tonight. When we find it, you'll be the first one we ask to test.

Good news for the next build: VICTORY_STEP_OVER (from @⁠Pierrot1398's Marvisak/VIctory#2644, approach by @⁠slauko) is now in our normal release builds, off unless you set it. No diagnostics feature and no hand port needed. It will be in the next test build, and your report is credited for the Windows 10 / RX 6900 XT confirmation.

The 0.6 fps with the card mostly idle on your 6900 XT is noted. That is a much bigger gap than we see on RDNA 4, so your CSV goes on our list for the CPU-side work.

**@⁠PastiiJay** on GitHub · 2026-11-25 20:42 UTC · [original](https://github.com/PastiiJay/klbf-lab/issues/39#issuecomment-7174082600) Thank you @⁠BlackBu7let, this is a great report: a reproduction without the switch, the fix with it, 30:27 through the credits, the bar and into the cell, plus a per-scene fps table. Your 512+ hits at `+0x5149aec` in two seconds match what you guessed: the game keeps asking a full pool for memory. We don't know yet which pool it is, so I won't promise a bigger limit tonight. When we find it, you'll be the first one we ask to test. Good news for the next build: `VICTORY_STEP_OVER` (from @⁠Pierrot1398's Marvisak/VIctory#2644, approach by @⁠slauko) is now in our normal release builds, off unless you set it. No `diagnostics` feature and no hand port needed. It will be in the next test build, and your report is credited for the Windows 10 / RX 6900 XT confirmation. The 0.6 fps with the card mostly idle on your 6900 XT is noted. That is a much bigger gap than we see on RDNA 4, so your CSV goes on our list for the CPU-side work.
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/PastiiJay--klbf-lab#39
No description provided.