[GH-ISSUE #2396] [Windows / NVIDIA] Story load ends ~125 s in with a null read at game+0x231597 (once a non-pointer read at game+0x4d9c615), after 2a491668a fixes #2019's BCPack failures #59

Open
opened 2026-11-26 20:16:04 +01:00 by 4ld0 · 0 comments
Owner

Originally created by @nicoco23 on GitHub (Nov 26, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/2396

Machine: i7-12700KF (Intel, no SSE4a/CLZERO/MONITORX), RTX 5070 12 GB, 32 GB RAM, Windows 11 26200, TdrDelay/TdrDdiDelay 60 s.
Tree: 36d4e98a9 (main with 2a491668a) + #2195 (TLS atexit fix, needed to start at all). build_runtime.ps1 -FetchSdl3, RelWithDebInfo.
Launch: gta6rt.exe --first-run-ui, LEONIDA_RT_AS=off, LEONIDA_SKIP_COMPUTE = every library program of 1 MiB or more, title watchdog defused with locally measured KICK values (runtime logs "keeping the title's hang watchdog kicked").

What changed with 2a491668a: history.bcph regenerated, BC7 endpoint fields 4228 -> 4406 of 6144; the two missing-endpoint BC7 requests in data\ttdb\props\octa_imposters.ttpf that preceded the #2019 crash no longer fail (no dstorage: an entry failed in the log).

What happens next, on every run so far: first-run UI, story load at ~18 fps, then around t = 120 s the texture phase climbs (31-56 ms a submission on average, one at 2.6 s; console heap lines report ~170k V# resolutions "none" and ~400 "alias refused" in that window) and the title faults a few seconds later, at a different place each time:

  • game+0x4d9c615 (thread 7): mov eax,[r12+4] with r12 = 0x45603556438cd0bb, i.e. two floats (~3587.3, ~281.7) read as a pointer;
  • game+0x231597 (thread 12, called from game+0x229a38): mov rax,[r14] with r14 = 0.
    No skipped compute program was dispatched in these runs and no pipeline build was pending. With LEONIDA_ARENA_MB=4095 / LEONIDA_TITLE_WINDOWS_MB=4096 the texture phase became ~900 ms a submission and the run never left the first loading screen.

Happy to run a build or switches you suggest. No game data attached; dumps and logs stay local.

Originally created by @nicoco23 on GitHub (Nov 26, 2026). Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/2396 Machine: i7-12700KF (Intel, no SSE4a/CLZERO/MONITORX), RTX 5070 12 GB, 32 GB RAM, Windows 11 26200, TdrDelay/TdrDdiDelay 60 s. Tree: 36d4e98a9 (main with 2a491668a) + #2195 (TLS atexit fix, needed to start at all). build_runtime.ps1 -FetchSdl3, RelWithDebInfo. Launch: gta6rt.exe --first-run-ui, LEONIDA_RT_AS=off, LEONIDA_SKIP_COMPUTE = every library program of 1 MiB or more, title watchdog defused with locally measured KICK values (runtime logs "keeping the title's hang watchdog kicked"). What changed with 2a491668a: history.bcph regenerated, BC7 endpoint fields 4228 -> 4406 of 6144; the two `missing-endpoint` BC7 requests in data\ttdb\props\octa_imposters.ttpf that preceded the #2019 crash no longer fail (no `dstorage: an entry failed` in the log). What happens next, on every run so far: first-run UI, story load at ~18 fps, then around t = 120 s the texture phase climbs (31-56 ms a submission on average, one at 2.6 s; console heap lines report ~170k V# resolutions "none" and ~400 "alias refused" in that window) and the title faults a few seconds later, at a different place each time: - game+0x4d9c615 (thread 7): mov eax,[r12+4] with r12 = 0x45603556438cd0bb, i.e. two floats (~3587.3, ~281.7) read as a pointer; - game+0x231597 (thread 12, called from game+0x229a38): mov rax,[r14] with r14 = 0. No skipped compute program was dispatched in these runs and no pipeline build was pending. With LEONIDA_ARENA_MB=4095 / LEONIDA_TITLE_WINDOWS_MB=4096 the texture phase became ~900 ms a submission and the run never left the first loading screen. Happy to run a build or switches you suggest. No game data attached; dumps and logs stay local.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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
starred/leonida#59
No description provided.