Run attempt: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) #6

Open
opened 2026-11-26 03:31:12 +00:00 by github-bot · 4 comments
Owner

@⁠vlad441 on GitHub · 2026-11-25 23:08 UTC · original

OS: Windows 10 | GPU: RTX A2000

Attempt build with tests: build-tests.log

failures:

---- pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws stdout ----

thread 'pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws' (17536) panicked at crates\victory-gpu\src\pipeline\host.rs:1107:9:
dxc failed for vs_6_5

failures:
    pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws

test result: FAILED. 325 passed; 1 failed; 34 ignored; 0 measured; 0 filtered out; finished in 11.46s

error: test failed, to rerun pass `-p victory-gpu --lib`

Attempt run debug victoria.exe: VIctory-debug.log

VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)
  rax 0x0 rbx 0x2c rcx 0xd12982010 rdx 0x0 rsi 0x100adfed90 rdi 0x100adfed90 rsp 0x100adfec40 rbp 0x90f
  r8 0xd09930750 r9 0xffffffff00000000 r10 0x7ffa67482730 r11 0x170 r12 0x0 r13 0xa r14 0x100adfed70 r15 0x651e95c4d06fbfb1
  #0  victory-image-b99f876b74d4a77f.dll+0xb5a5f8
  #1  victory-image-b99f876b74d4a77f.dll+0x1dc5cb4
  #2  victory-image-b99f876b74d4a77f.dll+0x5bbf240
  #3  victory-image-b99f876b74d4a77f.dll+0x35cd6e1
  #4  victory-image-b99f876b74d4a77f.dll+0x63e78
  #5  victory-image-b99f876b74d4a77f.dll+0x4eaa05a
  #6  victory-image-b99f876b74d4a77f.dll+0x221c29c
  #7  victory-image-b99f876b74d4a77f.dll+0x2215eca
  #8  KERNEL32.DLL+0x17034
  #9  ntdll.dll+0x4d241

The original issue in the Marvisak/VIctory repository.

**@⁠vlad441** on GitHub · 2026-11-25 23:08 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/6) OS: Windows 10 | GPU: RTX A2000 Attempt build with tests: [build-tests.log](https://github.com/user-attachments/files/35436749/build-tests.log) ```batch failures: ---- pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws stdout ---- thread 'pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws' (17536) panicked at crates\victory-gpu\src\pipeline\host.rs:1107:9: dxc failed for vs_6_5 failures: pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws test result: FAILED. 325 passed; 1 failed; 34 ignored; 0 measured; 0 filtered out; finished in 11.46s error: test failed, to rerun pass `-p victory-gpu --lib` ``` Attempt run debug victoria.exe: [VIctory-debug.log](https://github.com/user-attachments/files/35436873/VIctory-debug.log) ```batch VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) rax 0x0 rbx 0x2c rcx 0xd12982010 rdx 0x0 rsi 0x100adfed90 rdi 0x100adfed90 rsp 0x100adfec40 rbp 0x90f r8 0xd09930750 r9 0xffffffff00000000 r10 0x7ffa67482730 r11 0x170 r12 0x0 r13 0xa r14 0x100adfed70 r15 0x651e95c4d06fbfb1 #0 victory-image-b99f876b74d4a77f.dll+0xb5a5f8 #1 victory-image-b99f876b74d4a77f.dll+0x1dc5cb4 #2 victory-image-b99f876b74d4a77f.dll+0x5bbf240 #3 victory-image-b99f876b74d4a77f.dll+0x35cd6e1 #4 victory-image-b99f876b74d4a77f.dll+0x63e78 #5 victory-image-b99f876b74d4a77f.dll+0x4eaa05a #6 victory-image-b99f876b74d4a77f.dll+0x221c29c #7 victory-image-b99f876b74d4a77f.dll+0x2215eca #8 KERNEL32.DLL+0x17034 #9 ntdll.dll+0x4d241 ``` The original [issue](https://github.com/Marvisak/VIctory/issues/1881) in the [Marvisak/VIctory](https://github.com/Marvisak/VIctory) repository.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:12 +00:00
Author
Owner

@⁠itsonewi on GitHub · 2026-11-25 23:40 UTC · original

Two parts of this report point at different things, and the first one is in the test harness rather than in the code under test.

The failing test cannot say why it failed

  • depth_bounds_pipeline_loads_and_filters_draws compiles its own vertex shader with the machine's dxc.exe: compile(&dxc, dir.path(), VS, "vs_6_5") at crates/victory-gpu/src/pipeline/host.rs:1230.
  • compile() (pipeline/host.rs:1096-1107) ends with assert!(status.success(), "dxc failed for {profile}"). The assertion carries no reason, and dxc's own message is not captured into it, so a log like yours can only ever say "dxc failed". Capturing stdout/stderr and putting the first lines into the panic would make the next report actionable in one line.
  • dxc() (pipeline/host.rs:1083) returns None when dxc.exe is not next to dxil.dll, and every caller then returns early — so a half-installed SDK turns a compile failure into a silent skip. If a compiler is found but cannot compile, that should be printed, not skipped.

Your log shows 325 passed, so dxc works on your machine and other pipeline tests that use it passed; only this shader fails. To get the reason without rebuilding:

dxc.exe -nologo -T vs_6_5 -E main -Fo out.dxil vs.hlsl

with the VS source from the tests module, or set VICTORY_PC_DXC to that dxc.exe and rerun just this test with -- --nocapture. Either output would tell us whether it is the SDK's dxc version, a missing dxcompiler.dll, or the source.

The crash is not an A2000 or RTX thing

victory-image+0xb5a5f8, read 0x68: nothing mapped there is reported verbatim, with the same offset, on an RX 6600 in #12. The same address on two vendors means it is the title's own code, not a driver path; the offset only becomes useful with the PDB of the exact victory-image-<hash>.dll that produced it. #12 already has the same line, so it is one bug with two reports, not two.

Also worth knowing for #12's log: the root signature: Unsupported bit-flag set (root signature flags c00) warnings there are a separate, now-filed issue (#19), not this crash.

AI use

AI-assisted reply (source reading). No build, no hardware run, no game files.

**@⁠itsonewi** on GitHub · 2026-11-25 23:40 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/6#issuecomment-7177892036) Two parts of this report point at different things, and the first one is in the test harness rather than in the code under test. ## The failing test cannot say why it failed - `depth_bounds_pipeline_loads_and_filters_draws` compiles its own vertex shader with the machine's `dxc.exe`: `compile(&dxc, dir.path(), VS, "vs_6_5")` at `crates/victory-gpu/src/pipeline/host.rs:1230`. - `compile()` (`pipeline/host.rs:1096-1107`) ends with `assert!(status.success(), "dxc failed for {profile}")`. The assertion carries no reason, and dxc's own message is not captured into it, so a log like yours can only ever say "dxc failed". Capturing stdout/stderr and putting the first lines into the panic would make the next report actionable in one line. - `dxc()` (`pipeline/host.rs:1083`) returns `None` when `dxc.exe` is not next to `dxil.dll`, and every caller then returns early — so a half-installed SDK turns a compile failure into a silent skip. If a compiler is found but cannot compile, that should be printed, not skipped. Your log shows 325 passed, so dxc works on your machine and other pipeline tests that use it passed; only this shader fails. To get the reason without rebuilding: ``` dxc.exe -nologo -T vs_6_5 -E main -Fo out.dxil vs.hlsl ``` with the `VS` source from the tests module, or set `VICTORY_PC_DXC` to that `dxc.exe` and rerun just this test with `-- --nocapture`. Either output would tell us whether it is the SDK's dxc version, a missing `dxcompiler.dll`, or the source. ## The crash is not an A2000 or RTX thing `victory-image+0xb5a5f8`, `read 0x68: nothing mapped there` is reported verbatim, with the same offset, on an RX 6600 in #12. The same address on two vendors means it is the title's own code, not a driver path; the offset only becomes useful with the PDB of the exact `victory-image-<hash>.dll` that produced it. #12 already has the same line, so it is one bug with two reports, not two. Also worth knowing for #12's log: the `root signature: Unsupported bit-flag set (root signature flags c00)` warnings there are a separate, now-filed issue (#19), not this crash. ## AI use AI-assisted reply (source reading). No build, no hardware run, no game files.
Author
Owner

@⁠Marcosmarb on GitHub · 2026-11-25 23:54 UTC · original

Another NVIDIA data point: this test passes here.

Machine: Windows 11 Home (26200), NVIDIA GeForce RTX 3050 Laptop GPU (driver 32.0.16.2101, DXGI adapter 0), Rust 1.98.1 MSVC. main at 0a43566:

test pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws ... ok

(whole workspace: 916 passed, 0 failed, 45 ignored)

Reading the test, the panic dxc failed for vs_6_5 does not come from the GPU or the driver: compile() runs the PC dxc.exe and asserts that it exited successfully. That dxc.exe is VICTORY_PC_DXC if set, otherwise the one next to the newest Windows SDK's dxil.dll (Validator::default_path()). Here that is Windows SDK 10.0.26100.0, dxcompiler.dll 1.9.2602.17, which compiles vs_6_5.

So on the failing machine it may be worth checking which SDK's dxc.exe the test picked and whether it supports shader model 6.5 (an older Windows 10 SDK could be the newest one installed there). Pointing VICTORY_PC_DXC at a recent dxc.exe would tell. This is a guess from the code, not reproduced. It may not explain the 0xc0000005 at run time.

Tested with the help of Claude Code.

**@⁠Marcosmarb** on GitHub · 2026-11-25 23:54 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/6#issuecomment-7178195882) Another NVIDIA data point: this test passes here. **Machine:** Windows 11 Home (26200), NVIDIA GeForce RTX 3050 Laptop GPU (driver 32.0.16.2101, DXGI adapter 0), Rust 1.98.1 MSVC. `main` at `0a43566`: ``` test pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws ... ok ``` (whole workspace: 916 passed, 0 failed, 45 ignored) Reading the test, the panic `dxc failed for vs_6_5` does not come from the GPU or the driver: `compile()` runs the PC `dxc.exe` and asserts that it exited successfully. That `dxc.exe` is `VICTORY_PC_DXC` if set, otherwise the one next to the newest Windows SDK's `dxil.dll` (`Validator::default_path()`). Here that is Windows SDK `10.0.26100.0`, `dxcompiler.dll 1.9.2602.17`, which compiles `vs_6_5`. So on the failing machine it may be worth checking which SDK's `dxc.exe` the test picked and whether it supports shader model 6.5 (an older Windows 10 SDK could be the newest one installed there). Pointing `VICTORY_PC_DXC` at a recent `dxc.exe` would tell. This is a guess from the code, not reproduced. It may not explain the 0xc0000005 at run time. Tested with the help of Claude Code.
Author
Owner

@⁠itsonewi on GitHub · 2026-11-26 00:09 UTC · original

That whole-workspace number is the first baseline in this thread — 916 passed, 0 failed, 45 ignored — and it is worth having, because it says the harness is healthy on a current SDK and the failure is environmental rather than in the tree.

One trap in the workaround you suggest, from the same code: if VICTORY_PC_DXC points somewhere that does not exist, dxc() (crates/victory-gpu/src/pipeline/host.rs:1083) returns None and every caller returns early — so the test is skipped silently, not failed. When you try it, check that depth_bounds_pipeline_loads_and_filters_draws actually appears in the output with -- --nocapture; a run where the name is missing is not a passing run.

The fix that would have made the original report self-explaining is still the two lines in compile() (:1096-1107): capture Child's stdout/stderr and put the first few lines into the assert! message, and print one line when no compiler was found at all. Both are harness-only and cannot change what the test covers.

(FYI: vs_6_5 needs a compiler from roughly the Windows SDK 10.0.20348 era or newer; an older dxil.dll neighbour is the likeliest reason a machine picks a dxc.exe that refuses the profile.)

(AI-assisted, source reading at 0a43566.)

**@⁠itsonewi** on GitHub · 2026-11-26 00:09 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/6#issuecomment-7178458047) That whole-workspace number is the first baseline in this thread — 916 passed, 0 failed, 45 ignored — and it is worth having, because it says the harness is healthy on a current SDK and the failure is environmental rather than in the tree. One trap in the workaround you suggest, from the same code: if `VICTORY_PC_DXC` points somewhere that does not exist, `dxc()` (`crates/victory-gpu/src/pipeline/host.rs:1083`) returns `None` and every caller returns early — so the test is **skipped silently**, not failed. When you try it, check that `depth_bounds_pipeline_loads_and_filters_draws` actually appears in the output with `-- --nocapture`; a run where the name is missing is not a passing run. The fix that would have made the original report self-explaining is still the two lines in `compile()` (`:1096-1107`): capture `Child`'s stdout/stderr and put the first few lines into the `assert!` message, and print one line when no compiler was found at all. Both are harness-only and cannot change what the test covers. (FYI: `vs_6_5` needs a compiler from roughly the Windows SDK 10.0.20348 era or newer; an older `dxil.dll` neighbour is the likeliest reason a machine picks a `dxc.exe` that refuses the profile.) (AI-assisted, source reading at `0a43566`.)
Author
Owner

@⁠vlad441 on GitHub · 2026-11-26 00:55 UTC · original · edited 2026-11-26 03:58 UTC

Update Windows 10 SDK 10.0.18362.0 -> Windows 10 SDK 10.0.20348: Not changes.

As noted in similar issues (#766, #789, #804, #2521) in original repo — the problem may be related to the need for the D3D12 Agility SDK for Windows 10. This is because the Windows 10 environment may not support Shader Model 6.6.

The proposed commits (#175, #463, #969, #2460) in original repo have not been merged, and this has not yet been tested.

...
�[2m2026-11-26T03:21:49.101970Z�[0m �[33m WARN�[0m �[2mvictory_gpu::descriptor::host�[0m�[2m:�[0m title slot past the host heap �[3mindex�[0m�[2m=�[0m1245181 �[3mcount�[0m�[2m=�[0m934464 �[3mfor_draw�[0m�[2m=�[0mfalse
�[2m2026-11-26T03:21:49.102008Z�[0m �[33m WARN�[0m �[2mvictory_gpu::descriptor::host�[0m�[2m:�[0m title slot past the host heap �[3mindex�[0m�[2m=�[0m1245182 �[3mcount�[0m�[2m=�[0m934464 �[3mfor_draw�[0m�[2m=�[0mfalse
�[2m2026-11-26T03:21:49.102046Z�[0m �[33m WARN�[0m �[2mvictory_gpu::descriptor::host�[0m�[2m:�[0m title slot past the host heap �[3mindex�[0m�[2m=�[0m1245183 �[3mcount�[0m�[2m=�[0m934464 �[3mfor_draw�[0m�[2m=�[0mfalse
...
�[2m2026-11-26T03:22:40.256174Z�[0m �[32m INFO�[0m �[2mvictory_gpu::copystat�[0m�[2m:�[0m   copied from 0x19f6cfa0+0xa563060 (memory 0x40000): 0.0x/frame, 1.13 MB/frame, 0.00 ms/frame
�[2m2026-11-26T03:22:40.256282Z�[0m �[32m INFO�[0m �[2mvictory_gpu::copystat�[0m�[2m:�[0m   copied from 0x19f8cfa0+0xa543060 (memory 0x40000): 0.0x/frame, 1.13 MB/frame, 0.00 ms/frame
�[2m2026-11-26T03:22:40.256426Z�[0m �[32m INFO�[0m �[2mvictory_gpu::copystat�[0m�[2m:�[0m   copied from 0x19facfa0+0xa523060 (memory 0x40000): 0.0x/frame, 1.13 MB/frame, 0.00 ms/frame
...
VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x2474680
  rax 0x0 rbx 0x29d6 rcx 0x7ffb10b0ff94 rdx 0x0 rsi 0x320 rdi 0x103aca0000 rsp 0xa002f9350 rbp 0xa002fbc40
  r8 0xa002f9038 r9 0xffffffffffffffff r10 0x0 r11 0x246 r12 0x12eb r13 0x708d3bab0 r14 0x721908b20 r15 0x1ba
  #0  victory-image-b99f876b74d4a77f.dll+0x2474680
  #1  victory-image-b99f876b74d4a77f.dll+0x2474079
  #2  victory-image-b99f876b74d4a77f.dll+0x2473903
  #3  victory-image-b99f876b74d4a77f.dll+0x3239287
  #4  victory-image-b99f876b74d4a77f.dll+0x221c29c
  #5  victory-image-b99f876b74d4a77f.dll+0x2215eca
  #6  KERNEL32.DLL+0x17034
  #7  ntdll.dll+0x4d241
  host: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, Windows 10.0.19043
memory allocation of 7154020 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
**@⁠vlad441** on GitHub · 2026-11-26 00:55 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/6#issuecomment-7179243497) · edited 2026-11-26 03:58 UTC Update `Windows 10 SDK 10.0.18362.0` -> `Windows 10 SDK 10.0.20348`: Not changes. As noted in similar issues ([#766](https://github.com/Marvisak/VIctory/issues/766), [#789](https://github.com/Marvisak/VIctory/issues/789), [#804](https://github.com/Marvisak/VIctory/issues/804), [#2521](https://github.com/Marvisak/VIctory/issues/2521)) in original repo — the problem may be related to the need for the D3D12 Agility SDK for Windows 10. This is because the Windows 10 environment may not support Shader Model `6.6`. The proposed commits ([#175](https://github.com/Marvisak/VIctory/pull/175), [#463](https://github.com/Marvisak/VIctory/pull/463), [#969](https://github.com/Marvisak/VIctory/pull/969), [#2460](https://github.com/Marvisak/VIctory/pull/2460)) in original repo have not been merged, and this has not yet been tested. * UPD: I tried to run tests on the HEAD branch [agility-device-factory](https://github.com/mgunes1311-lab/VIctory/tree/agility-device-factory) from PR [#969](https://github.com/Marvisak/VIctory/pull/969): Not Changes. * UPD: [Attempt](https://github.com/Marvisak/VIctory/issues/1881#issuecomment-7181503158) to build from PR [#2460](https://github.com/Marvisak/VIctory/pull/2460) -> Error changed to: ```batch ... �[2m2026-11-26T03:21:49.101970Z�[0m �[33m WARN�[0m �[2mvictory_gpu::descriptor::host�[0m�[2m:�[0m title slot past the host heap �[3mindex�[0m�[2m=�[0m1245181 �[3mcount�[0m�[2m=�[0m934464 �[3mfor_draw�[0m�[2m=�[0mfalse �[2m2026-11-26T03:21:49.102008Z�[0m �[33m WARN�[0m �[2mvictory_gpu::descriptor::host�[0m�[2m:�[0m title slot past the host heap �[3mindex�[0m�[2m=�[0m1245182 �[3mcount�[0m�[2m=�[0m934464 �[3mfor_draw�[0m�[2m=�[0mfalse �[2m2026-11-26T03:21:49.102046Z�[0m �[33m WARN�[0m �[2mvictory_gpu::descriptor::host�[0m�[2m:�[0m title slot past the host heap �[3mindex�[0m�[2m=�[0m1245183 �[3mcount�[0m�[2m=�[0m934464 �[3mfor_draw�[0m�[2m=�[0mfalse ... �[2m2026-11-26T03:22:40.256174Z�[0m �[32m INFO�[0m �[2mvictory_gpu::copystat�[0m�[2m:�[0m copied from 0x19f6cfa0+0xa563060 (memory 0x40000): 0.0x/frame, 1.13 MB/frame, 0.00 ms/frame �[2m2026-11-26T03:22:40.256282Z�[0m �[32m INFO�[0m �[2mvictory_gpu::copystat�[0m�[2m:�[0m copied from 0x19f8cfa0+0xa543060 (memory 0x40000): 0.0x/frame, 1.13 MB/frame, 0.00 ms/frame �[2m2026-11-26T03:22:40.256426Z�[0m �[32m INFO�[0m �[2mvictory_gpu::copystat�[0m�[2m:�[0m copied from 0x19facfa0+0xa523060 (memory 0x40000): 0.0x/frame, 1.13 MB/frame, 0.00 ms/frame ... VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x2474680 rax 0x0 rbx 0x29d6 rcx 0x7ffb10b0ff94 rdx 0x0 rsi 0x320 rdi 0x103aca0000 rsp 0xa002f9350 rbp 0xa002fbc40 r8 0xa002f9038 r9 0xffffffffffffffff r10 0x0 r11 0x246 r12 0x12eb r13 0x708d3bab0 r14 0x721908b20 r15 0x1ba #0 victory-image-b99f876b74d4a77f.dll+0x2474680 #1 victory-image-b99f876b74d4a77f.dll+0x2474079 #2 victory-image-b99f876b74d4a77f.dll+0x2473903 #3 victory-image-b99f876b74d4a77f.dll+0x3239287 #4 victory-image-b99f876b74d4a77f.dll+0x221c29c #5 victory-image-b99f876b74d4a77f.dll+0x2215eca #6 KERNEL32.DLL+0x17034 #7 ntdll.dll+0x4d241 host: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, Windows 10.0.19043 memory allocation of 7154020 bytes failed note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ```
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/avatarmanz--VIctory-7900XTX#6
No description provided.