Assert on a table lookup that returned the miss sentinel (+0x29DEFB1), after the frontend renders #337
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#337
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@sub-north on GitHub · 2026-11-23 23:49 UTC · original
Build
85bdf21(head, 2026-11-23), static-CRT release. Windows 11, bare metal, i9-14900KF,RTX 4070 Ti SUPER 16 GB, 32 GB RAM, network disabled, frame dump every 10th present. Retail
Scarlett title, full payload present (~208.6 GiB).
It gets further here than we expected: archive registration completes; 19,209 unique shaders and
274,766 submissions; the UI renders and several screens are navigable; the intro movie renders on
this build.
Where it stops
0x80000003(int3) in title code at+0x29DEFB1, after 197.5 s / 923 presents; process exits0x80000003.Registers:
rax=0xffc00000 rbx=0xa4 rcx=0x5b5eeffe rdx=0x76 rsi=0x20 r8=0xffffffff r9=0x8 r10=0x1d53ce80001 r11=0x1e1f408a501 r12=0x20 r13=0x4788.Disassembly at the trap:
0x29DE7A0packs(gen & 0x3F) << 22 | (val & 0x3FFFFF)and returns0x3FFFFFon a table miss.rax=0xffc00000is exactly~0x3FFFFF, andrdx=0x76(118) is the id searched. The guard istherefore "lookup missed", and the missing id is 118.
0x3FFFFFdoes not appear in xcl's source,so the table is title-internal.
How to reproduce
85bdf21:RUSTFLAGS=-C target-feature=+crt-static cargo build --release.XCL_NETWORK=0), dumps every10 presents.
Same offset and identical register values on every boot so far: 171.5 s, 184.9 s, 187.5 s, 197.5 s.
What we already tried
Ruled out locally: not the archive gate (the full payload passes it), not CLZERO (fixed), not the
stall watchdog, not memory pressure (
fallback_pipelines 0,failed_pipelines 0), not deviceremoval. No xcl commit between the runs touches a handle/registry/lookup path.
Questions
(a) Has anyone seen
+0x29DEFB1, or this sentinel-miss assert on a lookup?(b) Is there a known path where an id near 118 is expected to be registered before the frontend
reaches its menu?
(c) Which log line or probe would you suggest to identify the subsystem that owns the table?
@vladbondarenko97 on GitHub · 2026-11-24 00:27 UTC · original
Same class here, different site — maybe the two reports help each other.
On a complete package we hit the same shape: a 64-bit-keyed lookup that misses, then
int3. In our case it is earlier than yours (one black present, then+0x1330a44), and the lookup returns 0 rather than a sentinel. The mechanism in the title, as far as I can read it:The same
movabs <64-bit> / call [vtable+0x3f8]shape appears 15 times in.textfor three distinct keys (0xe0c12d7a5d4884c5,0xba180afb232d1b4b,0x33f70dfaf2c50989), and none of them are name hashes: I brute-forced FNV-1a/FNV-1 (64-bit), JOAAT64, Murmur64A and CRC64 over every printable string in the binary (137k strings, ~685k pairs) and got zero matches. So they look like genuine interface IDs, registered at runtime — which matches your finding that the registry table is title-internal.Two things that may help with (c):
0x29DE7A0packs(gen & 0x3F) << 22 | (val & 0x3FFFFF). With0x3FFFFFbeing a miss sentinel inside a 22-bit field, that reads like an id-indexed registry (fw*Manager-style slot table) rather than a GUID map — so id 118 is probably an entry the title expects to have been created by another subsystem (e.g. a manager registered during frontend init), not something xcl fails to resolve.0x29DE7A0wheneax == 0x3FFFFFand dump the first argument (rcx/rdx) plus[rbx]— that names the owner directly, without guessing. A read watchpoint on the table base would also show which writer ran last before the miss.On the "does the frontend render" question: this is the first report I have seen that gets a navigable UI plus the intro movie out of xcl, and it is on NVIDIA — worth pinning to build/hardware in the issue, because on our 3080 Ti the same complete package dies long before your frontend (
+0x1330a44, presents=1). If you are willing to share the exactxcl.toml(device_type / title_memory / pls_mb) and the build flags beyond+crt-static, I will try to reproduce your setup here and report the numbers.AI-assisted (Claude Code CLI via a model proxy; logs and offsets only, no game data).
@sub-north on GitHub · 2026-11-24 00:29 UTC · original
Thanks - the interface-key pattern is a better explanation than ours, and the breakpoint suggestion is exactly what we will do next.
Our configuration (as requested)
Runtime config (the launcher's generated
boot.json, unchanged from defaults except nothing):Build:
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release, nothing else.Hardware: i9-14900KF, RTX 4070 Ti SUPER 16 GB, 32 GB RAM, Windows 11.
Two environments: a separate install on its own partition, and a standard local user on a normal desktop session. Both reach the frontend; the bare-metal install is what produced our 923-present run.
Where we differ
0x80000003at+0x29DEFB1.+0x1330a44.That is a big gap for the same package. If
+0x1330a44is the samemovabs / call [rax+0x3f8]shape, it fires far earlier than ours, which makes me suspect our run is taking a different path into the frontend rather than getting further.What we already have for (c)
A vectored handler (first-chance,
int3is swallowed by the title's SEH otherwise) guarded oncode == 0x80000003, the faulting address resolving to the title image, and RVA within0x29DEFB1 +/- 0x10. It dumps the key, table count, generation, bucket head, the bucket chain and the first 16 entries, allVirtualQuery-guarded.Given your suggestion I am extending it to also capture
rcx/rdxat the call and to annotate the entry count, and to cover+0x1330a44with the same handler so one build reports both sites if either fires here.Our other observed failures, in case they are related
E_DECOMPRESSION(0x89240030) andE_ZLIB_DATA(0x89240032); three 12 KiB requests refused at enqueue (empty file field) and one deterministic 2267-byte inflate failure onpack\story000\story000.rpf. BCPack refusals reach ~128 by 179 s.XStore: unavailable (offline)then a benignXErrorReport 0x89240107- a consequence of blocking the network, not a missing component.I will post the probe output here once it fires, whichever of the two offsets it lands on.
@13hourstilliland on GitHub · 2026-11-24 01:36 UTC · original · edited 2026-11-24 01:52 UTC
Static read of the retail exe (1.0.2.1), RVAs only. No run. Observed unless marked.
(gen & 0x3f) << 22 | (value & 0x3fffff)with gen at +0x9dd7bd4; a miss returns 0x3fffff.call [reg+0x3f8]. 0x6bef97fb at +0x29defbb is a 32-bit argument to a later call (+0x50ce340), so a different thing from those keys.[rdi](the missing key), bucket count, the 12-byte entries, and the dword at [[+0xaae3b70]+0xc8]; then set a write watch on that dword to see who changes it before the miss.AI use: Claude Code (Claude Opus 5.5) read the executable bytes with objdump and a small script; no game files attached.
@ivall on GitHub · 2026-11-24 11:06 UTC · original
Closing this older run report during issue triage. XCL has changed since the reported revision; the reported failure has not been independently verified as fixed. Please reopen with logs from current main if it still reproduces. Related world-loading reports are tracked in #505 and #232; a matching crash address alone does not establish the same cause.