crashes with 0xC000001D on Xeon E5-2630 v4 #102

Open
opened 2026-11-26 03:50:19 +00:00 by github-bot · 3 comments
Owner

@⁠rcaeser2 on GitHub · 2026-11-24 00:31 UTC · original

Bug Description

I'm trying to run using VIctory on Windows, but the game crashes during execution with an unhandled exception.

The crash happens consistently at the same address, including when using the diagnostics build.

PC Specifications

  • CPU: Intel Xeon E5-2630 v4 (AVX2 supported)
  • GPU: NVIDIA GeForce RTX 5050
  • RAM: 8 GB
  • OS: Windows 11
  • Console target: Xbox Series S

Steps to Reproduce

  1. Install Rust and Visual Studio C++ Build Tools.
  2. Download and compile VIctory.
  3. Configure victory.toml with the game directory.
  4. Build the diagnostic version:

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

  1. Enable logging:

set VICTORY_LOG=victory_loader=debug,info

  1. Run:

target\diag\victory.exe run "PATH_TO_GAME\game_scarlett_master.exe" --execute --console series-s

Crash Log

VIctory: unhandled exception 0xc000001d at victory-image-b99f876b74d4a77f.dll+0x4ecc84a

The stack trace includes:

  • victory-image-b99f876b74d4a77f.dll+0x247905f
  • victory-image-b99f876b74d4a77f.dll+0x19f4f54
  • victory-image-b99f876b74d4a77f.dll+0x580437e
  • victory-image-b99f876b74d4a77f.dll+0x43a4911

The console also displays:

HTTP connection blocked destination=submit.backtrace.io:443

Expected Behavior

The game should progress through the supported boot sequence without an unhandled exception.

Actual Behavior

Execution terminates with exception 0xC000001D. Repeating the test using the diagnostic build produces the same exception at the same module offset.

Question

Could this be an unsupported CPU instruction, an issue with the generated game DLL, or a missing implementation in VIctory?

Are there additional diagnostic commands I can run to identify the exact instruction causing the crash?

Thanks for your work

image Captura de tela 2026-11-23 213108
**@⁠rcaeser2** on GitHub · 2026-11-24 00:31 UTC · [original](https://github.com/Marvisak/VIctory/issues/102) ## Bug Description I'm trying to run using VIctory on Windows, but the game crashes during execution with an unhandled exception. The crash happens consistently at the same address, including when using the diagnostics build. ## PC Specifications - **CPU:** Intel Xeon E5-2630 v4 (AVX2 supported) - **GPU:** NVIDIA GeForce RTX 5050 - **RAM:** 8 GB - **OS:** Windows 11 - **Console target:** Xbox Series S ## Steps to Reproduce 1. Install Rust and Visual Studio C++ Build Tools. 2. Download and compile VIctory. 3. Configure `victory.toml` with the game directory. 4. Build the diagnostic version: `cargo build --profile diag -p victory --features diagnostics` 5. Enable logging: `set VICTORY_LOG=victory_loader=debug,info` 6. Run: `target\diag\victory.exe run "PATH_TO_GAME\game_scarlett_master.exe" --execute --console series-s` ## Crash Log `VIctory: unhandled exception 0xc000001d at victory-image-b99f876b74d4a77f.dll+0x4ecc84a` The stack trace includes: - `victory-image-b99f876b74d4a77f.dll+0x247905f` - `victory-image-b99f876b74d4a77f.dll+0x19f4f54` - `victory-image-b99f876b74d4a77f.dll+0x580437e` - `victory-image-b99f876b74d4a77f.dll+0x43a4911` The console also displays: `HTTP connection blocked destination=submit.backtrace.io:443` ## Expected Behavior The game should progress through the supported boot sequence without an unhandled exception. ## Actual Behavior Execution terminates with exception `0xC000001D`. Repeating the test using the diagnostic build produces the same exception at the same module offset. ## Question Could this be an unsupported CPU instruction, an issue with the generated game DLL, or a missing implementation in VIctory? Are there additional diagnostic commands I can run to identify the exact instruction causing the crash? Thanks for your work <img width="1456" height="692" alt="image" src="https://github.com/user-attachments/assets/113c275a-eb45-4cd7-9ca1-ba3932c8383e" /> <img width="1472" height="657" alt="Captura de tela 2026-11-23 213108" src="https://github.com/user-attachments/assets/e6875bea-db84-477f-9db3-1eb834f4531a" />
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:50:19 +00:00
Author
Owner

@⁠leonardo-silva-pinheiro on GitHub · 2026-11-24 02:56 UTC · original

The faulting offset +0x4ecc84a is a clwb instruction (same site as #103 and #210). The Xeon E5-2630 v4 is Broadwell, which has no CLWB. main emulates it since #45 (7d33c46), so please git pull, rebuild and retest; on #108 another Broadwell user confirmed the title boots past this after updating.

Two other notes:

  • With 8 GB of RAM, the title's ~6.5 GB allocation at startup will likely hit the Windows commit limit next (#23). If crashes.log then reports error 1455, increase the paging file size.
  • HTTP connection blocked destination=submit.backtrace.io:443 is expected: VIctory keeps the title offline by design.
**@⁠leonardo-silva-pinheiro** on GitHub · 2026-11-24 02:56 UTC · [original](https://github.com/Marvisak/VIctory/issues/102#issuecomment-7120627010) The faulting offset `+0x4ecc84a` is a `clwb` instruction (same site as #103 and #210). The Xeon E5-2630 v4 is Broadwell, which has no CLWB. `main` emulates it since #45 (`7d33c46`), so please `git pull`, rebuild and retest; on #108 another Broadwell user confirmed the title boots past this after updating. Two other notes: - With 8 GB of RAM, the title's ~6.5 GB allocation at startup will likely hit the Windows commit limit next (#23). If `crashes.log` then reports error 1455, increase the paging file size. - `HTTP connection blocked destination=submit.backtrace.io:443` is expected: VIctory keeps the title offline by design.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:47 UTC · original

Automated triage for the maintainers.

This issue is where the 0xc000001d (illegal instruction) crash at +0x4ecc84a on CPUs without clwb is tracked. Other reports of it: #103 (i3-10100F), #106 (Xeon E5-2680 v4), #108 (Xeon E5-2680 v4, confirmed fixed after updating), #210, and the first part of #85.

On main, the loader's handler emulate_amd_only in crates/victory-loader/src/crash.rs now emulates clwb (single instructions via clwb_len, whole write-back loops via clwb_loop) since #45 (7d33c46, merged 2026-11-24 00:30 UTC), and already handled clzero, monitorx/mwaitx, rdpru and SSE4a since #10. This report was built before #45 landed. Could you pull current main, rebuild and say whether the crash is gone? If another 0xc000001d appears, the crash report now shows the refused instruction's bytes; please paste that line with the VIctory commit (git rev-parse --short HEAD).


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:47 UTC · [original](https://github.com/Marvisak/VIctory/issues/102#issuecomment-7149963300) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T02:56:47Z at=2026-11-25T01:50:50Z --> Automated triage for the maintainers. This issue is where the `0xc000001d` (illegal instruction) crash at `+0x4ecc84a` on CPUs without `clwb` is tracked. Other reports of it: #103 (i3-10100F), #106 (Xeon E5-2680 v4), #108 (Xeon E5-2680 v4, confirmed fixed after updating), #210, and the first part of #85. On `main`, the loader's handler `emulate_amd_only` in `crates/victory-loader/src/crash.rs` now emulates `clwb` (single instructions via `clwb_len`, whole write-back loops via `clwb_loop`) since #45 (`7d33c46`, merged 2026-11-24 00:30 UTC), and already handled `clzero`, `monitorx`/`mwaitx`, `rdpru` and SSE4a since #10. This report was built before #45 landed. Could you pull current `main`, rebuild and say whether the crash is gone? If another `0xc000001d` appears, the crash report now shows the refused instruction's bytes; please paste that line with the VIctory commit (`git rev-parse --short HEAD`). --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠hadrianhola on GitHub · 2026-11-26 13:29 UTC · original

Retest on another CPU without clwb, as asked: Intel Core i7-5820K (Haswell-E), Windows 10 19045, RTX 4060, main at 63bcca4 (plus #463 for Agility on Windows 10), release build, Series X profile.

No 0xc000001d. The title ran 10 minutes, through the menus and into the first world frames (the run ended there for an unrelated GPU reason, reported in #49). A local counter in emulate_amd_only (not part of any PR) logged what the handler emulated over those 10 minutes:

instruction emulated cycles in the handler (avg)
clwb 1,207,926 202
clzero 324,095 1,219
monitorx 51,207 51
mwaitx 51,195 360
SSE4a 4,388 106

So on this CPU, every instruction the title uses that Haswell lacks is handled by current main; the cost of doing so is in #1372.

AI-assisted (Claude Code).

**@⁠hadrianhola** on GitHub · 2026-11-26 13:29 UTC · [original](https://github.com/Marvisak/VIctory/issues/102#issuecomment-7193426907) Retest on another CPU without `clwb`, as asked: **Intel Core i7-5820K (Haswell-E)**, Windows 10 19045, RTX 4060, `main` at `63bcca4` (plus #463 for Agility on Windows 10), release build, Series X profile. **No `0xc000001d`.** The title ran 10 minutes, through the menus and into the first world frames (the run ended there for an unrelated GPU reason, reported in #49). A local counter in `emulate_amd_only` (not part of any PR) logged what the handler emulated over those 10 minutes: | instruction | emulated | cycles in the handler (avg) | |---|---:|---:| | `clwb` | 1,207,926 | 202 | | `clzero` | 324,095 | 1,219 | | `monitorx` | 51,207 | 51 | | `mwaitx` | 51,195 | 360 | | SSE4a | 4,388 | 106 | So on this CPU, every instruction the title uses that Haswell lacks is handled by current `main`; the cost of doing so is in #1372. _AI-assisted (Claude 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#102
No description provided.