GTX 1050/Win10: title int3 at +0x1ce6e13 in System Init — service registration's sink lookup fails (earliest boot assert so far) #2613

Open
opened 2026-11-26 05:10:20 +00:00 by github-bot · 8 comments
Owner

@⁠kotekompotek on GitHub · 2026-11-25 16:49 UTC · original

Summary

victory run <exe> --execute dies deterministically on the title's own int3 at +0x1ce6e13, ~1 s into "System Init" — right after DirectStorage opens G:\appdata0.rpf and G:\common.rpf, before any window. Reproduced on every boot (debug and diag builds).

This is a new site: earlier than #8's +0x2237178 and #2013's +0x1330a44, but the same "service registry lookup / validation" family — see the decode below.

Machine

GPU NVIDIA GTX 1050 (2 GB), driver current, Windows 10 19045
CPU Intel i5-8300H
Title game_scarlett_master.exe — blake3 b99f876b… ("Series 1.0.2.1"), 120,181,760 bytes
Build cargo build debug + --profile diag --features diagnostics, both repro
Partial package 31/104 manifest files (all 6 early RPFs + all DLLs present, valid RPF9); crash is unrelated to missing content — happens before world streaming

Boot log tail

dstorage: workers 8
dstorage: file opened "G:\appdata0.rpf"
dstorage: file opened "G:\common.rpf"
VIctory: first-chance exception 0x80000003 at +0x1ce6e13
  rcx 0x7ffb8b124fe0   rdx 0x127800000001   (rdx tag varies per boot: 0x26a4.., 0x3584.., 0x1278..)

Decode of the site (static, same exe as #630's map)

+0x1ce6df0 is a validator: if both args non-null it requires check(rcx, rdx+0x60) to return true:

+0x1ce6e01  or al,r8b            ; rcx==0 || rdx==0 -> skip
+0x1ce6e04  jne +0x1ce6e14       ; pass
+0x1ce6e0a  call +0x292d370      ; check -> al
+0x1ce6e11  jne +0x1ce6e14       ; pass
+0x1ce6e13  int3

check (+0x292d370, ~0x900 bytes) walks an array at [rdx+0x64..0x68] (count +4, data +8) doing a broadcast-byte compare (vpbroadcastb of the constant byte at +0x61590a7 = 0x75) — a tag/table lookup that returns false when the entry is absent.

Caller chain (from the crash backtrace, unwind is clean):

  • +0x5a3f200 — service registration: stores the tagged service value at container+0x2b0 (+flag +0x2b8), calls vtable[8]() on two sink objects +0x2a0/+0x2a8, then tail-jumps into the validator with rcx=[container+0x2a8], rdx=[container+0x2b0].
  • +0x293ef38 — caller builds a small object around the global at +0x7bb4f48 and calls +0x5a3f200.
  • The container comes from the global pointer at +0x7f00510.

So: a service registers its tag, one sink's lookup table does not contain it, assert. Either the service the title just created is a different kind than the sink expects (our HLE answered an init call with a shell object), or a lookup table entry never got added.

What it is not

  • Not an unimplemented-import trap (bound missing=0; Trap policy would log + abort, not int3 in title code)
  • Not missing files — only present archives were opened
  • Not shader-model gated — the emulated device always reports SM 6.6 to the title
  • Not load-dependent — deterministic at ~1 s, cold cache or warm

Context

  • Sibling early-boot int3: #8 at +0x2237178 (RTX 3080 Ti, same RVA under XCL)
  • Same lookup-fail family, later in boot: #2013 at +0x1330a44 (service lookup by tag returns false, world bootstrap)
  • Posted the site to #630's cross-project map for naming.

Happy to run diagnostics (VICTORY_STACKS, VICTORY_WATCH, VICTORY_CRASH_SAVE) — note the crash precedes the 1 s mark so timed stack dumps miss it; a "stacks at first-chance" option would be the right knob for this phase.

**@⁠kotekompotek** on GitHub · 2026-11-25 16:49 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613) ## Summary `victory run <exe> --execute` dies deterministically on the title's own `int3` at `+0x1ce6e13`, ~1 s into "System Init" — right after DirectStorage opens `G:\appdata0.rpf` and `G:\common.rpf`, before any window. Reproduced on every boot (debug and diag builds). This is a **new site**: earlier than #8's `+0x2237178` and #2013's `+0x1330a44`, but the same "service registry lookup / validation" family — see the decode below. ## Machine | | | |---|---| | GPU | NVIDIA GTX 1050 (2 GB), driver current, Windows 10 19045 | | CPU | Intel i5-8300H | | Title | `game_scarlett_master.exe` — blake3 `b99f876b…` ("Series 1.0.2.1"), 120,181,760 bytes | | Build | `cargo build` debug + `--profile diag --features diagnostics`, both repro | | Partial package | 31/104 manifest files (all 6 early RPFs + all DLLs present, valid RPF9); crash is unrelated to missing content — happens before world streaming | ## Boot log tail ``` dstorage: workers 8 dstorage: file opened "G:\appdata0.rpf" dstorage: file opened "G:\common.rpf" VIctory: first-chance exception 0x80000003 at +0x1ce6e13 rcx 0x7ffb8b124fe0 rdx 0x127800000001 (rdx tag varies per boot: 0x26a4.., 0x3584.., 0x1278..) ``` ## Decode of the site (static, same exe as #630's map) `+0x1ce6df0` is a validator: if both args non-null it requires `check(rcx, rdx+0x60)` to return true: ``` +0x1ce6e01 or al,r8b ; rcx==0 || rdx==0 -> skip +0x1ce6e04 jne +0x1ce6e14 ; pass +0x1ce6e0a call +0x292d370 ; check -> al +0x1ce6e11 jne +0x1ce6e14 ; pass +0x1ce6e13 int3 ``` `check` (`+0x292d370`, ~0x900 bytes) walks an array at `[rdx+0x64..0x68]` (count `+4`, data `+8`) doing a broadcast-byte compare (`vpbroadcastb` of the constant byte at `+0x61590a7` = `0x75`) — a tag/table lookup that returns false when the entry is absent. Caller chain (from the crash backtrace, unwind is clean): - `+0x5a3f200` — **service registration**: stores the tagged service value at `container+0x2b0` (+flag `+0x2b8`), calls `vtable[8]()` on two sink objects `+0x2a0`/`+0x2a8`, then tail-jumps into the validator with `rcx=[container+0x2a8]`, `rdx=[container+0x2b0]`. - `+0x293ef38` — caller builds a small object around the global at `+0x7bb4f48` and calls `+0x5a3f200`. - The container comes from the global pointer at `+0x7f00510`. So: **a service registers its tag, one sink's lookup table does not contain it, assert.** Either the service the title just created is a different kind than the sink expects (our HLE answered an init call with a shell object), or a lookup table entry never got added. ## What it is not - Not an unimplemented-import trap (bound `missing=0`; Trap policy would log + abort, not int3 in title code) - Not missing files — only present archives were opened - Not shader-model gated — the emulated device always reports SM 6.6 to the title - Not load-dependent — deterministic at ~1 s, cold cache or warm ## Context - Sibling early-boot int3: #8 at `+0x2237178` (RTX 3080 Ti, same RVA under XCL) - Same lookup-fail family, later in boot: #2013 at `+0x1330a44` (service lookup by tag returns false, world bootstrap) - Posted the site to #630's cross-project map for naming. Happy to run diagnostics (`VICTORY_STACKS`, `VICTORY_WATCH`, `VICTORY_CRASH_SAVE`) — note the crash precedes the 1 s mark so timed stack dumps miss it; a "stacks at first-chance" option would be the right knob for this phase.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:10:20 +00:00
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 17:40 UTC · original

Progress using the VICTORY_STEP_OVER approach from #2644 (applied locally on a diag build): the site +0x1ce6e13 steps over cleanly and the run continues into a chain of further int3 asserts:

+0x1ce6e13  container validator (first site)
+0x2224517
+0x1d5cc69  inside 0x1d5cc60: `mov eax,ecx; cmp cx,0x3e7; ja ok; int3; add eax,5; ret`
+0x22106e0
+0x2219650

Then the first non-breakpoint failure: 0xc0000005 write to 0x0 inside VCRUNTIME140 memset, called from +0x5b29842 — a growable-array helper that memsets [rsi+0x20] (buffer == NULL) sized from the index the bounds gate just returned.

The gate at 0x1d5cc60 requires the incoming index > 0x3e7 (≥1000) and returns index + 5; the caller at 0x5b297f0 then does index - 0x3e8 to get a local slot. The index actually passed was 38 — so whatever should have been registered in the ≥1000 service namespace either was not registered or came back as a low/absent id. All five stepped asserts look like downstream checks of that one missing registration.

Hardware: GTX 1050, driver 581.80 / i5-8300H, diag build off main + #2644's patch.

**@⁠kotekompotek** on GitHub · 2026-11-25 17:40 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7169850883) Progress using the `VICTORY_STEP_OVER` approach from #2644 (applied locally on a diag build): the site `+0x1ce6e13` steps over cleanly and the run continues into a chain of further `int3` asserts: ``` +0x1ce6e13 container validator (first site) +0x2224517 +0x1d5cc69 inside 0x1d5cc60: `mov eax,ecx; cmp cx,0x3e7; ja ok; int3; add eax,5; ret` +0x22106e0 +0x2219650 ``` Then the first non-breakpoint failure: `0xc0000005` write to `0x0` inside `VCRUNTIME140` memset, called from `+0x5b29842` — a growable-array helper that memsets `[rsi+0x20]` (buffer == NULL) sized from the index the bounds gate just returned. The gate at `0x1d5cc60` requires the incoming index `> 0x3e7` (≥1000) and returns `index + 5`; the caller at `0x5b297f0` then does `index - 0x3e8` to get a local slot. The index actually passed was **38** — so whatever should have been registered in the ≥1000 service namespace either was not registered or came back as a low/absent id. All five stepped asserts look like downstream checks of that one missing registration. Hardware: GTX 1050, driver 581.80 / i5-8300H, diag build off main + #2644's patch.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 17:43 UTC · original

Walked the chain further back. The stepped site +0x2224517 sits inside 0x2224350, the init of an object created at +0x2240eb0 (new(0x28), vtable at rva 0x6195780, stored to a global). The init calls 0x5b61000 — a descriptor-enumeration helper that forwards to 0x1621a70 with two .rdata query keys (rva 0x6181340 and rva 0x617a560, the second tagged 0x40747645 ≈ "Evt@"), succeeding only when [out+0x78] is set. It returned false — the registry it walks has no matching descriptor.

Each matching entry (0x20 bytes) would be filtered by 0x2224530 (bit-mask tests against capability globals at rip+0x52219d0) and registered into the object's +0x20 buffer; field +0x410 of that buffer is the service index later registered via 0x5b297f0. With the enumeration empty the field keeps its stale value 38, which is why the index gate 0x1d5cc60 (cx must be > 0x3e7) tripped and the array memset walked a NULL buffer.

So the boot blocker is one missing service-family registration ("Evt"-tagged descriptors) — everything else observed is downstream of it.

**@⁠kotekompotek** on GitHub · 2026-11-25 17:43 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7169900039) Walked the chain further back. The stepped site `+0x2224517` sits inside `0x2224350`, the init of an object created at `+0x2240eb0` (`new(0x28)`, vtable at rva `0x6195780`, stored to a global). The init calls `0x5b61000` — a descriptor-enumeration helper that forwards to `0x1621a70` with two `.rdata` query keys (`rva 0x6181340` and `rva 0x617a560`, the second tagged `0x40747645` ≈ "Evt@"), succeeding only when `[out+0x78]` is set. It returned false — the registry it walks has no matching descriptor. Each matching entry (0x20 bytes) would be filtered by `0x2224530` (bit-mask tests against capability globals at `rip+0x52219d0`) and registered into the object's `+0x20` buffer; field `+0x410` of that buffer is the service index later registered via `0x5b297f0`. With the enumeration empty the field keeps its stale value 38, which is why the index gate `0x1d5cc60` (`cx must be > 0x3e7`) tripped and the array memset walked a NULL buffer. So the boot blocker is one missing service-family registration ("Evt"-tagged descriptors) — everything else observed is downstream of it.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 18:14 UTC · original

One more layer down. The failing enumeration (0x5b61000 → 0x1621a70 → 0x1621ae0) resolves to a service manifest read: 0x1621ae0 opens a resource named by the query's descriptor key, reads a blob starting with a 4-byte tag (checked against two magics — LE dwords 0x38435352 / 0x5053494e), then scans the text for memory: and growbuffer: keys and parses memory:$%p,%d (pointer + size via sscanf, requires both fields).

So the "Evt@" descriptor family names a service-provided data blob the title expects the OS to hand it — a pointer-plus-size manifest. On the host nothing provides it → enumeration returns false → the assert chain in the earlier comments. Next useful data point would be which descriptor key is requested; that falls out of 0x5b61000's call site arguments (rdx=0x6181340, r8=0x617a560).

Also verified locally: translate --pipelines on shaders.rpf cannot reproduce #2124 on this box — emit::Host::new fails early ("the device supports SM 0x65 only"; WARP path reports 6.2). SM 6.6 needs the Agility SDK route.

**@⁠kotekompotek** on GitHub · 2026-11-25 18:14 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7170631558) One more layer down. The failing enumeration (`0x5b61000` → `0x1621a70` → `0x1621ae0`) resolves to a *service manifest read*: `0x1621ae0` opens a resource named by the query's descriptor key, reads a blob starting with a 4-byte tag (checked against two magics — LE dwords `0x38435352` / `0x5053494e`), then scans the text for `memory:` and `growbuffer:` keys and parses `memory:$%p,%d` (pointer + size via sscanf, requires both fields). So the "Evt@" descriptor family names a service-provided data blob the title expects the OS to hand it — a pointer-plus-size manifest. On the host nothing provides it → enumeration returns false → the assert chain in the earlier comments. Next useful data point would be which descriptor key is requested; that falls out of `0x5b61000`'s call site arguments (`rdx=0x6181340`, `r8=0x617a560`). Also verified locally: `translate --pipelines` on `shaders.rpf` cannot reproduce #2124 on this box — emit::Host::new fails early ("the device supports SM 0x65 only"; WARP path reports 6.2). SM 6.6 needs the Agility SDK route.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 18:48 UTC · original · edited 2026-11-26 03:46 UTC

Automated triage for the maintainers.

Disassembly and decoded internals of the title's code must not be posted here; this is flagged for the maintainer.

Run report: GTX 1050 2 GB, driver 581.80, Windows 10 19045, main 63bcca4 (diag build). The title's own breakpoint at +0x1ce6e13 about 1 s into boot, before any window. Stepping past it needs a local patch from #2644 (open), so the later stops are not from unmodified main.

The latest comments say the files were still incomplete during these runs: several archives were empty preallocations or locked by another process. In the newest run, with more of them in place, boot got past the step that failed before and stopped one step later instead. That points to the incomplete files rather than to a runtime gap.

Two things still need ruling out before this can be read as a runtime gap:

  • Incomplete files: please rerun only once the complete set of files you supply is in place, with nothing else writing to them.
  • Host below requirements: this device reports shader model 6.5, and the README requires 6.6. Windows 10 without the Agility SDK is discussed in #84 and #2563.

A rerun on unmodified 63bcca4 or later with complete files, giving the breakpoint offset and the last log lines, would settle it. This is a different site from #2013, an early title breakpoint after a failed service lookup on an RTX 4060 Laptop.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 18:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7171429542) · edited 2026-11-26 03:46 UTC <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-26T02:44:07Z at=2026-11-26T03:55:00Z --> Automated triage for the maintainers. Disassembly and decoded internals of the title's code must not be posted here; this is flagged for the maintainer. Run report: GTX 1050 2 GB, driver 581.80, Windows 10 19045, main `63bcca4` (diag build). The title's own breakpoint at `+0x1ce6e13` about 1 s into boot, before any window. Stepping past it needs a local patch from #2644 (open), so the later stops are not from unmodified main. The latest comments say the files were still incomplete during these runs: several archives were empty preallocations or locked by another process. In the newest run, with more of them in place, boot got past the step that failed before and stopped one step later instead. That points to the incomplete files rather than to a runtime gap. Two things still need ruling out before this can be read as a runtime gap: - **Incomplete files:** please rerun only once the complete set of files you supply is in place, with nothing else writing to them. - **Host below requirements:** this device reports shader model 6.5, and the README requires 6.6. Windows 10 without the Agility SDK is discussed in #84 and #2563. A rerun on unmodified `63bcca4` or later with complete files, giving the breakpoint offset and the last log lines, would settle it. This is a different site from #2013, an early title breakpoint after a failed service lookup on an RTX 4060 Laptop. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-26 00:25 UTC · original

Re-baselined on main 63bcca4 (diag build, GTX 1050): the boot blocker is unchanged — +0x1ce6e13 is still the first assert, and stepping the same five sites lands on the same memset(NULL) at VCRUNTIME via +0x5b29847. The title's own crash reporter then runs (its crash.log shows "Game State: System Init") and submits to backtrace, which our net module correctly blocks.

New layer on the missing-descriptor mechanism, from static analysis of this build:

  • The "Evt@" family key is literal: the second query descriptor at rva 0x617a560 begins with "Evt@" (0x40747645), the companion at 0x6181340 is a small typed record {u32 2, u32 8, f32 -1,-1,...} — looks like a (family tag, version/shape) descriptor pair.
  • The enumeration at 0x1621ae0 formats a URI from the keys (0x128bb70 joins name + "." + suffix via strchr/stricmp), then 0x48c90 iterates a per-thread registry (0x643cd0 reads a lazy context from gs:[0x58], count at +0xc04), resolving each candidate through a scheme-provider lookup (0x968480 extracts the scheme up to : and the provider's vtable[0x20] answers by name).
  • A found blob must start with a 4-byte tag (two accepted magics) and is scanned for memory:/growbuffer: keys, parsed as memory:$%p,%d — a service handing the title a pointer+size manifest.

So the missing piece is a service-descriptor registry the platform seeds (scheme providers answering "Evt@..." names), not a game file — nothing in our HLE surface currently models it. The per-thread context object the enumeration walks is title-internal; what populates its entries during init is the next thing to trace.

Separately noted during the run: dstorage WARN "opening G:\movies.rpf failed (os error 32, sharing violation)" — the file's mtime was the run's own timestamp, i.e. the game dump was still being extracted by another process at run time. Not a loader bug; just an artifact worth discounting in other reports.

**@⁠kotekompotek** on GitHub · 2026-11-26 00:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7178745750) Re-baselined on main `63bcca4` (diag build, GTX 1050): the boot blocker is unchanged — `+0x1ce6e13` is still the first assert, and stepping the same five sites lands on the same `memset(NULL)` at VCRUNTIME via `+0x5b29847`. The title's own crash reporter then runs (its crash.log shows "Game State: System Init") and submits to backtrace, which our net module correctly blocks. New layer on the missing-descriptor mechanism, from static analysis of this build: - The "Evt@" family key is literal: the second query descriptor at rva `0x617a560` begins with `"Evt@"` (`0x40747645`), the companion at `0x6181340` is a small typed record `{u32 2, u32 8, f32 -1,-1,...}` — looks like a (family tag, version/shape) descriptor pair. - The enumeration at `0x1621ae0` formats a **URI** from the keys (`0x128bb70` joins `name + "." + suffix` via strchr/stricmp), then `0x48c90` iterates a per-thread registry (`0x643cd0` reads a lazy context from `gs:[0x58]`, count at `+0xc04`), resolving each candidate through a **scheme-provider** lookup (`0x968480` extracts the scheme up to `:` and the provider's `vtable[0x20]` answers by name). - A found blob must start with a 4-byte tag (two accepted magics) and is scanned for `memory:`/`growbuffer:` keys, parsed as `memory:$%p,%d` — a service handing the title a pointer+size manifest. So the missing piece is a service-descriptor registry the platform seeds (scheme providers answering "Evt@..." names), not a game file — nothing in our HLE surface currently models it. The per-thread context object the enumeration walks is title-internal; what populates its entries during init is the next thing to trace. Separately noted during the run: `dstorage` WARN "opening G:\movies.rpf failed (os error 32, sharing violation)" — the file's mtime was the run's own timestamp, i.e. the game dump was still being extracted by another process at run time. Not a loader bug; just an artifact worth discounting in other reports.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-26 00:52 UTC · original

Chain now traced end to end on the 1.0.2.1 image (statics + a live capture on this host; no game data included).

The failing URI is packcache:/install — captured at runtime from the name struct the open uses (a (ptr,len) at +0x7bb4f48, populated before the mount).

Call chain (confirmed by the faulting thread's unwind: +0x1ce6e13 ← +0x293ef38 ← +0x2236cf6 ← +0x2240eab):

  1. Early init +0x2240eab → +0x2236c90 — writes "G:/" into the global device list (+0x74530b0) and registers it into the current thread's URI-resolver registry. That registry is a per-thread object reached via gs:[0x58] → +0x7f0 (0xc10 bytes, up to 12 resolver prefixes of 0x100 each, count at +0xc04). So G:/ is mounted when the crash path runs — the mechanism is healthy.
  2. → +0x293ee20 — installs a scoped TLS name context (ctx+0x1258, flags |0x404) → +0x5a3f200(device, "packcache:/install", ctx).
  3. → the URI blob loader (+0x1621ae0): iterates the thread's resolver prefixes (+0x48c90 → +0x128ba10 formats prefix+URI), then +0x1972d70 extracts the URI scheme and calls the scheme provider's vtable[0x20].
  4. +0x968480, the scheme dispatch, is a fixed compile-time table: signed-JOAAT hash buckets for memory (0xb37535d9) and growbuffer (0x46b0fb26) plus a third hash 0x5dccb711, and literal prefixes tcpip:, globalroot, t:/\??\T://?/T: variants, g:, R:. packcache (JOAAT 0xacf9a5e8) matches nothing → provider NULL → +0x1621be3 writes +0x78 = 0 → the caller asserts at +0x1ce6e13 (the int3 this issue's STEP_OVER chain leads to, ending at the memset(NULL) write).

What this rules in/out. The earlier hypothesis "per-thread resolver registry is empty" is dead — G:/ registers fine on the faulting thread (watched the device-list global get 0x2f3a47 = "G:/" and all provider objects construct). packcache: simply isn't a scheme this dispatcher knows — so on console it must be resolved one level up, inside +0x5a3f200's device-vtable path (a sub-volume/pack mount on the G: device, vtable +0x4ec7c90), before the generic URI loader is ever asked. The plausibly-victory-side gap is therefore wherever that sub-volume resolve bottoms out — the loose G: dump has no packcache volume, but pack/ holds the <name>/<name>.rpf mount units a pack cache would enumerate.

Where to look next. +0x5a3f200 is the dispatcher that should short-circuit packcache: before it reaches +0x968480 — its vtable calls (*0x8(%rax), *0x10(%rax) on the device object) are the next hop. "packcache" is runtime-built (not in .rdata); the second resolver-mount path +0x1f68830 (conditional on the +0x1a3f6c0 predicate, registers a copy of the device list from +0x7453130) is a candidate for who would register a packcache resolver if a conditional branch differs under our runtime.

Diagnostics note: the URI was caught by a small VICTORY_WATCH_PTR=<rva>:<len> addition to the watch() diag aid (deref a static pointer slot and dump its target on change) — cheap addition to the diag build if anyone else needs it.

**@⁠kotekompotek** on GitHub · 2026-11-26 00:52 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7179195820) Chain now traced end to end on the 1.0.2.1 image (statics + a live capture on this host; no game data included). **The failing URI is `packcache:/install`** — captured at runtime from the name struct the open uses (a `(ptr,len)` at `+0x7bb4f48`, populated before the mount). **Call chain** (confirmed by the faulting thread's unwind: `+0x1ce6e13 ← +0x293ef38 ← +0x2236cf6 ← +0x2240eab`): 1. Early init `+0x2240eab` → `+0x2236c90` — writes `"G:/"` into the global device list (`+0x74530b0`) and registers it into the **current thread's** URI-resolver registry. That registry is a per-thread object reached via `gs:[0x58] → +0x7f0` (0xc10 bytes, up to 12 resolver prefixes of 0x100 each, count at +0xc04). So `G:/` *is* mounted when the crash path runs — the mechanism is healthy. 2. → `+0x293ee20` — installs a scoped TLS name context (`ctx+0x1258`, flags `|0x404`) → `+0x5a3f200(device, "packcache:/install", ctx)`. 3. → the URI blob loader (`+0x1621ae0`): iterates the thread's resolver prefixes (`+0x48c90` → `+0x128ba10` formats prefix+URI), then `+0x1972d70` extracts the URI scheme and calls the scheme provider's `vtable[0x20]`. 4. `+0x968480`, the scheme dispatch, is a **fixed compile-time table**: signed-JOAAT hash buckets for `memory` (0xb37535d9) and `growbuffer` (0x46b0fb26) plus a third hash 0x5dccb711, and literal prefixes `tcpip:`, `globalroot`, `t:`/`\??\T:`/`/?/T:` variants, `g:`, `R:`. `packcache` (JOAAT 0xacf9a5e8) matches nothing → provider NULL → `+0x1621be3` writes `+0x78 = 0` → the caller asserts at `+0x1ce6e13` (the `int3` this issue's STEP_OVER chain leads to, ending at the memset(NULL) write). **What this rules in/out.** The earlier hypothesis "per-thread resolver registry is empty" is dead — `G:/` registers fine on the faulting thread (watched the device-list global get `0x2f3a47` = `"G:/"` and all provider objects construct). `packcache:` simply isn't a scheme this dispatcher knows — so on console it must be resolved one level up, inside `+0x5a3f200`'s device-vtable path (a sub-volume/pack mount on the `G:` device, vtable `+0x4ec7c90`), before the generic URI loader is ever asked. The plausibly-victory-side gap is therefore wherever that sub-volume resolve bottoms out — the loose `G:` dump has no `packcache` volume, but `pack/` holds the `<name>/<name>.rpf` mount units a pack cache would enumerate. **Where to look next.** `+0x5a3f200` is the dispatcher that should short-circuit `packcache:` before it reaches `+0x968480` — its vtable calls (`*0x8(%rax)`, `*0x10(%rax)` on the device object) are the next hop. "packcache" is runtime-built (not in .rdata); the second resolver-mount path `+0x1f68830` (conditional on the `+0x1a3f6c0` predicate, registers a *copy* of the device list from `+0x7453130`) is a candidate for who would register a packcache resolver if a conditional branch differs under our runtime. Diagnostics note: the URI was caught by a small `VICTORY_WATCH_PTR=<rva>:<len>` addition to the `watch()` diag aid (deref a static pointer slot and dump its target on change) — cheap addition to the diag build if anyone else needs it.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-26 02:17 UTC · original

Correction and continuation of the trace — my earlier "empty registry" model was wrong on two counts.

Live instrumentation (a watch on the device-prefix table at title+0x1478f5ec4/0x1478f5ec8) shows the table is populated before the failing open. Registered prefixes, in order: packroot:/, packcache:/, platform:/, common:/, commoncrc:/, platformcrc:/, settings:/, gamecache:/. So packcache: resolves fine — the fixed scheme table is only a fallback; the device-prefix resolver (title+0x28c8ec0) matches the longest registered prefix and calls vtable[0x168] on that device's provider.

The actual failing step: packcache:'s provider (vftable at image+0x62fd480, shared with common:/) is a name-hash index — slot 0x168 computes a salted hash of the remainder (install) and probes an internal table. install misses because nothing ever populated the provider's content list.

One caveat that matters for repro: my test dump is still downloading (qBittorrent — several pack/*/*.rpf files are 0-byte preallocations and packs.rpf begins with zeros). The packcache provider plausibly fills its index from pack metadata that simply wasn't on disk yet, so this run may be a false signal. Also noted: the title does call XPackageEnumeratePackages (kind 1, content) once during init and we answer "none" — on console that path may feed the packcache list.

Next step on my end: re-baseline once the download completes. If install still misses with complete data, the gap is the package/volume enumeration (xpackage kind-1 returning nothing, or a volume-mount API we don't serve) rather than data.

**@⁠kotekompotek** on GitHub · 2026-11-26 02:17 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7180663336) Correction and continuation of the trace — my earlier "empty registry" model was wrong on two counts. Live instrumentation (a watch on the device-prefix table at title+0x1478f5ec4/0x1478f5ec8) shows the table **is** populated before the failing open. Registered prefixes, in order: `packroot:/`, `packcache:/`, `platform:/`, `common:/`, `commoncrc:/`, `platformcrc:/`, `settings:/`, `gamecache:/`. So `packcache:` resolves fine — the fixed scheme table is only a fallback; the device-prefix resolver (title+0x28c8ec0) matches the longest registered prefix and calls `vtable[0x168]` on that device's provider. The actual failing step: `packcache:`'s provider (vftable at image+0x62fd480, shared with `common:/`) is a **name-hash index** — slot 0x168 computes a salted hash of the remainder (`install`) and probes an internal table. `install` misses because nothing ever populated the provider's content list. One caveat that matters for repro: my test dump is still downloading (qBittorrent — several `pack/*/*.rpf` files are 0-byte preallocations and `packs.rpf` begins with zeros). The `packcache` provider plausibly fills its index from pack metadata that simply wasn't on disk yet, so this run may be a false signal. Also noted: the title does call `XPackageEnumeratePackages` (kind 1, content) once during init and we answer "none" — on console that path may feed the packcache list. Next step on my end: re-baseline once the download completes. If `install` still misses with complete data, the gap is the package/volume enumeration (xpackage kind-1 returning nothing, or a volume-mount API we don't serve) rather than data.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-26 02:44 UTC · original

Re-baseline run while the dump is still downloading (qBittorrent active; packs.rpf header still reads as all zeros, navmeshes.rpf was share-locked mid-run).

What changed vs the earlier run:

  • dstorage now opens 7 volumes (appdata0, common, movies, shaders, anim, data, levels); navmeshes.rpf refused with ERROR_SHARING_VIOLATION — qBittorrent still holds it
  • The 0x142236c90 mount sequence (the one that used to die inside the packcache:/install probe) now returns — boot advanced past it
  • New crash site is one step later: +0x2240ef7 calls 0x145b297f0, a count-driven copy ([obj+0x20]->+0x410 entries, 8 bytes each) whose destination write hits NULL. Same failure signature family — an index/table the pack layer was expected to populate stayed empty

Reads consistently with the earlier model: the device-prefix layer is healthy; the miss lives in what the packcache provider was fed (packs.rpf being the index file that's still a sparse preallocation). Not yet a clean baseline — will rerun once the download finishes.

**@⁠kotekompotek** on GitHub · 2026-11-26 02:44 UTC · [original](https://github.com/Marvisak/VIctory/issues/2613#issuecomment-7181071328) Re-baseline run while the dump is still downloading (qBittorrent active; packs.rpf header still reads as all zeros, navmeshes.rpf was share-locked mid-run). What changed vs the earlier run: - dstorage now opens 7 volumes (appdata0, common, movies, shaders, anim, data, levels); navmeshes.rpf refused with ERROR_SHARING_VIOLATION — qBittorrent still holds it - The 0x142236c90 mount sequence (the one that used to die inside the packcache:/install probe) now **returns** — boot advanced past it - New crash site is one step later: +0x2240ef7 calls 0x145b297f0, a count-driven copy ([obj+0x20]->+0x410 entries, 8 bytes each) whose destination write hits NULL. Same failure signature family — an index/table the pack layer was expected to populate stayed empty Reads consistently with the earlier model: the device-prefix layer is healthy; the miss lives in what the packcache provider was fed (packs.rpf being the index file that's still a sparse preallocation). Not yet a clean baseline — will rerun once the download finishes.
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#2613
No description provided.