Ryzen 7 PRO 1700 (Zen 1) / Win11: title breakpoint at +0x22106e0 in early boot — empty-lookup assert family (cf. #2613) #3893

Open
opened 2026-11-30 13:49:19 +00:00 by kowalndm · 1 comment
kowalndm commented 2026-11-30 13:49:19 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by kowalndm on 2026-11-30T13:49:19Z.


Summary

victory run <exe> --execute dies on the title's own breakpoint at +0x22106e0 in early boot, after the image and DLLs bind. Reproduced identically on upstream VIctory, DesertGamer/VIPort, and readmet3xt-lab/foxhound (current main) — all three fail the same way on this CPU, which points at a title-side boot path rather than any single fork.

Machine

CPU AMD Ryzen 7 PRO 1700 Eight-Core (Zen 1, 2017)
GPU NVIDIA GeForce RTX 3060 (12 GB)
RAM 48 GB
OS Windows 11 10.0.22631
Title game_scarlett_master.exe — blake3 b99f876b ("Series 1.0.2.1"), 120 MB
Build main 63bcca4, cargo build --release
Package complete (~209 GB: levels.rpf 76 GB, audio 28 GB, rest present)

CPUID (measured live via __cpuid)

CLZERO yes, AVX2 yes, RDPRU no, CLWB no. Zen 1 lacks CLWB; the loader's AMD-only path emulates it (run log: "a console CPU instruction this CPU lacks: emulated … Clwb").

How far it gets

  1. Maps the title image + DLLs, binds HLE (0 missing).
  2. Emulates CLWB (the only Zen-2 instruction this CPU lacks that the title actually uses).
  3. dstorage opens the RPFs; ~454 zlib failures hr=0x8007000d on optional content, tolerated (same on other GPUs).
  4. Then: unhandled breakpoint at +0x22106e0, process exits (exit code 3).

Crash report (emulator crash log)

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

What it is not

  • Not an unimplemented-import trap (bound missing=0).
  • Not a missing-file issue — the dump is complete; the zlib failures are optional content.
  • Not an instruction-emulation gap — CLWB is the only Zen-2 instruction used and it is emulated; there is no illegal-instruction crash, it fails later on a title breakpoint.
  • Not a CPUID feature check — the title's CPUID/xgetbv use is a standard AVX/AVX2/OSXSAVE/BMI detector that does not check CLWB/RDPRU/RDPID, and the bits it checks are present on Zen 1.
  • Not fork-specific — identical on VIctory, VIPort and foxhound current main.

Question

This looks like the same empty-lookup/assert family as #2613, but at a later offset (+0x22106e0 vs +0x1ce6e13) and only on this pre-Zen 2 CPU (reports of the title reaching the menu/world are on Zen 2+ / Intel hosts). Is there a known init/registration path that differs on pre-Zen 2 — e.g. a CPU model/family check or a timing assumption — that could leave a table unpopulated and land on this assert? Any guidance on what to instrument next would be appreciated.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6697802291 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3893). Originally posted by [kowalndm](https://github.com/kowalndm) on 2026-11-30T13:49:19Z. --- ## Summary `victory run <exe> --execute` dies on the title's own breakpoint at `+0x22106e0` in early boot, after the image and DLLs bind. Reproduced identically on upstream VIctory, DesertGamer/VIPort, and readmet3xt-lab/foxhound (current main) — all three fail the same way on this CPU, which points at a title-side boot path rather than any single fork. ## Machine | | | |---|---| | CPU | AMD Ryzen 7 PRO 1700 Eight-Core (Zen 1, 2017) | | GPU | NVIDIA GeForce RTX 3060 (12 GB) | | RAM | 48 GB | | OS | Windows 11 10.0.22631 | | Title | `game_scarlett_master.exe` — blake3 `b99f876b` ("Series 1.0.2.1"), 120 MB | | Build | main `63bcca4`, `cargo build --release` | | Package | complete (~209 GB: levels.rpf 76 GB, audio 28 GB, rest present) | ## CPUID (measured live via `__cpuid`) CLZERO yes, AVX2 yes, RDPRU no, CLWB no. Zen 1 lacks CLWB; the loader's AMD-only path emulates it (run log: "a console CPU instruction this CPU lacks: emulated … Clwb"). ## How far it gets 1. Maps the title image + DLLs, binds HLE (0 missing). 2. Emulates CLWB (the only Zen-2 instruction this CPU lacks that the title actually uses). 3. `dstorage` opens the RPFs; ~454 zlib failures `hr=0x8007000d` on optional content, tolerated (same on other GPUs). 4. Then: unhandled breakpoint at `+0x22106e0`, process exits (exit code 3). ## Crash report (emulator crash log) ``` 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 ``` ## What it is not - Not an unimplemented-import trap (bound `missing=0`). - Not a missing-file issue — the dump is complete; the zlib failures are optional content. - Not an instruction-emulation gap — CLWB is the only Zen-2 instruction used and it is emulated; there is no illegal-instruction crash, it fails later on a title breakpoint. - Not a CPUID feature check — the title's CPUID/xgetbv use is a standard AVX/AVX2/OSXSAVE/BMI detector that does not check CLWB/RDPRU/RDPID, and the bits it checks are present on Zen 1. - Not fork-specific — identical on VIctory, VIPort and foxhound current main. ## Question This looks like the same empty-lookup/assert family as #2613, but at a later offset (`+0x22106e0` vs `+0x1ce6e13`) and only on this pre-Zen 2 CPU (reports of the title reaching the menu/world are on Zen 2+ / Intel hosts). Is there a known init/registration path that differs on pre-Zen 2 — e.g. a CPU model/family check or a timing assumption — that could leave a table unpopulated and land on this assert? Any guidance on what to instrument next would be appreciated.
MannA-001 commented 2026-12-01 17:39:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by MannA-001 on 2026-12-01T17:39:38Z.


I looked at the stop. +0x22106e0 is a shared "must not be null" check: +0x2a34d0 does test rcx,rcx; je +0x22106e0. Here it is reached from a deserializer at +0x247f590 (your frame #1, +0x247f991). That function reads a 0x90-byte header and a 4-byte count from a stream, allocates count bytes, and asserts the pointer. A count of 0 gives null. So the title got garbage input, not missing setup.

The ~454 dstorage: request failed: zlib (0x8007000d) lines are the likely source. They are not normal: a 70 s boot of main here (Series 1.0.2.1, i5-12400F, RX 7800 XT) reaches the front end with 0 failed requests. The title doesn't check the request status, so it deserializes whatever came back and stops later.

#3938 makes this visible. Each failure line now names the file it read, and the first one logs an error with the archive and offset. Could you run with it, or just post a few of your existing request failed: zlib lines with their name=/offset= fields? If they all point into one archive, copying that file again (or checking its hash against a good copy) should get you past this stop. If the file turns out to be whole, the line tells us exactly which request to look at next.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7319648250 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3893#issuecomment-7319648250). Originally posted by [MannA-001](https://github.com/MannA-001) on 2026-12-01T17:39:38Z. --- I looked at the stop. `+0x22106e0` is a shared "must not be null" check: `+0x2a34d0` does `test rcx,rcx; je +0x22106e0`. Here it is reached from a deserializer at `+0x247f590` (your frame #1, `+0x247f991`). That function reads a 0x90-byte header and a 4-byte count from a stream, allocates `count` bytes, and asserts the pointer. A count of 0 gives null. So the title got garbage input, not missing setup. The ~454 `dstorage: request failed: zlib` (`0x8007000d`) lines are the likely source. They are not normal: a 70 s boot of `main` here (Series 1.0.2.1, i5-12400F, RX 7800 XT) reaches the front end with **0** failed requests. The title doesn't check the request status, so it deserializes whatever came back and stops later. #3938 makes this visible. Each failure line now names the file it read, and the first one logs an error with the archive and offset. Could you run with it, or just post a few of your existing `request failed: zlib` lines with their `name=`/`offset=` fields? If they all point into one archive, copying that file again (or checking its hash against a good copy) should get you past this stop. If the file turns out to be whole, the line tells us exactly which request to look at next.
Sign in to join this conversation.
No labels
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.

Reference
Marvisak/VIctory#3893
No description provided.