AMD RX 9070 XT (RDNA 4): Unhandled 0xc0000005 (read 0x8) crash in amdxc64.dll+0x861b9f during host pipeline creation #145

Open
opened 2026-11-26 03:36:54 +00:00 by github-bot · 7 comments
Owner

@⁠belttroll-lab on GitHub · 2026-11-24 21:50 UTC · original

Summary

On an AMD Radeon RX 9070 XT (RDNA 4), victory-fork consistently crashes with an unhandled access violation (0xc0000005, read 0x8: nothing mapped there) inside amdxc64.dll+0x861b9f during host pipeline compilation.

The crash is 100% reproducible at the exact same driver offset across:

  • Default release build (Series X profile)
  • Series S profile (--console series-s)
  • With and without VICTORY_RELAY=2
  • diag build (--features diagnostics) with VICTORY_D3D12_DEBUG=1

Notably, no D3D12 ERROR or D3D12 CORRUPTION messages are emitted by the D3D12 debug layer before the crash. Because pipeline compilation runs asynchronously on worker threads, the crash occurs around frame=47 in release builds and around frame=152 in diag builds, always hitting the exact same null-pointer dereference inside amdxc64.dll.

(In a separate run, no upload buffer with 0x887A0005 / DXGI_ERROR_DEVICE_REMOVED was also observed.)

Environment

  • OS: Windows 11 x64
  • GPU: AMD Radeon RX 9070 XT (RDNA 4)
  • AMD Driver: [latest 11.18.2026]
  • CPU: Intel Core i5-14600K
  • RAM: 32 GB ddr4
  • Build: fxceless/victory-fork (main), tested on both release and diag (--features diagnostics)

Crash & Stack Trace

Victory: first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)
#0  amdxc64.dll+0x861b9f
#1  amdxc64.dll+0x957eba
#2  amdxc64.dll+0x959456
#3  amdxc64.dll+0x957814
#4  amdxc64.dll+0x864d5d
#5  amdxc64.dll+0x955d16
...
#29 D3D12Core.dll+0x5b6d9
#30 D3D12Core.dll+0x5b3a7
#31 D3D12Core.dll+0x52f69
#32 D3D12Core.dll+0x52b18
#33 D3D12Core.dll+0x7bce7
#34 D3D12Core.dll+0x511eb
#35 d3d12.dll+0x1707
#36 D3D12Core.dll+0x1e296
#37 D3D12Core.dll+0x7ad0c
#38 victory.exe+0x21f8c2
#39 victory.exe+0x199e62
Victory: unhandled exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)

Shader / Pipeline Context Before Crash
In the release run, the last host pipeline that succeeded was compute d4343b9a6e4f2717. Immediately after, the following batch of compute shaders (user_data=4 samplers=7) was translated and queued, and none of them completed host pipeline creation before amdxc64.dll crashed:


INFO victory_gpu::pipeline: shader translated stage="compute" hash=d6e3a104264dd4c6 user_data=4 samplers=7
INFO victory_gpu::pipeline: shader translated stage="compute" hash=1512b6b81c4072ed user_data=4 samplers=7
INFO victory_gpu::pipeline: shader translated stage="compute" hash=a1266cc7391ae0d6 user_data=4 samplers=7
INFO victory_gpu::pipeline: shader translated stage="compute" hash=dd18ab2b9c21b361 user_data=4 samplers=7
INFO victory_gpu::pipeline: shader translated stage="compute" hash=2def80b5a6667abc user_data=4 samplers=7
INFO victory_gpu::pipeline: shader translated stage="compute" hash=a73284b60aa303ed user_data=4 samplers=7
INFO victory_gpu::pipeline: shader translated stage="compute" hash=0a12de46c4d5db08 user_data=4 samplers=7
INFO victory_gpu::pipeline: first bind pipeline=0xd65e6cd0 frame=47 stage="compute" size=8332 hash=052a2316a03b9ba1
In the diag run with VICTORY_D3D12_DEBUG=1, the last log lines right before the exact same amdxc64.dll+0x861b9f crash were:


INFO victory_gpu::pipeline: first bind pipeline=0xd33fa060 frame=150 stage="vertex" size=1404 hash=571fe570756bc293
INFO victory_gpu::pipeline: first bind pipeline=0xd33fa060 frame=150 stage="pixel" size=1308 hash=02c8cf86ca283ce1
INFO victory_gpu::pipeline: first bind pipeline=0xd31c2f40 frame=152 stage="vertex" size=1656 hash=d186c341488178de
INFO victory_gpu::pipeline: first bind pipeline=0xd31c2f40 frame=152 stage="pixel" size=1308 hash=e370f802fa0d85b2
**@⁠belttroll-lab** on GitHub · 2026-11-24 21:50 UTC · [original](https://github.com/fxceless/victory-fork/issues/145) ### Summary On an AMD Radeon RX 9070 XT (RDNA 4), `victory-fork` consistently crashes with an unhandled access violation (`0xc0000005`, `read 0x8: nothing mapped there`) inside `amdxc64.dll+0x861b9f` during host pipeline compilation. The crash is 100% reproducible at the exact same driver offset across: - Default `release` build (Series X profile) - Series S profile (`--console series-s`) - With and without `VICTORY_RELAY=2` - `diag` build (`--features diagnostics`) with `VICTORY_D3D12_DEBUG=1` Notably, **no `D3D12 ERROR` or `D3D12 CORRUPTION` messages** are emitted by the D3D12 debug layer before the crash. Because pipeline compilation runs asynchronously on worker threads, the crash occurs around `frame=47` in release builds and around `frame=152` in diag builds, always hitting the exact same null-pointer dereference inside `amdxc64.dll`. *(In a separate run, `no upload buffer` with `0x887A0005` / `DXGI_ERROR_DEVICE_REMOVED` was also observed.)* ### Environment - **OS:** Windows 11 x64 - **GPU:** AMD Radeon RX 9070 XT (RDNA 4) - **AMD Driver:** [latest 11.18.2026] - **CPU:** Intel Core i5-14600K - **RAM:** 32 GB ddr4 - **Build:** `fxceless/victory-fork` (`main`), tested on both `release` and `diag` (`--features diagnostics`) ### Crash & Stack Trace ```text Victory: first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there) #0 amdxc64.dll+0x861b9f #1 amdxc64.dll+0x957eba #2 amdxc64.dll+0x959456 #3 amdxc64.dll+0x957814 #4 amdxc64.dll+0x864d5d #5 amdxc64.dll+0x955d16 ... #29 D3D12Core.dll+0x5b6d9 #30 D3D12Core.dll+0x5b3a7 #31 D3D12Core.dll+0x52f69 #32 D3D12Core.dll+0x52b18 #33 D3D12Core.dll+0x7bce7 #34 D3D12Core.dll+0x511eb #35 d3d12.dll+0x1707 #36 D3D12Core.dll+0x1e296 #37 D3D12Core.dll+0x7ad0c #38 victory.exe+0x21f8c2 #39 victory.exe+0x199e62 Victory: unhandled exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there) Shader / Pipeline Context Before Crash In the release run, the last host pipeline that succeeded was compute d4343b9a6e4f2717. Immediately after, the following batch of compute shaders (user_data=4 samplers=7) was translated and queued, and none of them completed host pipeline creation before amdxc64.dll crashed: INFO victory_gpu::pipeline: shader translated stage="compute" hash=d6e3a104264dd4c6 user_data=4 samplers=7 INFO victory_gpu::pipeline: shader translated stage="compute" hash=1512b6b81c4072ed user_data=4 samplers=7 INFO victory_gpu::pipeline: shader translated stage="compute" hash=a1266cc7391ae0d6 user_data=4 samplers=7 INFO victory_gpu::pipeline: shader translated stage="compute" hash=dd18ab2b9c21b361 user_data=4 samplers=7 INFO victory_gpu::pipeline: shader translated stage="compute" hash=2def80b5a6667abc user_data=4 samplers=7 INFO victory_gpu::pipeline: shader translated stage="compute" hash=a73284b60aa303ed user_data=4 samplers=7 INFO victory_gpu::pipeline: shader translated stage="compute" hash=0a12de46c4d5db08 user_data=4 samplers=7 INFO victory_gpu::pipeline: first bind pipeline=0xd65e6cd0 frame=47 stage="compute" size=8332 hash=052a2316a03b9ba1 In the diag run with VICTORY_D3D12_DEBUG=1, the last log lines right before the exact same amdxc64.dll+0x861b9f crash were: INFO victory_gpu::pipeline: first bind pipeline=0xd33fa060 frame=150 stage="vertex" size=1404 hash=571fe570756bc293 INFO victory_gpu::pipeline: first bind pipeline=0xd33fa060 frame=150 stage="pixel" size=1308 hash=02c8cf86ca283ce1 INFO victory_gpu::pipeline: first bind pipeline=0xd31c2f40 frame=152 stage="vertex" size=1656 hash=d186c341488178de INFO victory_gpu::pipeline: first bind pipeline=0xd31c2f40 frame=152 stage="pixel" size=1308 hash=e370f802fa0d85b2
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:36:54 +00:00
Author
Owner

@⁠hashdev512 on GitHub · 2026-11-24 21:58 UTC · original

Same card (RX 9070 XT, Adrenalin 32.0.32029.2010, Ryzen 7 5700X3D, Windows 11 26300), and a cause for most of it: on 1684989, 68 of the 70 compute programs that crash amdxc64.dll+0x861b9f stop crashing when clean-up pass 4 is off (VICTORY_SHADER_OPT=11).

How many programs crash. Offline, one process per program so that a crash takes down only its own test: victory translate --pipelines --jobs 1 on each of the pack's 2,734 compute containers, six at a time, 1684989, diag build.

outcome programs
pipeline created 2,664
process killed inside the driver's compiler 70
not finished in 120 s 0

a73284b60aa303ed and a1266cc7391ae0d6 from #120 are among the 70.

Which pass. Three of the 70, each run with every setting:

VICTORY_SHADER_OPT unset 0 1 2 4 8 3 12
072f5fe96efd27e1 crash ok ok ok crash ok ok crash
50949ebfee9eb51d crash ok ok ok crash ok ok crash
dd66eddf464f4bb1 crash ok ok ok crash ok ok crash

Then all 70 with VICTORY_SHADER_OPT=11 (passes 1, 2 and 8): 68 build, 2 still crash. The two, c1eee35dbc50a9ef and f16876929fa64f9f, crash with every value including 0, so they have another cause.

In the game. VICTORY_SKIP_PIPELINES does not help by itself: it drops the draws, but the pipeline is still created (and since d279e69 it is created early), so the compiler still runs. With a local change that does not create a pipeline whose shader is on the skip list (not for a PR as it is), VICTORY_SHADER_OPT=11 and those two hashes skipped: no compiler crash in three runs. The longest is at 10 minutes in the prologue with a warm library: 396 ms/frame median (2.5 fps), 4,813 draws/frame, 0 being made, 349 dropped (343 of them the ray-tracing builder being off), no device removal.

Not tested: whether VICTORY_SHADER_OPT=11 makes any program crash that builds with every pass on (the full sweep ran only with every pass); vertex, pixel and mesh programs; commits after 1684989; what in pass 4's output the compiler trips on.

The 70 hashes:

072f5fe96efd27e1,077869cd9b1456ee,0ac6717164281c2d,0ae69044bfd15035,0f1395e5942ca3b2,1a1089a18f7ff5f8,1a72961fb4e91af0,1b20028fc5fae124,1c02f8131c508c75,1e4947eada3d9ee3,203f78efece5bbdf,231d2daa66789312,26fbf87d883e1381,27ce027e7188bed3,2e28ea6fb9dad3c2,36bcbae3c6ee20b3,37d324dbc6c86d16,38047b50e3443232,38e7dedf37c90130,3a6594961b9247e7,3fa1fda35402c93f,43c72d85c4d86ffe,4e69dc8770bf27fc,501f0865fdf45dfd,50949ebfee9eb51d,52ab310c43b9f99c,5c10a56026ce13dd,5ddd2ca380fd74d8,61d7c3333b73892d,695febfd5efced05,70b1e13de6df8585,72ee7db2a361ed65,7b956e1f6d56609f,7fb216a0c6dee3a9,810e4e3cf4237f07,82d469a7fec64cb4,842de0c32bc8dcc5,85df3e0b2a2e72af,878933b499cfa14d,8a13d3da7f64b8d1,96744a8cd6c0588f,a0ce4bef0ae97c3f,a1266cc7391ae0d6,a2d880ad5dea1f45,a4df980a1c65fdbe,a567b9ef845fb680,a62731e90739f195,a73284b60aa303ed,b740639a48e688c6,b7a7fb5ba5934a89,be85f65a58656cec,c1eee35dbc50a9ef,c2fed64ee9b4bf23,c5fc2bc7f3d416f4,d0130073bb6f7a7d,d2c52fcd936985b4,d5784d991f3164ab,dbba7e080e26ec20,dc6ef2687950428a,dd66eddf464f4bb1,e2b858e568731a51,e920d92582cb15f1,e932a28baa58153e,efdb8133aabc37fe,f018c205b5199d39,f16876929fa64f9f,f33e805895d6dd30,f753717509f8ea20,fc0dcb1f5312423f,fcd45c3d0020311b

No game data: hashes, counts, exit codes and timings from the tool's and VIctory's own output.

AI-assisted (Claude Fable 5.2): the sweep and the runs were launched and summarised by the model on my machine.

**@⁠hashdev512** on GitHub · 2026-11-24 21:58 UTC · [original](https://github.com/fxceless/victory-fork/issues/145#issuecomment-7145624647) Same card (RX 9070 XT, Adrenalin 32.0.32029.2010, Ryzen 7 5700X3D, Windows 11 26300), and a cause for most of it: **on `1684989`, 68 of the 70 compute programs that crash `amdxc64.dll+0x861b9f` stop crashing when clean-up pass 4 is off (`VICTORY_SHADER_OPT=11`).** **How many programs crash.** Offline, one process per program so that a crash takes down only its own test: `victory translate --pipelines --jobs 1` on each of the pack's 2,734 compute containers, six at a time, `1684989`, diag build. | outcome | programs | |---|---| | pipeline created | 2,664 | | process killed inside the driver's compiler | **70** | | not finished in 120 s | 0 | `a73284b60aa303ed` and `a1266cc7391ae0d6` from #120 are among the 70. **Which pass.** Three of the 70, each run with every setting: | `VICTORY_SHADER_OPT` | unset | 0 | 1 | 2 | 4 | 8 | 3 | 12 | |---|---|---|---|---|---|---|---|---| | `072f5fe96efd27e1` | crash | ok | ok | ok | crash | ok | ok | crash | | `50949ebfee9eb51d` | crash | ok | ok | ok | crash | ok | ok | crash | | `dd66eddf464f4bb1` | crash | ok | ok | ok | crash | ok | ok | crash | Then all 70 with `VICTORY_SHADER_OPT=11` (passes 1, 2 and 8): **68 build, 2 still crash.** The two, `c1eee35dbc50a9ef` and `f16876929fa64f9f`, crash with every value including 0, so they have another cause. **In the game.** `VICTORY_SKIP_PIPELINES` does not help by itself: it drops the draws, but the pipeline is still created (and since `d279e69` it is created early), so the compiler still runs. With a local change that does not create a pipeline whose shader is on the skip list (not for a PR as it is), `VICTORY_SHADER_OPT=11` and those two hashes skipped: no compiler crash in three runs. The longest is at 10 minutes in the prologue with a warm library: 396 ms/frame median (2.5 fps), 4,813 draws/frame, 0 being made, 349 dropped (343 of them the ray-tracing builder being off), no device removal. **Not tested:** whether `VICTORY_SHADER_OPT=11` makes any program crash that builds with every pass on (the full sweep ran only with every pass); vertex, pixel and mesh programs; commits after `1684989`; what in pass 4's output the compiler trips on. The 70 hashes: ``` 072f5fe96efd27e1,077869cd9b1456ee,0ac6717164281c2d,0ae69044bfd15035,0f1395e5942ca3b2,1a1089a18f7ff5f8,1a72961fb4e91af0,1b20028fc5fae124,1c02f8131c508c75,1e4947eada3d9ee3,203f78efece5bbdf,231d2daa66789312,26fbf87d883e1381,27ce027e7188bed3,2e28ea6fb9dad3c2,36bcbae3c6ee20b3,37d324dbc6c86d16,38047b50e3443232,38e7dedf37c90130,3a6594961b9247e7,3fa1fda35402c93f,43c72d85c4d86ffe,4e69dc8770bf27fc,501f0865fdf45dfd,50949ebfee9eb51d,52ab310c43b9f99c,5c10a56026ce13dd,5ddd2ca380fd74d8,61d7c3333b73892d,695febfd5efced05,70b1e13de6df8585,72ee7db2a361ed65,7b956e1f6d56609f,7fb216a0c6dee3a9,810e4e3cf4237f07,82d469a7fec64cb4,842de0c32bc8dcc5,85df3e0b2a2e72af,878933b499cfa14d,8a13d3da7f64b8d1,96744a8cd6c0588f,a0ce4bef0ae97c3f,a1266cc7391ae0d6,a2d880ad5dea1f45,a4df980a1c65fdbe,a567b9ef845fb680,a62731e90739f195,a73284b60aa303ed,b740639a48e688c6,b7a7fb5ba5934a89,be85f65a58656cec,c1eee35dbc50a9ef,c2fed64ee9b4bf23,c5fc2bc7f3d416f4,d0130073bb6f7a7d,d2c52fcd936985b4,d5784d991f3164ab,dbba7e080e26ec20,dc6ef2687950428a,dd66eddf464f4bb1,e2b858e568731a51,e920d92582cb15f1,e932a28baa58153e,efdb8133aabc37fe,f018c205b5199d39,f16876929fa64f9f,f33e805895d6dd30,f753717509f8ea20,fc0dcb1f5312423f,fcd45c3d0020311b ``` No game data: hashes, counts, exit codes and timings from the tool's and VIctory's own output. _AI-assisted (Claude Fable 5.2): the sweep and the runs were launched and summarised by the model on my machine._
Author
Owner

@⁠ericomeehan on GitHub · 2026-11-24 22:02 UTC · original · edited 2026-11-24 22:03 UTC

Edit: I hadn't seen the comment above when I wrote this. Its VICTORY_SHADER_OPT=11 result (68 of 70 crashing programs stop crashing) is the better lead, and it means one of our own clean-up passes triggers the driver's crash, so take "rather than at the translation" below with that in mind. The links and the skip-list caveat still apply.

This looks like the same crash as #120, and #3 before it: all three are an RX 9070 XT stopping at amdxc64.dll+0x861b9f with read 0x8.

  • #120 narrowed it, on 4e17478, to two compute shaders, a73284b60aa303ed and a1266cc7391ae0d6. Built one at a time with victory translate --pipelines, both crash the AMD compiler, while --validate accepts them. Both are in the batch your release log shows queued right before the crash (user_data=4 samplers=7). A later comment there reports that RADV on Linux builds both without trouble, which points at the Windows driver's compiler rather than at the translation.
  • #3 hit the same offset on 578d459 with 41 other compute programs, and got past it with VICTORY_SKIP_PIPELINES.

One thing that may explain why skipping isn't an option for you yet: on main, VICTORY_SKIP_PIPELINES is only read in the diagnostics build (#[cfg(all(windows, feature = "diagnostics"))] on skipped_shader/is_skipped in crates/victory-gpu/src/pipeline.rs). A release build ignores it. #91 and #106 both make it work in release builds too.

Since you already have a diag build, could you try it with
VICTORY_SKIP_PIPELINES=a73284b60aa303ed,a1266cc7391ae0d6
and say whether the crash moves, goes away, or names other hashes? One catch, from reading the code (not from a run): the skip list is checked in the draw and dispatch paths (draw.rs), but not in make::early. That function starts a pipeline at creation time if an earlier run requested it, and a request is recorded before the pipeline is built (make::ready → library::note_used). So if your earlier crashing runs saved that list, the next run could start these two pipelines early and crash anyway, skip list or not. A fresh data/cache directory for the test run avoids that. The commit hash and the Adrenalin version number would also help line this up with #120 (driver 26.11.2).

Written with an AI assistant (Claude).

**@⁠ericomeehan** on GitHub · 2026-11-24 22:02 UTC · [original](https://github.com/fxceless/victory-fork/issues/145#issuecomment-7145714872) · edited 2026-11-24 22:03 UTC Edit: I hadn't seen the comment above when I wrote this. Its `VICTORY_SHADER_OPT=11` result (68 of 70 crashing programs stop crashing) is the better lead, and it means one of our own clean-up passes triggers the driver's crash, so take "rather than at the translation" below with that in mind. The links and the skip-list caveat still apply. This looks like the same crash as #120, and #3 before it: all three are an RX 9070 XT stopping at `amdxc64.dll+0x861b9f` with `read 0x8`. - **#120** narrowed it, on `4e17478`, to two compute shaders, `a73284b60aa303ed` and `a1266cc7391ae0d6`. Built one at a time with `victory translate --pipelines`, both crash the AMD compiler, while `--validate` accepts them. Both are in the batch your release log shows queued right before the crash (`user_data=4 samplers=7`). A later comment there reports that RADV on Linux builds both without trouble, which points at the Windows driver's compiler rather than at the translation. - **#3** hit the same offset on `578d459` with 41 other compute programs, and got past it with `VICTORY_SKIP_PIPELINES`. One thing that may explain why skipping isn't an option for you yet: on `main`, `VICTORY_SKIP_PIPELINES` is only read in the diagnostics build (`#[cfg(all(windows, feature = "diagnostics"))]` on `skipped_shader`/`is_skipped` in `crates/victory-gpu/src/pipeline.rs`). A release build ignores it. #91 and #106 both make it work in release builds too. Since you already have a diag build, could you try it with `VICTORY_SKIP_PIPELINES=a73284b60aa303ed,a1266cc7391ae0d6` and say whether the crash moves, goes away, or names other hashes? One catch, from reading the code (not from a run): the skip list is checked in the draw and dispatch paths (`draw.rs`), but not in `make::early`. That function starts a pipeline at creation time if an earlier run *requested* it, and a request is recorded before the pipeline is built (`make::ready` → `library::note_used`). So if your earlier crashing runs saved that list, the next run could start these two pipelines early and crash anyway, skip list or not. A fresh data/cache directory for the test run avoids that. The commit hash and the Adrenalin version number would also help line this up with #120 (driver 26.11.2). Written with an AI assistant (Claude).
Author
Owner

@⁠icecreammule277-dot on GitHub · 2026-11-24 22:25 UTC · original

Same card and driver here (RX 9070 XT, Adrenalin 32.0.32029.2010). Confirming the REUSE finding above independently, and in game:

  • Offline, one process per refused compute program: every pass crashes 9 of 113; REUSE alone crashes all 9; every pass but REUSE (VICTORY_SHADER_OPT=59) builds all 183.
  • Dropping REUSE only for compute programs with seven or more immediate samplers is not enough: 842de0c32bc8dcc5 (three samplers) still crashed in game.
  • With REUSE off for every compute program and only c1eee35dbc50a9ef and f16876929fa64f9f skipped, the run gets past the crash and the opening cutscene draws lit.

PR: #195

**@⁠icecreammule277-dot** on GitHub · 2026-11-24 22:25 UTC · [original](https://github.com/fxceless/victory-fork/issues/145#issuecomment-7146222277) Same card and driver here (RX 9070 XT, Adrenalin 32.0.32029.2010). Confirming the REUSE finding above independently, and in game: - Offline, one process per refused compute program: every pass crashes 9 of 113; REUSE alone crashes all 9; every pass but REUSE (`VICTORY_SHADER_OPT=59`) builds all 183. - Dropping REUSE only for compute programs with seven or more immediate samplers is not enough: `842de0c32bc8dcc5` (three samplers) still crashed in game. - With REUSE off for every compute program and only `c1eee35dbc50a9ef` and `f16876929fa64f9f` skipped, the run gets past the crash and the opening cutscene draws lit. PR: #195
Author
Owner

@⁠belttroll-lab on GitHub · 2026-11-24 22:38 UTC · original

Markdown
Thanks both for the detailed analysis and suggestions! Here is a full update from my RX 9070 XT tests so far.

Environment Details

  • Commit: 4e17478
  • AMD Driver: 32.0.32029.2010 (Windows 11 x64, RX 9070 XT, i5-14600K, 32 GB RAM)
  • Build: diag (--features diagnostics), tested with a fresh cache and data directory

1. amdxc64.dll+0x861b9f (0xc0000005) Compiler Crash — Resolved with VICTORY_SHADER_OPT=11

Testing the diag build on a clean cache/data folder with:

VICTORY_SHADER_OPT=11
VICTORY_SKIP_PIPELINES=c1eee35dbc50a9ef,f16876929fa64f9f
completely eliminated the amdxc64.dll+0x861b9f compiler crash. I got past the intro and into the lit opening prison scene:

Without relay: ~2 fps (~524 ms/frame, ~4,800 draws/frame)

With VICTORY_RELAY=2: ~4 fps (~267 ms/frame, ~5,100 draws/frame)

2. New Runtime GPU Hang (0x887A0006) in the Prologue — Page Fault in fc5e66f8f873d3bb
Once inside the prison scene, turning around and walking caused a DXGI_ERROR_DEVICE_HUNG (0x887A0006). DRED captured the exact same faulting indirect compute dispatch across two separate runs (with and without VICTORY_RELAY):

Run 1 (no relay, 6 lists):page fault at 0x3c3b000 (no title memory copy below it)
Stopped at: command 491 of 1647 (op 5): indirect kind 2 max 1 at 0xc58ea480 [compute fc5e66f8f873d3bb]

Run 2 (with relay, 48 lists):page fault at 0x80000256b000
Stopped at: command 237 of 1927 (op 5): indirect kind 2 max 1 at 0xd9995ac0 [compute fc5e66f8f873d3bb]

In both runs, fc5e66f8f873d3bb had the same bindings:

Sampler s10+0: ImmediateSampler

Srv s0+0 (placed 288x1), Srv s0+8 (placed 456x1), Srv s0+16 (1024x512 f41)

Uav s0+24 (2,097,152 B buffer), Uav s0+32 (32,768 B buffer)

Cbv s1+0: Constants

(Note: I also saw one earlier 0x887A0006 hang after 7 lists without breadcrumbs before enabling DRED, alongside pipeline library: made [compute ...] (the library did not load it: 0x80070057) messages.)

Next Step
I'll test adding fc5e66f8f873d3bb to VICTORY_SKIP_PIPELINES next to see if moving around in the prologue stays stable without triggering the page fault, and will report back.
**@⁠belttroll-lab** on GitHub · 2026-11-24 22:38 UTC · [original](https://github.com/fxceless/victory-fork/issues/145#issuecomment-7146465288) Markdown Thanks both for the detailed analysis and suggestions! Here is a full update from my RX 9070 XT tests so far. ### Environment Details - **Commit:** `4e17478` - **AMD Driver:** `32.0.32029.2010` (Windows 11 x64, RX 9070 XT, i5-14600K, 32 GB RAM) - **Build:** `diag` (`--features diagnostics`), tested with a fresh `cache` and `data` directory --- ### 1. `amdxc64.dll+0x861b9f` (`0xc0000005`) Compiler Crash — Resolved with `VICTORY_SHADER_OPT=11` Testing the `diag` build on a clean `cache`/`data` folder with: ```text VICTORY_SHADER_OPT=11 VICTORY_SKIP_PIPELINES=c1eee35dbc50a9ef,f16876929fa64f9f completely eliminated the amdxc64.dll+0x861b9f compiler crash. I got past the intro and into the lit opening prison scene: Without relay: ~2 fps (~524 ms/frame, ~4,800 draws/frame) With VICTORY_RELAY=2: ~4 fps (~267 ms/frame, ~5,100 draws/frame) 2. New Runtime GPU Hang (0x887A0006) in the Prologue — Page Fault in fc5e66f8f873d3bb Once inside the prison scene, turning around and walking caused a DXGI_ERROR_DEVICE_HUNG (0x887A0006). DRED captured the exact same faulting indirect compute dispatch across two separate runs (with and without VICTORY_RELAY): Run 1 (no relay, 6 lists):page fault at 0x3c3b000 (no title memory copy below it) Stopped at: command 491 of 1647 (op 5): indirect kind 2 max 1 at 0xc58ea480 [compute fc5e66f8f873d3bb] Run 2 (with relay, 48 lists):page fault at 0x80000256b000 Stopped at: command 237 of 1927 (op 5): indirect kind 2 max 1 at 0xd9995ac0 [compute fc5e66f8f873d3bb] In both runs, fc5e66f8f873d3bb had the same bindings: Sampler s10+0: ImmediateSampler Srv s0+0 (placed 288x1), Srv s0+8 (placed 456x1), Srv s0+16 (1024x512 f41) Uav s0+24 (2,097,152 B buffer), Uav s0+32 (32,768 B buffer) Cbv s1+0: Constants (Note: I also saw one earlier 0x887A0006 hang after 7 lists without breadcrumbs before enabling DRED, alongside pipeline library: made [compute ...] (the library did not load it: 0x80070057) messages.) Next Step I'll test adding fc5e66f8f873d3bb to VICTORY_SKIP_PIPELINES next to see if moving around in the prologue stays stable without triggering the page fault, and will report back.
Author
Owner

@⁠Arvi23 on GitHub · 2026-11-24 23:14 UTC · original

@⁠hashdev512 thanks for the list of 70. With a patch that keeps resource handles block-local in pass 4 (on #120, every other pass left on), 66 of your 68 pass-4 programs build on an RX 9070 XT. The 2 left (a567b9ef845fb680, 878933b499cfa14d) crash on one ordinary integer merge. Details and the patch: #120

AI use: Claude Code (Claude Opus 5.5) wrote this.

**@⁠Arvi23** on GitHub · 2026-11-24 23:14 UTC · [original](https://github.com/fxceless/victory-fork/issues/145#issuecomment-7147169819) @⁠hashdev512 thanks for the list of 70. With a patch that keeps resource handles block-local in pass 4 (on #120, every other pass left on), 66 of your 68 pass-4 programs build on an RX 9070 XT. The 2 left (`a567b9ef845fb680`, `878933b499cfa14d`) crash on one ordinary integer merge. Details and the patch: https://git.gtahub.st/github/fxceless--victory-fork/issues/120 AI use: Claude Code (Claude Opus 5.5) wrote this.
Author
Owner

@⁠HAL9000RELOADED on GitHub · 2026-11-25 21:17 UTC · original

RDNA3 data for the programs named here: on a Radeon RX 7900 XTX with Adrenalin 32.0.32015.7029 (the driver build of #422), Windows 10, fxceless main d510ee4 + #402, every pass on, victory translate --validate --pipelines validated and created all 78 of them, and the rest of the title's 25,636 pipelines, without a crash in amdxc64.dll. Details and the table for all five reports are in #422 (#422).

**@⁠HAL9000RELOADED** on GitHub · 2026-11-25 21:17 UTC · [original](https://github.com/fxceless/victory-fork/issues/145#issuecomment-7174887607) RDNA3 data for the programs named here: on a Radeon RX 7900 XTX with Adrenalin 32.0.32015.7029 (the driver build of #422), Windows 10, fxceless `main` `d510ee4` + #402, every pass on, `victory translate --validate --pipelines` validated and created all 78 of them, and the rest of the title's 25,636 pipelines, without a crash in `amdxc64.dll`. Details and the table for all five reports are in #422 (https://git.gtahub.st/github/fxceless--victory-fork/issues/422).
Author
Owner

@⁠sceic on GitHub · 2026-11-26 02:07 UTC · original · edited 2026-11-26 02:13 UTC

Additional reproduction: RX 9070 XT crash in amdxc64.dll at a different offset (+0x85ffbf)

I would like to report another reproduction of a very similar AMD D3D12 driver crash, using a different VIctory fork.

I have been following this issue and the related discussion in #120. My crash has the same exception type and read address, but a different offset inside amdxc64.dll.

1. Test Environment

  • GPU: AMD Radeon RX 9070 XT (RDNA 4)
  • AMD Driver Version: 32.0.32015.16001
  • Driver Date: 2026-11-11
  • Windows OS Build: 26300
  • Windows Product Name reported by PowerShell: Windows 11 26h2 Build 26300.10075
  • CPU: 5700X
  • RAM: 96GB
  • Repository: avatarmanz/VIctory-7900XTX
  • Local repository folder: VIctory-7900XTX-main

2. Build and Launch Configuration

The diagnostic build completed successfully with:

cargo build --locked --profile diag -p victory --features diagnostics

I tested the game using:

.\play.ps1 -Safe "H:\GTA6.Xbox.v1.0.2.1-CYBERLEEK\game_scarlett_master.exe"

The last two launch attempts were both performed with -Safe.

The crash still occurred in Safe mode.

3. Observed Crash

The game can successfully boot and reach the 3D environment, but it eventually exits unexpectedly.

The runtime duration varies between attempts:

  • One debug snapshot recorded Game Running, with a runtime of 5 minutes 8 seconds and 7027 frames.
  • Another recorded Game Running for 19 seconds and 304 frames.
  • Several subsequent attempts exited during Game Init at frame 0.

The most recent crashes.log contains multiple crash records with the same exception location:

VIctory: unhandled exception 0xc0000005 at amdxc64.dll+0x85ffbf (read 0x8: nothing mapped there)

The representative call stack is:

#0 amdxc64.dll+0x85ffbf

#1 amdxc64.dll+0x9562da

#2 amdxc64.dll+0x957876

#3 amdxc64.dll+0x955c34

#4 amdxc64.dll+0x86317d

...

#29 D3D12Core.dll+0x67e4d

#30 D3D12Core.dll+0x67b38

...

#38 victory.exe+0x3bbeca

#39 victory.exe+0x43b07a

The same driver offset and call stack were observed repeatedly across different process IDs.

4. Comparison With This Issue

The primary crash reported in this issue is:

amdxc64.dll+0x861b9f

My crash is:

amdxc64.dll+0x85ffbf

Both report:

  • Exception: 0xc0000005
  • Access type: read
  • Invalid address: 0x8
  • AMD user-mode driver: amdxc64.dll
  • D3D12 runtime in the call stack: D3D12Core.dll

The offsets are different, so I cannot confirm that these are exactly the same underlying compiler failure.

However, the common exception pattern and the D3D12/AMD driver call path make this a potentially related RDNA 4 compatibility issue.

5. Questions for the Developers

I have read the subsequent findings about cleanup pass 4 (REUSE) and resource-handle reuse in #120.

I have not yet verified the pass-4 workaround or the resource-handle patch on my branch, so I cannot confirm whether either resolves my crash.

6. Available Diagnostic Data

I have collected the following files:

  • crashes.log — contains multiple repeated AMD driver access violations.
  • Several individual .crash.log files — contain game state and memory information.

victory-20261126-094726-6212.crash.log

crashes.log

  • Windows minidump files (.dmp) from the failed runs.

5d240a93-1b4a-4e91-b1ff-be3fd3438941.dmp

The current text logs identify the driver fault and call stack, but do not identify the exact shader or pipeline being compiled at the time of the crash.

Thank you for the investigation and for sharing the previous findings.

**@⁠sceic** on GitHub · 2026-11-26 02:07 UTC · [original](https://github.com/fxceless/victory-fork/issues/145#issuecomment-7180490066) · edited 2026-11-26 02:13 UTC ### Additional reproduction: RX 9070 XT crash in `amdxc64.dll` at a different offset (`+0x85ffbf`) I would like to report another reproduction of a very similar AMD D3D12 driver crash, using a different VIctory fork. I have been following this issue and the related discussion in #120. My crash has the same exception type and read address, but a different offset inside `amdxc64.dll`. ### 1. Test Environment - **GPU:** AMD Radeon RX 9070 XT (RDNA 4) - **AMD Driver Version:** `32.0.32015.16001` - **Driver Date:** 2026-11-11 - **Windows OS Build:** `26300` - **Windows Product Name reported by PowerShell:** Windows 11 26h2 Build 26300.10075 - **CPU:** 5700X - **RAM:** 96GB - **Repository:** `avatarmanz/VIctory-7900XTX` - **Local repository folder:** `VIctory-7900XTX-main` ### 2. Build and Launch Configuration The diagnostic build completed successfully with: `cargo build --locked --profile diag -p victory --features diagnostics` I tested the game using: `.\play.ps1 -Safe "H:\GTA6.Xbox.v1.0.2.1-CYBERLEEK\game_scarlett_master.exe"` The last two launch attempts were both performed with `-Safe`. The crash still occurred in Safe mode. ### 3. Observed Crash The game can successfully boot and reach the 3D environment, but it eventually exits unexpectedly. The runtime duration varies between attempts: - One debug snapshot recorded `Game Running`, with a runtime of 5 minutes 8 seconds and 7027 frames. - Another recorded `Game Running` for 19 seconds and 304 frames. - Several subsequent attempts exited during `Game Init` at frame 0. The most recent `crashes.log` contains multiple crash records with the same exception location: `VIctory: unhandled exception 0xc0000005 at amdxc64.dll+0x85ffbf (read 0x8: nothing mapped there)` The representative call stack is: `#0 amdxc64.dll+0x85ffbf` `#1 amdxc64.dll+0x9562da` `#2 amdxc64.dll+0x957876` `#3 amdxc64.dll+0x955c34` `#4 amdxc64.dll+0x86317d` `...` `#29 D3D12Core.dll+0x67e4d` `#30 D3D12Core.dll+0x67b38` `...` `#38 victory.exe+0x3bbeca` `#39 victory.exe+0x43b07a` The same driver offset and call stack were observed repeatedly across different process IDs. ### 4. Comparison With This Issue The primary crash reported in this issue is: `amdxc64.dll+0x861b9f` My crash is: `amdxc64.dll+0x85ffbf` Both report: - Exception: `0xc0000005` - Access type: read - Invalid address: `0x8` - AMD user-mode driver: `amdxc64.dll` - D3D12 runtime in the call stack: `D3D12Core.dll` The offsets are different, so I cannot confirm that these are exactly the same underlying compiler failure. However, the common exception pattern and the D3D12/AMD driver call path make this a potentially related RDNA 4 compatibility issue. ### 5. Questions for the Developers I have read the subsequent findings about cleanup pass 4 (`REUSE`) and resource-handle reuse in #120. I have not yet verified the pass-4 workaround or the resource-handle patch on my branch, so I cannot confirm whether either resolves my crash. ### 6. Available Diagnostic Data I have collected the following files: - `crashes.log` — contains multiple repeated AMD driver access violations. - Several individual `.crash.log` files — contain game state and memory information. [victory-20261126-094726-6212.crash.log](https://github.com/user-attachments/files/35440815/victory-20261126-094726-6212.crash.log) [crashes.log](https://github.com/user-attachments/files/35440824/crashes.log) - Windows minidump files (`.dmp`) from the failed runs. [5d240a93-1b4a-4e91-b1ff-be3fd3438941.dmp](https://github.com/user-attachments/files/35440829/5d240a93-1b4a-4e91-b1ff-be3fd3438941.dmp) The current text logs identify the driver fault and call stack, but do not identify the exact shader or pipeline being compiled at the time of the crash. Thank you for the investigation and for sharing the previous findings.
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/fxceless--victory-fork#145
No description provided.