Ryzen 7 PRO 1700 (Zen 1): title asserts at +0x22106e0 (purecall) after ~8 frames, retry loop #52

Open
opened 2026-11-30 02:23:49 +00:00 by github-bot · 7 comments
Owner

@⁠kowalndm on GitHub · 2026-11-29 17:37 UTC · original

Title runs ~8 frames, then asserts at +0x22106e0 (purecall stub) in a retry loop — Ryzen 7 PRO 1700 (Zen 1)

System & Build

  • OS: Windows 11 (10.0.22631), x64
  • CPU / RAM: AMD Ryzen 7 PRO 1700 (Zen 1, 2017), ~48 GB RAM
  • GPU / Driver: NVIDIA GeForce RTX 3060 12 GB (Ampere, SM 8.6)
  • Build: foxhound main (source ZIP 2026-11-26), cargo build --release --locked -p victory (Rust 1.98.1, clean)
  • Title dump: Xbox Series build v1.0.2.1 (7952987A), blake3 b99f876b, all 12 .rpf + gameos.xvd + Catalog000.bin present (~209 GB). --execute, no Streamline (RTX 3060 has no frame-gen anyway).

What happens

The title boots, maps images, binds HLE, presents frames 1/2/4/8 (draws 0/4/6/12), then raises 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x22106e0 and dies (exit 3). With the title's own asserts stepped past, the same address is hit ~22 times/sec forever — a retry loop, not a one-shot crash.

Crash report registers: rax 0x908aa7a98 rbx 0xfc00 rcx 0x0 rdx 0x65b3cfea30 rsi 0x0 rdi 0x19a7 rsp 0x65b3cfe9d8 rbp 0x0.

The failure, pinpointed (instruction by instruction)

+0x22106e0 is int3; ret — the shared MSVC purecall stub (30 vtables in .rdata reference it). Full backtrace:

#0  +0x22106e0   purecall stub
#1  +0x247f991   (inside hash-table insert fn)
#2  +0x2499f0d
#3  +0x249981c
#4  +0x374f345
#5  +0x1eb9fee
#6  +0x3750ce9
#7  +0x63e78     worker-thread entry

Null-propagation chain, bottom-up:

  1. +0x140104070: test rdx,rdx; je ret 0; mov rax,[rcx]; mov rax,[rax]; jmp rax — a virtual-call thunk that returns NULL because its arg2 (rdx, the this) is null.
  2. +0x144fac3c0 → returns that null.
  3. +0x14247fc20 (thunk, lock inc [cnt]; jmp +0x144fac3c0) → returns null.
  4. +0x247f772: mov rbp, rax → rbp = null.
  5. +0x247f80c: mov [rsp+0x40], rbp.
  6. +0x247f890: mov rbp, [rsp+0x40].
  7. +0x247f989: mov rcx, rbp → call +0x1402a34c0.
  8. +0x1402a34c0: jmp +0x1402a34d0; test rcx,rcx; je +0x22106e0; ret — the null-guard that jumps to the purecall stub.

So: an empty table → a lookup returns a null object → the null flows up ~9 frames → a null-guard asserts. This is the same empty-registration family as upstream VIctory #2613, one level deeper than the "You must register '%s'" assert.

Why it's not the usual causes

  • Instruction emulation is complete for this CPU. Real (instruction-boundary-verified) use of console-only instructions in the title: clwb 6 sites (emulated), clzero 8 sites (native on Zen 1), monitorx/mwaitx 2 sites (native). rdpru, wbnoinvd, rdpid: 0 real sites (byte-scan hits are false positives inside other instructions' displacements). No illegal-instruction crash — the title passes every emulated instruction and fails later, on a state assertion.
  • CPUID feature detection (9 real cpuid + 2 xgetbv) is a standard AVX/AVX2/OSXSAVE/BMI routine; it does NOT check CLWB/RDPRU/RDPID, and the bits it checks (AVX2, FMA, BMI) are present on Zen 1.
  • The title reports xbox.device_type=6, device.model=Xbox Series S — console detection is correct.

Hardware note

The one thing that differs from the README's tested machine (Ryzen 7 7800X3D / RTX 4070 SUPER) is the CPU: Ryzen 7 PRO 1700 is Zen 1 (2017), two generations older than the title's Zen 2 target. CPUID: CLZERO yes, AVX2 yes, RDPRU no, CLWB no. The same +0x22106e0 loop reproduces identically on upstream VIctory and on VIPort, so it is the title's own init state, not a foxhound-specific bug.

Is there a known init/registration path that depends on a Zen-2-only CPUID bit (or leaf-1 family/model) that foxhound/VIctory doesn't emulate, which would leave this table unpopulated on Zen 1?

**@⁠kowalndm** on GitHub · 2026-11-29 17:37 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52) **Title runs ~8 frames, then asserts at `+0x22106e0` (purecall stub) in a retry loop — Ryzen 7 PRO 1700 (Zen 1)** ## System & Build - OS: Windows 11 (10.0.22631), x64 - CPU / RAM: AMD Ryzen 7 PRO 1700 (Zen 1, 2017), ~48 GB RAM - GPU / Driver: NVIDIA GeForce RTX 3060 12 GB (Ampere, SM 8.6) - Build: foxhound `main` (source ZIP 2026-11-26), `cargo build --release --locked -p victory` (Rust 1.98.1, clean) - Title dump: Xbox Series build v1.0.2.1 (`7952987A`), blake3 `b99f876b`, all 12 `.rpf` + `gameos.xvd` + `Catalog000.bin` present (~209 GB). `--execute`, no Streamline (RTX 3060 has no frame-gen anyway). ## What happens The title boots, maps images, binds HLE, presents frames 1/2/4/8 (draws 0/4/6/12), then raises `0x80000003` at `victory-image-b99f876b74d4a77f.dll+0x22106e0` and dies (exit 3). With the title's own asserts stepped past, the same address is hit ~22 times/sec forever — a retry loop, not a one-shot crash. Crash report registers: `rax 0x908aa7a98 rbx 0xfc00 rcx 0x0 rdx 0x65b3cfea30 rsi 0x0 rdi 0x19a7 rsp 0x65b3cfe9d8 rbp 0x0`. ## The failure, pinpointed (instruction by instruction) `+0x22106e0` is `int3; ret` — the shared MSVC purecall stub (30 vtables in `.rdata` reference it). Full backtrace: ``` #0 +0x22106e0 purecall stub #1 +0x247f991 (inside hash-table insert fn) #2 +0x2499f0d #3 +0x249981c #4 +0x374f345 #5 +0x1eb9fee #6 +0x3750ce9 #7 +0x63e78 worker-thread entry ``` Null-propagation chain, bottom-up: 1. `+0x140104070`: `test rdx,rdx; je ret 0; mov rax,[rcx]; mov rax,[rax]; jmp rax` — a virtual-call thunk that returns **NULL** because its arg2 (`rdx`, the `this`) is null. 2. `+0x144fac3c0` → returns that null. 3. `+0x14247fc20` (thunk, `lock inc [cnt]; jmp +0x144fac3c0`) → returns null. 4. `+0x247f772`: `mov rbp, rax` → `rbp = null`. 5. `+0x247f80c`: `mov [rsp+0x40], rbp`. 6. `+0x247f890`: `mov rbp, [rsp+0x40]`. 7. `+0x247f989`: `mov rcx, rbp` → `call +0x1402a34c0`. 8. `+0x1402a34c0`: `jmp +0x1402a34d0; test rcx,rcx; je +0x22106e0; ret` — the null-guard that jumps to the purecall stub. So: an empty table → a lookup returns a null object → the null flows up ~9 frames → a null-guard asserts. This is the same empty-registration family as upstream VIctory #2613, one level deeper than the "You must register '%s'" assert. ## Why it's not the usual causes - Instruction emulation is complete for this CPU. Real (instruction-boundary-verified) use of console-only instructions in the title: `clwb` 6 sites (emulated), `clzero` 8 sites (native on Zen 1), `monitorx/mwaitx` 2 sites (native). `rdpru`, `wbnoinvd`, `rdpid`: **0 real sites** (byte-scan hits are false positives inside other instructions' displacements). No illegal-instruction crash — the title passes every emulated instruction and fails later, on a state assertion. - CPUID feature detection (9 real `cpuid` + 2 `xgetbv`) is a standard AVX/AVX2/OSXSAVE/BMI routine; it does NOT check CLWB/RDPRU/RDPID, and the bits it checks (AVX2, FMA, BMI) are present on Zen 1. - The title reports `xbox.device_type=6`, `device.model=Xbox Series S` — console detection is correct. ## Hardware note The one thing that differs from the README's tested machine (Ryzen 7 7800X3D / RTX 4070 SUPER) is the CPU: Ryzen 7 PRO 1700 is **Zen 1 (2017)**, two generations older than the title's Zen 2 target. CPUID: CLZERO yes, AVX2 yes, **RDPRU no, CLWB no**. The same `+0x22106e0` loop reproduces identically on upstream VIctory and on VIPort, so it is the title's own init state, not a foxhound-specific bug. Is there a known init/registration path that depends on a Zen-2-only CPUID bit (or leaf-1 family/model) that foxhound/VIctory doesn't emulate, which would leave this table unpopulated on Zen 1?
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 02:23:50 +00:00
Author
Owner

@⁠readmet3xt-lab on GitHub · 2026-11-30 02:02 UTC · original

Thanks for the detailed trace. That build is from 26 November's source. Please try v0.8.1 (https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.8.1) or current main, and if the assert at the same place remains, attach that log.

**@⁠readmet3xt-lab** on GitHub · 2026-11-30 02:02 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52#issuecomment-7266658478) Thanks for the detailed trace. That build is from 26 November's source. Please try v0.8.1 (https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.8.1) or current main, and if the assert at the same place remains, attach that log.
Author
Owner

@⁠kowalndm on GitHub · 2026-11-30 13:12 UTC · original

Retested with current main — commit 7281175 (2026-11-30, the v0.8.2-tier HEAD, newer than v0.8.1) — built from source with cargo build --release --locked -p victory.

The assert at the same place remains. The title binds every HLE module (0 missing), emulates Clwb (the only Zen-2 instruction this Zen 1 CPU lacks that the title actually uses), then the process terminates on an unhandled breakpoint at the identical address with the identical backtrace:

unix time 1796044155, process 15176
VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x22106e0
  rax 0x909edd478 rbx 0xfc00 rcx 0x0 rdx 0x13a73fe940 rsi 0x0 rdi 0x19a7 rsp 0x13a73fe8e8 rbp 0x0
  r8 0x90 r9 0xa0 r10 0x7ffbec5d0000 r11 0x7ffbec5eddc1 r12 0xa73fec01 r13 0x909edd430 r14 0xfcc7 r15 0x7ffb593b5810
  #0  victory-image-b99f876b74d4a77f.dll+0x22106e0
  #1  victory-image-b99f876b74d4a77f.dll+0x247f991
  #2  victory-image-b99f876b74d4a77f.dll+0x2499f0d
  #3  victory-image-b99f876b74d4a77f.dll+0x249981c
  #4  victory-image-b99f876b74d4a77f.dll+0x374f345
  #5  victory-image-b99f876b74d4a77f.dll+0x1eb9fee
  #6  victory-image-b99f876b74d4a77f.dll+0x3750ce9
  #7  victory-image-b99f876b74d4a77f.dll+0x63e78
  #8  victory-image-b99f876b74d4a77f.dll+0x4eaa05a
  #9  victory-image-b99f876b74d4a77f.dll+0x221c29c
  #10 victory-image-b99f876b74d4a77f.dll+0x2215eca
  #11 KERNEL32.DLL+0x1259d
  #12 ntdll.dll+0x5af78
host: AMD Ryzen 7 PRO 1700 Eight-Core Processor, Windows 10.0.22631

+0x22106e0 is the MSVC pure-virtual-call stub (int3; ret). Same frame chain as before: empty service/type registry → hash-table lookup returns null → null-guard (+0x1402a34c0) → purecall assert. Nothing in v0.8.1→main changed this boot path, so the release build behaves the same.

Full log: %LOCALAPPDATA%\victory\data\7952987A\crashes.log (appended; the block above is the newest report).

**@⁠kowalndm** on GitHub · 2026-11-30 13:12 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52#issuecomment-7279506883) Retested with current main — commit `7281175` (2026-11-30, the v0.8.2-tier HEAD, newer than v0.8.1) — built from source with `cargo build --release --locked -p victory`. The assert at the same place remains. The title binds every HLE module (0 missing), emulates `Clwb` (the only Zen-2 instruction this Zen 1 CPU lacks that the title actually uses), then the process terminates on an unhandled breakpoint at the identical address with the identical backtrace: ``` unix time 1796044155, process 15176 VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x22106e0 rax 0x909edd478 rbx 0xfc00 rcx 0x0 rdx 0x13a73fe940 rsi 0x0 rdi 0x19a7 rsp 0x13a73fe8e8 rbp 0x0 r8 0x90 r9 0xa0 r10 0x7ffbec5d0000 r11 0x7ffbec5eddc1 r12 0xa73fec01 r13 0x909edd430 r14 0xfcc7 r15 0x7ffb593b5810 #0 victory-image-b99f876b74d4a77f.dll+0x22106e0 #1 victory-image-b99f876b74d4a77f.dll+0x247f991 #2 victory-image-b99f876b74d4a77f.dll+0x2499f0d #3 victory-image-b99f876b74d4a77f.dll+0x249981c #4 victory-image-b99f876b74d4a77f.dll+0x374f345 #5 victory-image-b99f876b74d4a77f.dll+0x1eb9fee #6 victory-image-b99f876b74d4a77f.dll+0x3750ce9 #7 victory-image-b99f876b74d4a77f.dll+0x63e78 #8 victory-image-b99f876b74d4a77f.dll+0x4eaa05a #9 victory-image-b99f876b74d4a77f.dll+0x221c29c #10 victory-image-b99f876b74d4a77f.dll+0x2215eca #11 KERNEL32.DLL+0x1259d #12 ntdll.dll+0x5af78 host: AMD Ryzen 7 PRO 1700 Eight-Core Processor, Windows 10.0.22631 ``` `+0x22106e0` is the MSVC pure-virtual-call stub (`int3; ret`). Same frame chain as before: empty service/type registry → hash-table lookup returns null → null-guard (`+0x1402a34c0`) → purecall assert. Nothing in v0.8.1→main changed this boot path, so the release build behaves the same. Full log: `%LOCALAPPDATA%\victory\data\7952987A\crashes.log` (appended; the block above is the newest report).
Author
Owner

@⁠kowalndm on GitHub · 2026-11-30 19:30 UTC · original

Correction to my previous comment: the crash is NOT CPU-specific.

I reproduced it byte-identically on a second machine — Ryzen 5 4600H (Zen 2) + GTX 1650 4GB — with the same build. Same unhandled breakpoint at +0x22106e0, same 13-frame backtrace (#0 22106e0 ... #10 2215eca), and the same deterministic registers (rcx=0, rbx=0xfc00, rdi=0x19a7, r14=0xfcc7, rsi=0).

So the earlier "Clwb / Zen-1 CPU" framing was misleading — it reproduces on Zen 1 AND Zen 2 and is deterministic, not a CPU-timing race.

Deeper finding: the service registry is never populated (COUNT 0x983c0c8 and TABLE 0x983c0d0 stay 0 for the whole run) and the register-services entry (0x1da57e0) is never reached. The title's main thread blocks forever in WaitForSingleObject on a gate (0x21b8bd0 -> 0x258db70) that never gets signaled, so init never reaches the registration phase and a worker thread then hits the empty-registry purecall.

That points at an emulator HLE gap (the async init operation the title waits on is never completed), not the host CPU.

**@⁠kowalndm** on GitHub · 2026-11-30 19:30 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52#issuecomment-7289513960) Correction to my previous comment: the crash is NOT CPU-specific. I reproduced it byte-identically on a second machine — Ryzen 5 4600H (Zen 2) + GTX 1650 4GB — with the same build. Same unhandled breakpoint at +0x22106e0, same 13-frame backtrace (#0 22106e0 ... #10 2215eca), and the same deterministic registers (rcx=0, rbx=0xfc00, rdi=0x19a7, r14=0xfcc7, rsi=0). So the earlier "Clwb / Zen-1 CPU" framing was misleading — it reproduces on Zen 1 AND Zen 2 and is deterministic, not a CPU-timing race. Deeper finding: the service registry is never populated (COUNT 0x983c0c8 and TABLE 0x983c0d0 stay 0 for the whole run) and the register-services entry (0x1da57e0) is never reached. The title's main thread blocks forever in WaitForSingleObject on a gate (0x21b8bd0 -> 0x258db70) that never gets signaled, so init never reaches the registration phase and a worker thread then hits the empty-registry purecall. That points at an emulator HLE gap (the async init operation the title waits on is never completed), not the host CPU.
Author
Owner

@⁠kowalndm on GitHub · 2026-11-30 20:03 UTC · original

Root cause found: a missing file, not an HLE defect.

Enabling a file trace (GetFileAttributesW) shows the title's last file operation before the +0x22106e0 crash is:

GetFileAttributesW "G:.\data\data\effects\animimgfilters.zmt" -> 0xFFFFFFFF (missing)

The title loads its .rpf packages fine (levels / navmeshes / packs / textures / audio / script all present), then fails on this one .zmt effects manifest. This matches the pattern in fxceless/victory-fork#581: a missing required archive triggers the title's "required archive could not be opened" assert, and their halt sequence 0x1ce6e13 -> 0x2224517 -> 0x1d5cc69 -> 0x22106e0 ends at the same 0x22106e0. The string "animimgfilters" appears in no .rpf directory (checked common/data/anim/shaders/textures/script plus the first 1 GB TOC of levels/audio/movies/packs/navmeshes).

So the dump is missing animimgfilters.zmt; obtaining/extracting it should clear the halt. Not CPU-specific (reproduces identically on Zen 1 + RTX 3060 and Zen 2 + GTX 1650).

**@⁠kowalndm** on GitHub · 2026-11-30 20:03 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52#issuecomment-7290338260) Root cause found: a missing file, not an HLE defect. Enabling a file trace (GetFileAttributesW) shows the title's last file operation before the +0x22106e0 crash is: GetFileAttributesW "G:\.\data\data\effects\animimgfilters.zmt" -> 0xFFFFFFFF (missing) The title loads its .rpf packages fine (levels / navmeshes / packs / textures / audio / script all present), then fails on this one .zmt effects manifest. This matches the pattern in fxceless/victory-fork#581: a missing required archive triggers the title's "required archive could not be opened" assert, and their halt sequence 0x1ce6e13 -> 0x2224517 -> 0x1d5cc69 -> 0x22106e0 ends at the same 0x22106e0. The string "animimgfilters" appears in no .rpf directory (checked common/data/anim/shaders/textures/script plus the first 1 GB TOC of levels/audio/movies/packs/navmeshes). So the dump is missing animimgfilters.zmt; obtaining/extracting it should clear the halt. Not CPU-specific (reproduces identically on Zen 1 + RTX 3060 and Zen 2 + GTX 1650).
Author
Owner

@⁠kowalndm on GitHub · 2026-11-30 21:44 UTC · original

Correction to my previous comment: the missing animimgfilters.zmt was NOT the root cause.

I placed an empty file at Game\data\data\effects\animimgfilters.zmt (and data\effects) and re-ran with the file trace. Result: GetFileAttributesW on that path now succeeds (no longer 0xFFFFFFFF), yet the crash is byte-identical (+0x22106e0, same backtrace and register pattern).

So that .zmt access is a benign loose-override check — its absence is not what triggers the halt. Reverting to the pre-file-trace finding: the halt is a gate deadlock — the title's main thread waits forever on a gate (counter=1, handle 0x1308) that never signals; "register services" never fires; the service registry stays empty; a worker then hits the empty registry -> purecall at +0x22106e0.

**@⁠kowalndm** on GitHub · 2026-11-30 21:44 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52#issuecomment-7292837507) Correction to my previous comment: the missing animimgfilters.zmt was NOT the root cause. I placed an empty file at Game\data\data\effects\animimgfilters.zmt (and data\effects\) and re-ran with the file trace. Result: GetFileAttributesW on that path now succeeds (no longer 0xFFFFFFFF), yet the crash is byte-identical (+0x22106e0, same backtrace and register pattern). So that .zmt access is a benign loose-override check — its absence is not what triggers the halt. Reverting to the pre-file-trace finding: the halt is a gate deadlock — the title's main thread waits forever on a gate (counter=1, handle 0x1308) that never signals; "register services" never fires; the service registry stays empty; a worker then hits the empty registry -> purecall at +0x22106e0.
Author
Owner

@⁠kowalndm on GitHub · 2026-11-30 21:56 UTC · original

Decisive result: the gate is a SYMPTOM, not the cause.

I added VICTORY_FORCE_GATE=1 (zeroes the gate counter at the acquire breakpoint 0x258db70). Forcing the gate open unblocked the title-main thread: it enumerated all 82 .zmt resources (including platform:/data/effects/animimgfilters.zmt — so that file EXISTS as a resource; the earlier loose GetFileAttributesW on it was a benign override check) and rendered frames, then crashed at a NEW point: 0xc0000005 (read 0x4, null) at +0x1b15b26, inside the AcquireLock proceed path.

register_services (0x1da57e0), phase handler F (0x1d7b220) and the registration flow (0x2bc2f80) still show 0 hits. So the init phase scheduler never dispatches the register-services phase; the registry stays empty and the title null-derefs / purecalls on uninitialized state.

The gate object is at obj+0x5a0 (counter [obj+0x608], event handle [obj+0x610]).

**@⁠kowalndm** on GitHub · 2026-11-30 21:56 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52#issuecomment-7293124192) Decisive result: the gate is a SYMPTOM, not the cause. I added VICTORY_FORCE_GATE=1 (zeroes the gate counter at the acquire breakpoint 0x258db70). Forcing the gate open unblocked the title-main thread: it enumerated all 82 .zmt resources (including platform:/data/effects/animimgfilters.zmt — so that file EXISTS as a resource; the earlier loose GetFileAttributesW on it was a benign override check) and rendered frames, then crashed at a NEW point: 0xc0000005 (read 0x4, null) at +0x1b15b26, inside the AcquireLock proceed path. register_services (0x1da57e0), phase handler F (0x1d7b220) and the registration flow (0x2bc2f80) still show 0 hits. So the init phase scheduler never dispatches the register-services phase; the registry stays empty and the title null-derefs / purecalls on uninitialized state. The gate object is at obj+0x5a0 (counter [obj+0x608], event handle [obj+0x610]).
Author
Owner

@⁠readmet3xt-lab on GitHub · 2026-12-01 01:08 UTC · original

Hi, and thanks for the report.

This repository is public, and to keep the project safe nothing posted here may name or identify the game, or point to where copies come from. Could you please edit the following, removing:

  • @⁠kowalndm, your issue: the game executable's file name and the build number (write <exe> and "the supported build" instead).

Once it is edited, we clear the old revisions from the post's edit history on our side.

Technical details (GPU, settings, errors, the log with the game folder replaced) are very welcome. See the issue template for what helps. Thank you!

**@⁠readmet3xt-lab** on GitHub · 2026-12-01 01:08 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/52#issuecomment-7297134858) Hi, and thanks for the report. This repository is public, and to keep the project safe nothing posted here may name or identify the game, or point to where copies come from. Could you please edit the following, removing: - @⁠kowalndm, your issue: the game executable's file name and the build number (write `<exe>` and "the supported build" instead). Once it is edited, we clear the old revisions from the post's edit history on our side. Technical details (GPU, settings, errors, the log with the game folder replaced) are very welcome. See the issue template for what helps. Thank you!
This discussion has been locked. Commenting is limited to contributors.
No description provided.