Title traps at +0x1330a44 (int3) during world bootstrap: a service lookup by tag 0xE0C12D7A5D4884C5 returns false #2013

Open
opened 2026-11-26 04:51:37 +00:00 by github-bot · 5 comments
Owner

@⁠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 tag 0xE0C12D7A5D4884C5 returns false

Summary

On this machine the title always dies on its own int3 about 25 s into boot (frame 577), while it is still loading pack/core_restofworld and 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/VIctory 940d32f
  • Zettrox/ztrx 90b529f
  • fxceless/victory-fork c96b4f2

and with both toolchains (MSVC and x86_64-pc-windows-gnu), with a fresh cache_dir and a fresh data_dir, with the pad connected and without, on the dGPU's own output at 1080p.

Machine

GPU NVIDIA GeForce RTX 4060 Laptop 8 GB, driver 621.24, Game Ready
CPU / RAM Intel laptop, 31 GB, pagefile 2 GB + 8 GB, commit limit 41.3 GB
OS Windows 11 26300
Title game_scarlett_master.exe, image b99f876b…, version 930.048.020-vb_sub_story, RETAIL, Anaconda

What the crash context says

Game Running Time: 0h:0m:25s
Frame: 577
Game State: Game Running
Streaming Requests: 0
TileHeap: used (272Mb) - total (6236Mb)
Camera Position: <262144.000000, 262144.000000, 21600.000000>   ← still the sentinel
Current Mission Name: 0x00000000     Current script program: 0x0

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 RVA 0x1330a44. The caller:

141330a21:  call   0x144ec6720
141330a26:  mov    0x10020(%rsi),%rcx
141330a2d:  call   0x141330a50
141330a32:  test   %al,%al
141330a34:  je     0x141330a4a          ; → int3 (0xCC)
141330a36:  call   0x144ec6670
141330a3b:  mov    0x10020(%rsi),%rax
141330a42:  jmp    0x1413309e3
141330a44:  cc                          ; ← the trap we hit
141330a4a:  cc

The callee 0x141330a50 is the check:

141330a56:  mov    %rcx,%rsi
141330a59:  mov    0x50(%rcx),%rcx      ; service/registry object
141330a5d:  test   %rcx,%rcx
141330a60:  je     0x141330ac7          ; no object → false
141330a62:  mov    0x58(%rsi),%r8d      ; 16-bit index/handle
141330a66:  cmp    $0xffff,%r8w
141330a6b:  je     0x141330ac7          ; 0xffff = none → false
141330a6d:  mov    (%rcx),%rax
141330a70:  movabs $0xe0c12d7a5d4884c5,%rdi   ; ← 64-bit tag being looked up
141330a7a:  mov    %rdi,%rdx
141330a7d:  call   *0x3f0(%rax)         ; vtable slot 126: "query by tag" → bool
141330a83:  ...
141330a8e:  test   %al,%al
141330a90:  je     0x141330aad          ; tag not found → fallback at slot 0x2f8

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 hits int3.

Why this looks HLE-visible rather than driver-visible

  • Nothing in the path touches DXGI or the driver: rsi+0x50 is an object the title itself owns, and the query is a virtual call on that object.
  • The trap direction is deterministic across four builds, two toolchains, fresh caches and both input situations.
  • The forks carry the same behaviour, which suggests the state that satisfies this check is produced somewhere in the platform layer, not in the rendering work the forks add.

What I would like to know / what would help

  1. Is this check a known path — does the platform layer have to provide the object for tag 0xE0C12D7A5D4884C5 (a storage, save, network or device service), or is the object created by the title from an HLE factory that returns null here?
  2. If it is an HLE-provided service, which module owns it, and what is the expected failure mode? Returning a stub that satisfies slot 0x3f0 may be enough to get past bootstrap.
  3. Is there a switch that logs virtual calls with their tag (the C++ RTTI/Bootstrapper side), so the next run names the interface instead of only the RVA?

Reproduction

victory.exe run "<package>\game_scarlett_master.exe" --execute

with game_dir / cache_dir / data_dir outside 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.

**@⁠Key-rs** on GitHub · 2026-11-25 03:05 UTC · [original](https://github.com/Marvisak/VIctory/issues/2013) # Issue draft — title traps at `+0x1330a44` (int3) during world bootstrap: a service lookup by tag `0xE0C12D7A5D4884C5` returns false ## Summary On this machine the title always dies on its own `int3` about 25 s into boot (frame 577), while it is still loading `pack/core_restofworld` and 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/VIctory` `940d32f` - `Zettrox/ztrx` `90b529f` - `fxceless/victory-fork` `c96b4f2` and with both toolchains (MSVC and `x86_64-pc-windows-gnu`), with a fresh `cache_dir` and a fresh `data_dir`, with the pad connected and without, on the dGPU's own output at 1080p. ## Machine | | | |---|---| | GPU | NVIDIA GeForce RTX 4060 Laptop 8 GB, driver 621.24, Game Ready | | CPU / RAM | Intel laptop, 31 GB, pagefile 2 GB + 8 GB, commit limit 41.3 GB | | OS | Windows 11 26300 | | Title | `game_scarlett_master.exe`, image `b99f876b…`, version `930.048.020-vb_sub_story`, RETAIL, Anaconda | ## What the crash context says ``` Game Running Time: 0h:0m:25s Frame: 577 Game State: Game Running Streaming Requests: 0 TileHeap: used (272Mb) - total (6236Mb) Camera Position: <262144.000000, 262144.000000, 21600.000000> ← still the sentinel Current Mission Name: 0x00000000 Current script program: 0x0 ``` 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 RVA `0x1330a44`. The caller: ```asm 141330a21: call 0x144ec6720 141330a26: mov 0x10020(%rsi),%rcx 141330a2d: call 0x141330a50 141330a32: test %al,%al 141330a34: je 0x141330a4a ; → int3 (0xCC) 141330a36: call 0x144ec6670 141330a3b: mov 0x10020(%rsi),%rax 141330a42: jmp 0x1413309e3 141330a44: cc ; ← the trap we hit 141330a4a: cc ``` The callee `0x141330a50` is the check: ```asm 141330a56: mov %rcx,%rsi 141330a59: mov 0x50(%rcx),%rcx ; service/registry object 141330a5d: test %rcx,%rcx 141330a60: je 0x141330ac7 ; no object → false 141330a62: mov 0x58(%rsi),%r8d ; 16-bit index/handle 141330a66: cmp $0xffff,%r8w 141330a6b: je 0x141330ac7 ; 0xffff = none → false 141330a6d: mov (%rcx),%rax 141330a70: movabs $0xe0c12d7a5d4884c5,%rdi ; ← 64-bit tag being looked up 141330a7a: mov %rdi,%rdx 141330a7d: call *0x3f0(%rax) ; vtable slot 126: "query by tag" → bool 141330a83: ... 141330a8e: test %al,%al 141330a90: je 0x141330aad ; tag not found → fallback at slot 0x2f8 ``` 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 hits `int3`. ## Why this looks HLE-visible rather than driver-visible - Nothing in the path touches DXGI or the driver: `rsi+0x50` is an object the title itself owns, and the query is a virtual call on that object. - The trap direction is deterministic across four builds, two toolchains, fresh caches and both input situations. - The forks carry the same behaviour, which suggests the state that satisfies this check is produced somewhere in the platform layer, not in the rendering work the forks add. ## What I would like to know / what would help 1. Is this check a known path — does the platform layer have to provide the object for tag `0xE0C12D7A5D4884C5` (a storage, save, network or device service), or is the object created by the title from an HLE factory that returns null here? 2. If it is an HLE-provided service, which module owns it, and what is the expected failure mode? Returning a stub that satisfies slot `0x3f0` may be enough to get past bootstrap. 3. Is there a switch that logs virtual calls with their tag (the C++ RTTI/Bootstrapper side), so the next run names the interface instead of only the RVA? ## Reproduction ``` victory.exe run "<package>\game_scarlett_master.exe" --execute ``` with `game_dir` / `cache_dir` / `data_dir` outside 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:51:37 +00:00
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-25 05:04 UTC · original

Two corrections from disassembling the same image (b99f876b…, base 0x140000000), and one data point that may narrow it down.

1. The trap at +0x1330a44 is a second call site of the same check, inside the loop. The je you quote (a34 → a4a) goes to the other int 3. a44 is reached from here:

14133094c  cmp   byte ptr [rax+30h],0
           jne   1413309d6
           cmp   qword ptr [rax+8],0
           je    14133098b
14133095d  call  144ec6720
           mov   rcx,[rsi+10020h]
           call  141330a50              ; the tag check you decoded
           test  al,al
141330970  je    141330a44              ; -> the int 3 you hit
141330976  call  144ec6670
           ...
           jmp   14133094c              ; loop

2. Both int 3s are continuable asserts, not "unreachable":

141330a44  int 3
141330a45  jmp 141330976      ; back to the instruction after the je: the success path
141330a4a  int 3
141330a4b  jmp 141330a36      ; likewise for the other site

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.

0x141330a50 returns false in three ways:

  • [obj+50h] is null;
  • the 16-bit [obj+58h] is 0xffff;
  • or the [vtbl+3f0h] query by tag 0xE0C12D7A5D4884C5 fails 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 main 940d32f (+ #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 two crashes.log files has +0x1330a44 or +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 your data_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:04 UTC · [original](https://github.com/Marvisak/VIctory/issues/2013#issuecomment-7153426946) Two corrections from disassembling the same image (`b99f876b…`, base `0x140000000`), and one data point that may narrow it down. **1. The trap at `+0x1330a44` is a second call site of the same check, inside the loop.** The `je` you quote (`a34 → a4a`) goes to the *other* `int 3`. `a44` is reached from here: ``` 14133094c cmp byte ptr [rax+30h],0 jne 1413309d6 cmp qword ptr [rax+8],0 je 14133098b 14133095d call 144ec6720 mov rcx,[rsi+10020h] call 141330a50 ; the tag check you decoded test al,al 141330970 je 141330a44 ; -> the int 3 you hit 141330976 call 144ec6670 ... jmp 14133094c ; loop ``` **2. Both `int 3`s are continuable asserts, not "unreachable":** ``` 141330a44 int 3 141330a45 jmp 141330976 ; back to the instruction after the je: the success path 141330a4a int 3 141330a4b jmp 141330a36 ; likewise for the other site ``` 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`. `0x141330a50` returns false in three ways: - `[obj+50h]` is null; - the 16-bit `[obj+58h]` is `0xffff`; - or the `[vtbl+3f0h]` query by tag `0xE0C12D7A5D4884C5` fails *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 `main` `940d32f` (+ #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 two `crashes.log` files has `+0x1330a44` or `+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 your `data_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.
Author
Owner

@⁠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 to n of the title's int 3 asserts (after checking the byte is 0xcc) and logs each. It needs a rebase onto current main. Because +0x1330a44 is followed by jmp back 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 05:05 UTC · [original](https://github.com/Marvisak/VIctory/issues/2013#issuecomment-7153437813) Follow-up: a switch for exactly this already exists as a PR. #1156 adds `VICTORY_TITLE_ASSERTS=<n>`, which continues past up to `n` of the title's `int 3` asserts (after checking the byte is `0xcc`) and logs each. It needs a rebase onto current `main`. Because `+0x1330a44` is followed by `jmp` back 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.
Author
Owner

@⁠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.

**@⁠AgneyaK** on GitHub · 2026-11-25 06:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/2013#issuecomment-7154525682) 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.
Author
Owner

@⁠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):

dstorage: opening a file failed / request failed        0
committing virtual memory failed / XMemVirtualAlloc refused   0

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 behind VICTORY_PATCH_TRAP=1.

With it, the same build on the same host:

05:24:30  first-boot screens
05:24:43  legal notices
05:25:54  30.0 fps, 33.3 ms/frame        <- still running
…         325 s total, no trap, no crash log

and the automation (scripted pad presses through VICTORY_KEYS in 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 the jmp after it suggested.

On #1156

Marvisak/VIctory#1156 is CONFLICTING and 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:

  1. I rebase #1156 onto current main, and #719 gets closed in its favour (with a note that the two RVAs above are what it should be run with here).
  2. Both land: #1156 generic, #719 as the "this specific one, on builds where the RVAs match" shortcut.

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, cpuid and 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.

**@⁠Key-rs** on GitHub · 2026-11-25 06:35 UTC · [original](https://github.com/Marvisak/VIctory/issues/2013#issuecomment-7154952369) **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): ``` dstorage: opening a file failed / request failed 0 committing virtual memory failed / XMemVirtualAlloc refused 0 ``` 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 behind `VICTORY_PATCH_TRAP=1`. With it, the same build on the same host: ``` 05:24:30 first-boot screens 05:24:43 legal notices 05:25:54 30.0 fps, 33.3 ms/frame <- still running … 325 s total, no trap, no crash log ``` and the automation (scripted pad presses through `VICTORY_KEYS` in 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 the `jmp` after it suggested. ### On #1156 `Marvisak/VIctory#1156` is `CONFLICTING` and 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: 1. I rebase #1156 onto current `main`, and #719 gets closed in its favour (with a note that the two RVAs above are what it should be run with here). 2. Both land: #1156 generic, #719 as the "this specific one, on builds where the RVAs match" shortcut. 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, `cpuid` and 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.
Author
Owner

@⁠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 (0x80000003 at +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.

  • The comments rule out failed file opens and refused allocations on this machine, and show that the world runs past the check when the assert is skipped.
  • In this repository, the general switch for continuing past title asserts is #1156 (VICTORY_TITLE_ASSERTS), which needs a rebase onto main. A fork-only patch cannot be reviewed here; if it should land, please open it as a PR against main.
  • What would settle the cause: a trapping and a non-trapping run on the same main build with VICTORY_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

**@⁠Marvisak** on GitHub · 2026-11-25 12:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/2013#issuecomment-7162927673) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T06:35:34Z at=2026-11-25T12:50:09Z --> 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 (`0x80000003` at `+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. - The comments rule out failed file opens and refused allocations on this machine, and show that the world runs past the check when the assert is skipped. - In this repository, the general switch for continuing past title asserts is #1156 (`VICTORY_TITLE_ASSERTS`), which needs a rebase onto `main`. A fork-only patch cannot be reviewed here; if it should land, please open it as a PR against `main`. - What would settle the cause: a trapping and a non-trapping run on the same `main` build with `VICTORY_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](https://claude.ai/code)_
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#2013
No description provided.