Account-picker confirm asserts 0x80000003 (int3) at frame ~172 on RTX 4070 SUPER, all profiles and input devices #20

Open
opened 2026-11-26 21:53:31 +00:00 by Gnzaga · 4 comments
Gnzaga commented 2026-11-26 21:53:31 +00:00 (Migrated from github.com)
Contributor

Imported from stellarr-studio/kelvaroq. Originally posted by Gnzaga on 2026-11-26T21:53:31Z.


Summary

The title hits an int3 (0x80000003) on the account-picker confirm, 100% of the time, within ~0.5 s of the A press. The picker itself renders (footer bar ACCOUNT PICKER (Y) SCREEN NARRATION (OFF) (X) PLAYER (A)), the GPU presents at a locked 30 fps, and kelvaroq gpu reads back correct pixels on this card — so the renderer and the loader are fine right up to the confirm.

Reproduced on three independent binaries:

  • source build of e062a82e04 (kelvaroq.exe + freshly built native/kelvaroq-engine.exe)
  • released Kelvaroq-0.2.0-windows-x64.zip
  • victory.exe built from the pinned fork source with cargo build --locked --release -p victory, run as victory.exe run <image> --console series-x --execute with VICTORY_GAME_DIR set (this one draws the footer bar; the wrapper presents an all-black client area — separate defect, see below)

Reproduction

  1. kelvaroq.exe play <package>\game_scarlett_master.exe (default profile) or --console series-s
  2. Wait for the picker (~10-20 s)
  3. Press Y (opens the picker), then A
  4. Process exits 0x80000003; title writes a Breakpad context to the temp drive

Also crashed by: keyboard y then Enter in victory.exe; Xbox One pad Y then A in both wrapper and direct binary. So it is not device- or profile-specific: series-x asserts at ~frame 172 even without input, series-s survives and asserts on confirm.

What was ruled out

  • HDR (runtime reports HDR mode: disabled)
  • kelvaroq_simd.dll present beside the CLI; unblocked/ACL-clean
  • --experimental-render, VICTORY_PIPELINE_PRECOMPILE=1, VICTORY_PIPELINE_WARMUP=1, VICTORY_TEXTURE_NO_WAIT=1, VICTORY_PIPELINE_EARLY_WITHOUT_LIBRARY=0
  • Missing draws: log reports 19 draws/frame, dropped 0 without a host pipeline (0 being made)
  • VRAM: 2.4 GB in use of 12 GB at the point of the assert

Wrapper-only defect (may be separate)

With kelvaroq.exe, the client area is a uniform black fill (GLM vision + pixel stats: 125 colours, 0.13% edges) with only the title bar's NN draws/image counter visible, while the same frame in victory.exe renders the footer bar. PrintWindow on the wrapper's window also returns black even when the direct binary's identical window captures fine.

Hardware / OS

  • GPU: RTX 4070 SUPER, 12,282 MiB, driver 610.88 (also present: AMD iGPU 780M-class)
  • CPU: Ryzen 7 7700X (8C/16T)
  • RAM: 63 GB, Windows 11 22631
  • Package: Xbox Series X retail, TitleID 7952987a, ROW/Americas, exe game_scarlett_master.exe sha256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993, staged on NVMe
  • Rust 1.100.0 msvc, VS 2022 Build Tools + Windows SDK

Log tail at the assert

INFO victory_hle::modules::net: HTTP connection blocked destination=submit.backtrace.io:443
kelvaroq: Le moteur natif s'est arrete (exit code: 0x80000003)

Crash context from the title's own dump names console type Anaconda, game state Game Running, frame 172, TileHeap: used (271Mb) - total (6236Mb), and zeroed memory accounting. Happy to attach the full logs, the .dmp and the crash-context if useful.

<!-- greyfinch-sync:stellarr-studio/kelvaroq:issue:6635701919 --> Imported from [stellarr-studio/kelvaroq](https://github.com/stellarr-studio/kelvaroq/issues/20). Originally posted by [Gnzaga](https://github.com/Gnzaga) on 2026-11-26T21:53:31Z. --- **Summary** The title hits an `int3` (`0x80000003`) on the account-picker confirm, 100% of the time, within ~0.5 s of the A press. The picker itself renders (footer bar `ACCOUNT PICKER (Y) SCREEN NARRATION (OFF) (X) PLAYER (A)`), the GPU presents at a locked 30 fps, and `kelvaroq gpu` reads back correct pixels on this card — so the renderer and the loader are fine right up to the confirm. Reproduced on three independent binaries: - source build of `e062a82e04` (`kelvaroq.exe` + freshly built `native/kelvaroq-engine.exe`) - released `Kelvaroq-0.2.0-windows-x64.zip` - `victory.exe` built from the pinned fork source with `cargo build --locked --release -p victory`, run as `victory.exe run <image> --console series-x --execute` with `VICTORY_GAME_DIR` set (this one draws the footer bar; the wrapper presents an all-black client area — separate defect, see below) **Reproduction** 1. `kelvaroq.exe play <package>\game_scarlett_master.exe` (default profile) or `--console series-s` 2. Wait for the picker (~10-20 s) 3. Press **Y** (opens the picker), then **A** 4. Process exits `0x80000003`; title writes a Breakpad context to the temp drive Also crashed by: keyboard `y` then `Enter` in `victory.exe`; Xbox One pad Y then A in both wrapper and direct binary. So it is not device- or profile-specific: `series-x` asserts at ~frame 172 even *without* input, `series-s` survives and asserts on confirm. **What was ruled out** - HDR (runtime reports `HDR mode: disabled`) - `kelvaroq_simd.dll` present beside the CLI; unblocked/ACL-clean - `--experimental-render`, `VICTORY_PIPELINE_PRECOMPILE=1`, `VICTORY_PIPELINE_WARMUP=1`, `VICTORY_TEXTURE_NO_WAIT=1`, `VICTORY_PIPELINE_EARLY_WITHOUT_LIBRARY=0` - Missing draws: log reports `19 draws/frame, dropped 0 without a host pipeline (0 being made)` - VRAM: 2.4 GB in use of 12 GB at the point of the assert **Wrapper-only defect (may be separate)** With `kelvaroq.exe`, the client area is a uniform black fill (GLM vision + pixel stats: 125 colours, 0.13% edges) with only the title bar's `NN draws/image` counter visible, while the same frame in `victory.exe` renders the footer bar. `PrintWindow` on the wrapper's window also returns black even when the direct binary's identical window captures fine. **Hardware / OS** - GPU: RTX 4070 SUPER, 12,282 MiB, driver 610.88 (also present: AMD iGPU 780M-class) - CPU: Ryzen 7 7700X (8C/16T) - RAM: 63 GB, Windows 11 22631 - Package: Xbox Series X retail, TitleID `7952987a`, ROW/Americas, exe `game_scarlett_master.exe` sha256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`, staged on NVMe - Rust 1.100.0 msvc, VS 2022 Build Tools + Windows SDK **Log tail at the assert** ``` INFO victory_hle::modules::net: HTTP connection blocked destination=submit.backtrace.io:443 kelvaroq: Le moteur natif s'est arrete (exit code: 0x80000003) ``` Crash context from the title's own dump names console type `Anaconda`, game state `Game Running`, frame 172, `TileHeap: used (271Mb) - total (6236Mb)`, and zeroed memory accounting. Happy to attach the full logs, the .dmp and the crash-context if useful.
Gnzaga commented 2026-11-26 22:52:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from stellarr-studio/kelvaroq. Originally posted by Gnzaga on 2026-11-26T22:52:37Z.


Decoded the abort — the int3 at game_scarlett_master.exe+0x1330a44 is a message-less __assume(0)/unreachable trap. The guard immediately before it:

+0x1330962  mov  rcx, [rsi+0x10020]
+0x1330969  call +0x1330a50          ; predicate
+0x133096e  test al, al
+0x1330970  je   +0x1330a44          ; int3

The predicate only returns true when the candidate account record satisfies all of:

  • [[rcx]+0x50] non-null
  • [[rcx]+0x58] as a 16-bit value != 0xFFFF
  • a 64-bit-keyed virtual lookup succeeds (call [vtable+0x3f0] / [+0x3f8], key 0xE0C12D7A5D4884C5)

At the trap the register state is rax=0 (predicate false) with rcx=0xFFFFFFFD — the helper's fallback call [r9+0x2f8] residual, i.e. a not found / invalid slot status. The immediate return address +0x3143b5 performs the same vtable-slot lookup with the same key, so a shared find-by-key path is expected to have registered the record before confirm; the caller behind it (+0x2158884) is the pump running the picker's queued confirm op.

Read: the confirm is rejected because the account record can't be resolved in the hashed-key registry — the confirmed account state is stale/missing rather than the confirm path being broken. Same trap and same register pattern in all three runtimes (kelvaroq wrapper, victory.exe direct, and XCL/Lilpez-xcl-ztrx), so it is in the account HLE, not in any one front-end.

Repro data (registers, stack, sections, PE parse script) available on request; XCL's report.json for the run is at %LOCALAPPDATA%\XCL\RockstarGamesInc.28872443D20A7\logs\report.json.

<!-- greyfinch-sync:stellarr-studio/kelvaroq:comment:7205060806 --> Imported from [stellarr-studio/kelvaroq](https://github.com/stellarr-studio/kelvaroq/issues/20#issuecomment-7205060806). Originally posted by [Gnzaga](https://github.com/Gnzaga) on 2026-11-26T22:52:37Z. --- Decoded the abort — the `int3` at `game_scarlett_master.exe+0x1330a44` is a message-less `__assume(0)`/unreachable trap. The guard immediately before it: ``` +0x1330962 mov rcx, [rsi+0x10020] +0x1330969 call +0x1330a50 ; predicate +0x133096e test al, al +0x1330970 je +0x1330a44 ; int3 ``` The predicate only returns true when the candidate account record satisfies all of: - `[[rcx]+0x50]` non-null - `[[rcx]+0x58]` as a 16-bit value != `0xFFFF` - a 64-bit-keyed virtual lookup succeeds (`call [vtable+0x3f0]` / `[+0x3f8]`, key `0xE0C12D7A5D4884C5`) At the trap the register state is `rax=0` (predicate false) with `rcx=0xFFFFFFFD` — the helper's fallback `call [r9+0x2f8]` residual, i.e. a *not found / invalid slot* status. The immediate return address `+0x3143b5` performs the same vtable-slot lookup with the same key, so a shared find-by-key path is expected to have registered the record before confirm; the caller behind it (`+0x2158884`) is the pump running the picker's queued confirm op. Read: **the confirm is rejected because the account record can't be resolved in the hashed-key registry** — the confirmed account state is stale/missing rather than the confirm path being broken. Same trap and same register pattern in all three runtimes (kelvaroq wrapper, `victory.exe` direct, and XCL/Lilpez-xcl-ztrx), so it is in the account HLE, not in any one front-end. Repro data (registers, stack, sections, PE parse script) available on request; XCL's `report.json` for the run is at `%LOCALAPPDATA%\XCL\RockstarGamesInc.28872443D20A7\logs\report.json`.
Gnzaga commented 2026-11-27 00:31:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from stellarr-studio/kelvaroq. Originally posted by Gnzaga on 2026-11-27T00:31:32Z.


Two more data points, both from patched XCL (Lilpez/xcl-ztrx, and reproducible logic for this runtime too):

1. The trap is reachable by a record fix. In XCL the XUser record behind the handle is an 8-byte static (magic + refs), so the predicate at +0x1330a50 reads zeros at +0x50/+0x58. Growing the struct with an id at +0x50 and a local slot at +0x58, stamped in XUserAddAsync, stops the trap firing at confirm — the title then proceeds into the intro/load. So the record layout is right; the confirm itself is fine.

2. What is left is the keyed lookup, not the record. With the record patched, the third test still misses: the call [vtable+0x3f0] / [+0x3f8] lookup with key 0xE0C12D7A5D4884C5 returns invalid-slot (0xFFFFFFFD). The registry behind it is title-side and is normally populated on sign-in state change — and XUserRegisterForChangeEvent (api.rs:946) returns a token without ever invoking the callback, so a sign-in/registration event is likely the missing piece rather than any field value.

3. Unrelated but in the way: past the picker the title executes mov dword ptr [0], 0 at +0x2215c35. That is the no-hook branch of

+0x2215c27  mov  rax, [rip + 0x4fa071a]   ; global at +0x71B6348
+0x2215c31  je   +0x2215c35               ; -> mov [0], 0
+0x2215c33  call rax

Seeding that global with a return-stub takes the run from ~1 minute to ~4 minutes (it renders frames in that window), so whatever normally installs the watchdog hook is also unset.

Patches and notes: git.gnzaga.com/gnzaga/gta6-runner (open PR, patches/0001-xuser-record-and-watchdog-hook.patch). Also worth knowing: XCL_NETWORK=0 per your HANDOFF is what our runs use.

<!-- greyfinch-sync:stellarr-studio/kelvaroq:comment:7206533326 --> Imported from [stellarr-studio/kelvaroq](https://github.com/stellarr-studio/kelvaroq/issues/20#issuecomment-7206533326). Originally posted by [Gnzaga](https://github.com/Gnzaga) on 2026-11-27T00:31:32Z. --- Two more data points, both from patched XCL (`Lilpez/xcl-ztrx`, and reproducible logic for this runtime too): **1. The trap is reachable by a record fix.** In XCL the `XUser` record behind the handle is an 8-byte static (`magic` + `refs`), so the predicate at `+0x1330a50` reads zeros at `+0x50`/`+0x58`. Growing the struct with an id at `+0x50` and a local slot at `+0x58`, stamped in `XUserAddAsync`, **stops the trap firing at confirm** — the title then proceeds into the intro/load. So the record layout is right; the confirm itself is fine. **2. What is left is the keyed lookup, not the record.** With the record patched, the third test still misses: the `call [vtable+0x3f0]` / `[+0x3f8]` lookup with key `0xE0C12D7A5D4884C5` returns invalid-slot (`0xFFFFFFFD`). The registry behind it is title-side and is normally populated on sign-in state change — and `XUserRegisterForChangeEvent` (`api.rs:946`) returns a token without ever invoking the callback, so a sign-in/registration event is likely the missing piece rather than any field value. **3. Unrelated but in the way:** past the picker the title executes `mov dword ptr [0], 0` at `+0x2215c35`. That is the no-hook branch of ``` +0x2215c27 mov rax, [rip + 0x4fa071a] ; global at +0x71B6348 +0x2215c31 je +0x2215c35 ; -> mov [0], 0 +0x2215c33 call rax ``` Seeding that global with a return-stub takes the run from ~1 minute to ~4 minutes (it renders frames in that window), so whatever normally installs the watchdog hook is also unset. Patches and notes: `git.gnzaga.com/gnzaga/gta6-runner` (open PR, `patches/0001-xuser-record-and-watchdog-hook.patch`). Also worth knowing: `XCL_NETWORK=0` per your HANDOFF is what our runs use.
Gnzaga commented 2026-11-27 01:43:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from stellarr-studio/kelvaroq. Originally posted by Gnzaga on 2026-11-27T01:43:41Z.


Corrected probe (reads the record through [rsi+0x10020] rather than rcx, which is clobbered by the fallback by the time the trap runs) gives, at +0x1330a44:

rcx_obj: id=0x701596b80 slot=0x817 user=0x7ff6d08eebe0
obj+40: 0x716bd3f60 0x0 0x701596b80 0x70817 0x0 0x0

So with the record stamped:

  • +0x50 id is non-zero → first test passes
  • +0x58 (16-bit) is 0x0817, not 0xFFFF → second test passes
  • the object is reachable and populated

rax=0 with both field tests satisfied means the predicate fails on the third test — the keyed virtual lookup (call [vtable+0x3f0] / [+0x3f8], key 0xE0C12D7A5D4884C5), whose fallback returns 0xFFFFFFFD (invalid slot) into rcx.

In other words the account record is no longer the problem; the title-side registry the lookup consults is empty for that key. That is consistent with the observation that this title never calls XUserRegisterForChangeEvent in our runs (0 occurrences over several minutes, with XUserAddAsync firing 8×), so implementing that event (which we did, in case) doesn't help this exception path.

Worth saying plainly: the mechanism populating that map is the missing piece, and it is not any of the record fields. If you know what the lookup is keyed on (a name hash? the XUser id from XUserGetId, which this title also never calls?) that would close it. Everything reachable from the runtime side has been tried: valid record, valid slot, signed-in change event.

Context on how far it now gets, so nobody assumes this blocks the picker entirely: with the record stamped and the watchdog hook seeded, the build reaches actual gameplay — a third-person helicopter over mountain terrain with working HUD, live and stable for ~7 minutes in the best run — and the trap then fires on a later confirm (navigation-experience page, same RVA).

Patches: git.gnzaga.com/gnzaga/gta6-runner patches/0001–0003 (record, watchdog hook, probe).

<!-- greyfinch-sync:stellarr-studio/kelvaroq:comment:7207528402 --> Imported from [stellarr-studio/kelvaroq](https://github.com/stellarr-studio/kelvaroq/issues/20#issuecomment-7207528402). Originally posted by [Gnzaga](https://github.com/Gnzaga) on 2026-11-27T01:43:41Z. --- Corrected probe (reads the record through `[rsi+0x10020]` rather than `rcx`, which is clobbered by the fallback by the time the trap runs) gives, at `+0x1330a44`: ``` rcx_obj: id=0x701596b80 slot=0x817 user=0x7ff6d08eebe0 obj+40: 0x716bd3f60 0x0 0x701596b80 0x70817 0x0 0x0 ``` So with the record stamped: - `+0x50` id is non-zero → first test passes - `+0x58` (16-bit) is `0x0817`, not `0xFFFF` → second test passes - the object is reachable and populated `rax=0` with both field tests satisfied means the predicate fails on the **third** test — the keyed virtual lookup (`call [vtable+0x3f0]` / `[+0x3f8]`, key `0xE0C12D7A5D4884C5`), whose fallback returns `0xFFFFFFFD` (invalid slot) into `rcx`. In other words the account record is no longer the problem; **the title-side registry the lookup consults is empty for that key**. That is consistent with the observation that this title never calls `XUserRegisterForChangeEvent` in our runs (`0` occurrences over several minutes, with `XUserAddAsync` firing 8×), so implementing that event (which we did, in case) doesn't help this exception path. Worth saying plainly: the mechanism populating that map is the missing piece, and it is not any of the record fields. If you know what the lookup is keyed on (a name hash? the XUser id from `XUserGetId`, which this title also never calls?) that would close it. Everything reachable from the runtime side has been tried: valid record, valid slot, signed-in change event. Context on how far it now gets, so nobody assumes this blocks the picker entirely: with the record stamped and the watchdog hook seeded, the build reaches actual gameplay — a third-person helicopter over mountain terrain with working HUD, live and stable for ~7 minutes in the best run — and the trap then fires on a later confirm (navigation-experience page, same RVA). Patches: `git.gnzaga.com/gnzaga/gta6-runner` `patches/0001`–`0003` (record, watchdog hook, probe).
Gnzaga commented 2026-11-27 01:55:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from stellarr-studio/kelvaroq. Originally posted by Gnzaga on 2026-11-27T01:55:54Z.


Confirmed the reading above by overriding it: the keyed-lookup vtable slots (+0x62FD480 +0x3f0/+0x3f8) now point at a stub, written into the image before section protections. With that, the picker trap is gone and every confirm falls through — the account path is behind us.

Two iterations were needed, and the second is the interesting one:

  • returning plain 1 satisfies the test al, al guard, but the caller then dereferences the result and hard-faults (+0x5305f04, read at address 0x1) — the lookup returns a pointer, and the guard only tests its low byte, so any stub has to hand back a real address;
  • with real readable memory it continues.

The next wall is a different trap: int3 at +0x2224517, reached by je from +0x22243ae, itself guarded by test al, al on the return of call 0x145b61000 (rbx=0, rbp=0). 0x145b61000 sits inside .text (RVA 0x1000..0x5f40966) and is not an IAT entry, so resolving it needs something other than an import-table walk; the call site writes [rcx]/[rcx+0x78] from eax and zeroes [rdx] first, so it is a setter with an out-parameter and the result is a state value.

So the picture for anyone following: record → watchdog hook → confirm lookup → this setter. All three current patches are needed in sequence; the signed-in change event still isn't called by the title.

Patches 0001–0004 and per-checkpoint notes: git.gnzaga.com/gnzaga/gta6-runner.

<!-- greyfinch-sync:stellarr-studio/kelvaroq:comment:7207692234 --> Imported from [stellarr-studio/kelvaroq](https://github.com/stellarr-studio/kelvaroq/issues/20#issuecomment-7207692234). Originally posted by [Gnzaga](https://github.com/Gnzaga) on 2026-11-27T01:55:54Z. --- Confirmed the reading above by overriding it: the keyed-lookup vtable slots (`+0x62FD480` `+0x3f0`/`+0x3f8`) now point at a stub, written into the image before section protections. With that, **the picker trap is gone and every confirm falls through** — the account path is behind us. Two iterations were needed, and the second is the interesting one: - returning plain `1` satisfies the `test al, al` guard, but the caller then dereferences the result and hard-faults (`+0x5305f04`, `read at address 0x1`) — **the lookup returns a pointer, and the guard only tests its low byte**, so any stub has to hand back a real address; - with real readable memory it continues. The next wall is a different trap: `int3` at `+0x2224517`, reached by `je` from `+0x22243ae`, itself guarded by `test al, al` on the return of `call 0x145b61000` (`rbx=0`, `rbp=0`). `0x145b61000` sits inside `.text` (RVA `0x1000..0x5f40966`) and is not an IAT entry, so resolving it needs something other than an import-table walk; the call site writes `[rcx]`/`[rcx+0x78]` from `eax` and zeroes `[rdx]` first, so it is a setter with an out-parameter and the result is a state value. So the picture for anyone following: record → watchdog hook → confirm lookup → this setter. All three current patches are needed in sequence; the signed-in change event still isn't called by the title. Patches `0001`–`0004` and per-checkpoint notes: `git.gnzaga.com/gnzaga/gta6-runner`.
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
stellarr-studio/kelvaroq#20
No description provided.