Skip to content

Retail title: early assert 0x80000003 at title+0x2237178 on an RTX 3080 Ti, 0 presents, reproducible on main 9ab7d76 #301

Not planned

Description

@vladbondarenko97

Title: Retail title: early assert 0x80000003 at title+0x2237178 on an RTX 3080 Ti, 0 presents, reproducible on main 9ab7d76

Summary

On an RTX 3080 Ti the retail 1.0.2.1 title asserts (0x80000003) at game_scarlett_master.exe+0x2237178 before any D3D12 work is submitted: 0 presents, 0 shaders seen, 0 translated pipelines, 0 called stubs. Reproduced on 9ab7d76 (current main) and on 60565c4. The same assert at the same RVA was also reproduced by an unrelated clean-room layer, which suggests the trigger is host-environment/hardware-dependent rather than an XCL shim answer.

Setup

  • GPU: NVIDIA GeForce RTX 3080 Ti (12,084 MiB), driver 32.0.16.2124, 32-lane waves only
  • OS: Windows 11 build 10.0.26300.10075; system XGameRuntime 10.0.26100.9656
  • DXC 1.9.2602.17 (dxil 1.9.2602.17) from Windows SDK 10.0.26100
  • Rust stable 1.100.0, release build of 9ab7d76, XCL_NETWORK=0, lazy pipelines (default), XCL_ACTIVITY=1
  • Package: Series 1.0.2.1, unpacked. exe SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993 (the same hash quoted in Retail title: null write at +0x2215c35 (#159) still hits on NVIDIA RTX 4070 Ti, with and without XCL_NETWORK=0 #232); MicrosoftGame.Config SHA-256 d0d5e4777460045916046619cd0fd433aa251d4a74f4d91e83987588f907f80c (matches the published per-file manifest). All 17 package DLLs present, including libHttpClient.GDK.dll.

What happens

  • Report: presents: 0, frame_boundaries: 0, shaders.unique: 0, translated_pipelines: 0, failed_pipelines: 0, called_stubs: []; adapter is the real device; UMA opens fine (512 MB coherent window); DXC loads.
  • Crash: unhandled exception 0x80000003 in game_scarlett_master.exe+0x2237178
    rax=0 rbx=0 rcx=0 rdx=0x66 rsi=<heap> rdi=0 rbp=0 r8=0x7efefefefefefeff r9=0x7f656f712d2f6073 r11=0x8101010101010100
    (vtable game+0x677c997); stack: +0x677c997, +0x579105c, +0x700b71d, +0x53ec0f0, +0x4fac3d7
  • The watchdog-looking threads all sit in game+0x221c3c2 < game+0x2215eca (the region MKS2508 decoded in Retail title: null write at +0x2215c35 (#159) still hits on NVIDIA RTX 4070 Ti, with and without XCL_NETWORK=0 #232).
  • Timing: 5.8 s with the six DLLs the boot copy originally had; 15.6 s after the remaining nine package DLLs were added — later, but the same assert. (That DLL gap was our copy's, not xcl's; noting it because it moved the crash point.)
  • At 15.6 s the D3D12 trace holds no draw/dispatch from the title; the device/queues/allocators exist, and the first-chance break is the first failure.

Cross-layer reproduction

An independent clean-room runtime (not xcl; its own shims) runs the same title binary and dies with the identical first-chance 0x80000003 at title+0x2237178, with the same rax/rbx/rcx/rdx/r8/r9 pattern. Two layers failing at the same game RVA points at something the title checks that depends on the host (GPU/driver/feature set) rather than at one layer's shim answers.

Environment contrast

Reports that reach menus are on Ada/Blackwell (RTX 4070 Ti, 5070 Ti) and RDNA (RX 6700 XT / 7800 XT). This box is Ampere (SM 6.8, mesh tier 1). #42's 3080 results are test-suite only, not a title run. If this is Ampere-specific, the check at +0x2237178 is worth decoding the way #232's watchdog was: what does it read before the int3?

Ask

  • Is +0x2237178 known/decoded upstream? If it is another watchdog, which thread/slot silence trips it on this host?
  • Does anyone have a retail title success on Ampere (30-series) on Windows?
  • Happy to be the Ampere test bench: I can run any branch/PR you point me at and return traces, report.json, and timing. D3D12.X: a slow graphics pipeline waits at most 4 s once per build (#232) #267 is next on my list once the build lock clears.

AI-assisted (Claude Code CLI via a model proxy; the agent is not a human). No game files, no keys, no proprietary data attached — register/stack values above are the ones xcl itself printed.

Activity

  1. ivall commented on Nov 23, 2026

    @ivall
    Collaborator

    Thanks for the detailed report. An assert before any D3D12 work, reproduced by another layer at the same RVA, points at something the title reads from the machine early on. To narrow it: does it still happen on current main, and does the log show anything from GetSystemInfo / processor topology, memory status or the XGameRuntime calls just before it? XCL_TRACE_IMPORTS (all HLE calls with their arguments) and XCL_TRACE_FAULTS=1 on that run would show the last calls before the assert.

  2. vladbondarenko97 commented on Nov 24, 2026

    @vladbondarenko97
    ContributorAuthor

    Re-tested on current main (db1ddb2) with the complete package (all archives, incl. audio.rpf), Windows 11, RTX 3080 Ti, and both of the switches you suggested. Two results, one of them a bug in the tracer.

    1. XCL_TRACE_IMPORTS=all changes the title's behaviour — it breaks GetLogicalProcessorInformation.

    With XCL_TRACE_IMPORTS=all XCL_TRACE_FAULTS=1 the title dies at title+0x1f6774b, and the last calls before it are:

    [2.462] GetModuleHandleA                      <- +0x1e0a37d
    [2.463] GetLogicalProcessorInformation        <- +0x1f676a6   (Buffer = NULL: size query)
    [2.463] GetLastError                          <- +0x1f676bc
    [2.463] _seh_filter_exe(0x80000003, ...)
    [2.464] unhandled exception 0x80000003 in game_scarlett_master.exe+0x1f6774b
    

    The title's contract at that site is Windows' documented size-query one:

    xor  ecx, ecx                              ; Buffer = NULL
    call [GetLogicalProcessorInformation]
    test eax, eax
    jne  <assert>                              ; must return FALSE
    call [GetLastError]
    cmp  eax, 0x7a                             ; must be ERROR_INSUFFICIENT_BUFFER
    jne  <assert>
    ; then: allocate *ReturnLength, call again with the buffer
    

    I verified those two IAT slots in the image (0x6793bb0 = GetLogicalProcessorInformation, 0x67939c0 = GetLastError). The assert appears twice in the traced log and zero times in the untraced one, so it is the tracing wrapper, not the title and not the shim (xcl does not implement this function; it comes from the system).

    2. Without tracing, the title now reaches its first present on Ampere — but dies in init, not in D3D12.

    With the complete package (XCL_TRACE_IMPORTS off, XCL_FRAME_DUMP=2, XCL_TRACE_FAULTS=1):

    D3D12.X: PresentX – the title presents its own frames (1 plane(s))
    present: swap chain 3840x2160 DXGI_FORMAT(28)
    present: first game frame shown (3840x2160)
    ...
    activity (2 s): 1 presents, 5 submits, 0 draws, 0 dispatches
    unhandled exception 0x80000003 in game_scarlett_master.exe+0x1330a44
            rax=0x0 rcx=0xfffffffd rdx=0x1000 rbp=0x10000
            on the stack: +0x3143b5, +0x71c1560, +0x78d57e0, +0x51d2319, +0x7bdfaa8
    

    The dumped frame is uniform black (quarter-size dump). The failing site is a GUID-keyed interface lookup: mov rax,[rcx]; movabs rdx,0xe0c12d7a5d4884c5; call [rax+0x3f8] → the result is null (and the size helper at +0x1330a50 returns 0 when [obj+0x50] is null or the id at [obj+0x58] is 0xFFFF), so the caller jumps into int3. The same movabs <64-bit> / call [vtable+0x3f8] shape appears 15 times across the image for three different keys — it reads like a QueryInterface for title-side subsystems, and on this run one of them was never registered.

    Pipeline accounting for that run: d3d12.presents=1, background_pipelines=[0,0,50561] (registered, none built), translated=0, fallback=0, 0 draws/dispatches. Note your xcl-pso-* workers are idle at that point (a PDB-symbolised dump of our own build puts them in pso_async::queue → Mutex::lock_contended), so the queue is a symptom of the title dying before its first bind, not a stall.

    Also, for completeness: our old 0x80000003 @ title+0x2237178 was not an Ampere fault — it was a missing audio.rpf on our side (the VIctory PR #12 class). With every archive present it is gone.

    Happy to run any instrumented build you want on this hardware (NVIDIA, complete package, retail title).

    AI-assisted (Claude Code CLI via a model proxy; the runs and every log line above are xcl's own output).

  3. MonkeyPython commented on Nov 24, 2026

    @MonkeyPython

    @C:/Users/jlgut/AppData/Local/Temp/xcl-301-body.md

  4. pickles976 commented on Nov 24, 2026

    @pickles976

    Static decode of the assert site from a byte-verified copy of the same 1.0.2.1 exe (SHA-256 e95020b2…; disassembly done offline, no run). The trap at +0x2237178 is inside function 0x2236e00..0x22371bd:

    +0x2237167: call exe+0x2213030        ; per-subsystem bring-up(index = packed r14/ebp key, see +0x223714b)
    +0x223716c: mov  ecx, dword ptr [rsi+0xC]
    +0x223716f: call exe+0x6170           ; tiny helper: `test ecx,ecx; setne al; ret`
    +0x2237174: test al, al
    +0x2237176: jne  ok
    +0x2237178: int3                      <== reported crash
    

    So the assert does not test bring-up's return value — it asserts that the status word at [object+0xC] is non-zero after bring-up. Bring-up itself (exe+0x2213030) forces config bit 0x1000 into a global flag dword (exe+0x7453dc0) and its first gate is a bool from exe+0x5ea68c0. Practical narrowing on a reproducing host: watchpoint [rsi+0xC] (or log writes to it) — whatever should have written a non-zero status is the actual failure, and on a 0-present early stop the prime suspect is the device/swapchain creation status this slot latches, not the assert itself. The int3 is a debug trap that also fires in release titles here, so it will keep showing up as 0x80000003 regardless of build config.

  5. changed the title [-]Retail GTA VI: early assert 0x80000003 at title+0x2237178 on an RTX 3080 Ti, 0 presents, reproducible on main 9ab7d76[/-] [+]Retail title: early assert 0x80000003 at title+0x2237178 on an RTX 3080 Ti, 0 presents, reproducible on main 9ab7d76[/+] on Nov 24, 2026
  6. ivall commented on Nov 24, 2026

    @ivall
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions