Title traps at +0x1330a44 (int3) during world bootstrap: a service lookup by tag 0xE0C12D7A5D4884C5 returns false #2013
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2013
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?
@Key-rs on GitHub · 2026-11-25 03:05 UTC · original
Issue draft — title traps at
+0x1330a44(int3) during world bootstrap: a service lookup by tag0xE0C12D7A5D4884C5returns falseSummary
On this machine the title always dies on its own
int3about 25 s into boot (frame 577), while it is still loadingpack/core_restofworldand before any camera/mission state exists. The trap is reachable from a single check: a lookup through a vtable slot returns false, and the caller treats that as unreachable.Same behaviour with:
Marvisak/VIctory940d32fZettrox/ztrx90b529ffxceless/victory-forkc96b4f2and with both toolchains (MSVC and
x86_64-pc-windows-gnu), with a freshcache_dirand a freshdata_dir, with the pad connected and without, on the dGPU's own output at 1080p.Machine
game_scarlett_master.exe, imageb99f876b…, version930.048.020-vb_sub_story, RETAIL, AnacondaWhat the crash context says
So the trap happens during world bootstrap, not on input and not later than the menus.
The trapping code
Faulting address is an
int3(0xCC) at RVA0x1330a44. The caller:The callee
0x141330a50is the check:So the title asks an interface table for the object identified by tag
0xE0C12D7A5D4884C5, and when the answer is "no", the caller does not treat it as a soft failure — it hitsint3.Why this looks HLE-visible rather than driver-visible
rsi+0x50is an object the title itself owns, and the query is a virtual call on that object.What I would like to know / what would help
0xE0C12D7A5D4884C5(a storage, save, network or device service), or is the object created by the title from an HLE factory that returns null here?0x3f0may be enough to get past bootstrap.Reproduction
with
game_dir/cache_dir/data_diroutside the repo; the trap appears within ~10 s wall clock (frame 577 of the title's own counter). Logs are 500–800 lines up to the trap and I can attach any of them.@AgneyaK on GitHub · 2026-11-25 05:04 UTC · original
Two corrections from disassembling the same image (
b99f876b…, base0x140000000), and one data point that may narrow it down.1. The trap at
+0x1330a44is a second call site of the same check, inside the loop. Thejeyou quote (a34 → a4a) goes to the otherint 3.a44is reached from here:2. Both
int 3s are continuable asserts, not "unreachable":So the title's code breaks and then carries on as if the check had passed. With nothing to resume the breakpoint here, it becomes the unhandled
0x80000003.0x141330a50returns false in three ways:[obj+50h]is null;[obj+58h]is0xffff;[vtbl+3f0h]query by tag0xE0C12D7A5D4884C5fails and the fallback through[vtbl+2f8h]with the 16-bit handle returns false.3. The data point: it passes on my machine. Same image, same
main940d32f(+ #1763, which NVIDIA needs to boot), RTX 3050 6 GB laptop, Windows 11 26300, Series X profile, scripted Enter. The title runs past frame 1,024 into the menus, and 5-minute runs reach frame 4,096. None of the 157 records in this machine's twocrashes.logfiles has+0x1330a44or+0x1330a4a. So the check succeeds here and fails on yours by frame 577. Something machine- or run-dependent feeds it, rather than a stub that's missing for everyone. Worth comparing: which profile (Series X/S) and keys you run with, what's in yourdata_dir(a save or settings from an earlier build?), and whether the 8 GB card or the window size takes a different path that early.AI use: Claude Code (Claude Opus 5.5) disassembled the image locally, searched my logs and wrote this; no game data beyond addresses and instructions.
@AgneyaK on GitHub · 2026-11-25 05:05 UTC · original
Follow-up: a switch for exactly this already exists as a PR. #1156 adds
VICTORY_TITLE_ASSERTS=<n>, which continues past up tonof the title'sint 3asserts (after checking the byte is0xcc) and logs each. It needs a rebase onto currentmain. Because+0x1330a44is followed byjmpback into the success path, that switch would let your run show what comes after this check, and whether the check matters at all.AI use: Claude Code (Claude Opus 5.5) wrote this.
@AgneyaK on GitHub · 2026-11-25 06:10 UTC · original
A second report of this assert: #1736 (Radeon 780M, Series S profile, PR #1156's build) traps at the same
+0x1330a44. Since you get it on three different layers with fresh caches, and this machine doesn't get it under either profile, it's likely in the run's inputs rather than the layer.In a log of a run that traps (
VICTORY_LOG=info), could you count these lines before the trap? Each is 0 on my runs:dstorage: opening a file failed/dstorage: request failed: a game file that can't be opened or read.committing virtual memory failed/XMemVirtualAlloc refused: a refused allocation. Your pagefile is 2 + 8 GB.If any appear, the file name or the size in that line is the lead. Paste just those lines.
AI use: Claude Code (Claude Opus 5.5) wrote this.
@Key-rs on GitHub · 2026-11-25 06:35 UTC · original
0 and 0 — and the bypass shows what is after the check: the world, at 30 fps
Answering your two counts first, from every log I have on this machine (release and diag builds, cold and warm cache, hardware and WARP):
Across all 40-odd logs in the folder, no match for either pattern. The pagefile here is 2 GB (C:) + 8 GB (D:), commit limit 41.3 GB, and the trap fires with 12.9 GB committed, so it is not a refused allocation either.
What the switch shows
I did not wait for #1156's rebase; I wrote the narrower version in the fork as #719 — it nops the two conditional jumps that lead into the
int3(+0x1330970, six bytes;+0x1330A34, two bytes), applied after the image is mapped, and gated behindVICTORY_PATCH_TRAP=1.With it, the same build on the same host:
and the automation (scripted pad presses through
VICTORY_KEYSin a diagnostics build) walks the account picker and the legal notices, so the picture is real: the check's failure is not a functional gate, exactly as your reading of thejmpafter it suggested.On #1156
Marvisak/VIctory#1156isCONFLICTINGand has not been rebased. Since it is the general form (VICTORY_TITLE_ASSERTS=<n>, any assert, logged), I would rather see it land than my two hardcoded RVAs. Options, your call:main, and #719 gets closed in its favour (with a note that the two RVAs above are what it should be run with here).I have no preference beyond not shipping two switches that do the same thing; whichever you pick I will do the work.
On #1736 and the 780M
Worth one line of data: this laptop has both a Radeon 780M and an RTX 4060, and the trap fires identically on the 4060 (hardware), on WARP (software adapter), and with the 780M present but unused — so on this machine it is not adapter-specific. Three AMD hosts, three layers, one address: the correlation is with the host CPU family, not with the GPU.
For the record,
cpuidand AVX-512 are both absent from the trapping function and its callees here (18,623 instructions, 0 hits), so if the CPU family is the trigger it acts somewhere earlier in the title's start-up, not at the check itself.@Marvisak on GitHub · 2026-11-25 12:50 UTC · original
Automated triage for the maintainers.
Thanks, a complete report: RTX 4060 Laptop, driver 621.24, Windows 11 26300,
940d32f, the trap's address and the title's crash context. The stop is the title's own continuable assert (0x80000003at+0x1330a44), so the question is which runtime state makes its check fail on some machines and not others. #1736 reports the same address on another laptop with an AMD CPU; this issue is the more complete report, so the cause is discussed here.VICTORY_TITLE_ASSERTS), which needs a rebase ontomain. A fork-only patch cannot be reviewed here; if it should land, please open it as a PR againstmain.mainbuild withVICTORY_LOG=info, compared for the HLE calls logged before the trap, plus each machine's CPU model.Disassembly and byte patches of the title's code must not be posted in this tracker; please keep to offsets and register values.
Generated by Claude Code