[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 #2396

Closed
opened 2026-11-26 19:03:53 +00:00 by nicoco23 · 1 comment
nicoco23 commented 2026-11-26 19:03:53 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by nicoco23 on 2026-11-26T19:03:53Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6633373001 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2396). Originally posted by [nicoco23](https://github.com/nicoco23) on 2026-11-26T19:03:53Z. --- 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.
aslan2142 commented 2026-12-01 17:06:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T17:06:35Z.


Closing this issue because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the report/contribution! If you believe this issue was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7318767615 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2396#issuecomment-7318767615). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T17:06:35Z. --- Closing this issue because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the report/contribution! If you believe this issue was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.
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
ProjectLeonida/mandy#2396
No description provided.