RTX 3060 / 16 GB / Win10: watchdog crash at +0x23cf683 — VICTORY_HELD_WAIT_MS fix never fires, NOP-patching the store hangs the start #990

Closed
opened 2026-11-28 14:31:20 +00:00 by github-bot · 2 comments
Owner

@⁠darren2323 on GitHub · 2026-11-28 10:48 UTC · original

GTA 6 crash at +0x23cf683: the VICTORY_HELD_WAIT_MS fix never fires here, and disarming the store by patching the image hangs the start

Posting an independent reproduction on different hardware, plus two results I have not seen reported yet.

Setup

RTX 3060 12 GB, i7-8700, 16 GB, Windows 10 22H2 (19045.6218), NVIDIA 580.88
victory.exe v2026.11.28.01 (sha256 49CEBC4F…FBB33), title image 1.0.2.1 (sha256 E95020B2…A08993)
Series X, 2560x1440, DLSS Quality or Performance, frame generation off
Game folder on an exFAT volume
Symptom

20 runs today, every one ends the same way:

Code block

unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0)
rax 0x0 rbx 0x0 rcx 0xd0024c348 rdx 0x1 rbp 0x0
r8 0xd074d8c40 r9 0xd074d8e20 r10 0xd074d8ad8 r11 0xd074d8c40
#0 +0x23cf683 #1 +0x2215c35 #2 +0x2215eca #3 KERNEL32.DLL+0x17374
Registers are identical in all 20 runs, matching the pattern in the report above. Survival is 122–753 s (median ~200 s).

It is not OOM. Crash-time memory.load_percent was 93–99 in most runs, but one run crashed at 80 % with 3.0 GB free, and the 16 GB D3D12 allocation failures of #804 look like a separate symptom (no 0x8007000E here). Turning off the MFG Unlocker, turning off the GPU-name override, Series S / 720p, and clearing cache\shaders|pipelines|images all left the crash unchanged.

The fix does not fire

I built Machad3x/VIctory-nvidia-RTX main (0fa96c91) myself (Rust 1.100.1, MSVC 14.44, Windows SDK 26100; cargo build --release --locked -p victory, 2m44s). The binary contains VICTORY_HELD_WAIT_MS.

Run A, default 1500 ms, Series X / 1440p / DLSS Quality: crash at +0x23cf683 after 214 s
Run B, VICTORY_HELD_WAIT_MS=600, Series S / 720p / DLSS Performance: crash at +0x23cf683 after 231 s
held work runs without its unmet wait appears 0 times in both logs
So the stall here is not the held-value-wait case that commit fixes. What precedes the crash: presents stop for ~40 s while first bind pipeline … frame=… keeps logging — the title is still working, not blocked on a queue wait.

Disarming the store hangs the start

For diagnosis I patched the title image instead. At +0x23cf683 the code is a deliberate null write:

Code block

C7 04 25 00 00 00 00 21 D4 8B 4D ; mov dword ptr [0], 0x4D8BD421
48 83 C4 48 C3 ; add rsp, 0x48 ; ret
I replaced the 11-byte store with 11 NOPs at file offset 0x23CEA83 (+0x2215C35 is a second site: C7 04 25 00 00 00 00 00 00 00 00 followed by CC).

Result: no crash for 10 minutes — but the run never got past the start. The play log stops after 5 lines, right after Streamline loaded (manual hooking, no downloads) … framegen=false, and the process sits there for the whole 10 minutes (no further log lines, no presents, no crash).

Question: is a static patch of that store supposed to be enough, or does the loader/hle depend on those exact bytes during prepare/map/bind? If VICTORY_NO_WATCHDOG (the other fork) also changes something else, the missing piece would be good to know — a disarmed watchdog would at least tell us whether these 40 s stalls resolve on their own.

Logs available: newest victory-nvidia-play-*.log (2–4 MB), crashes.log entries for all 20 runs, and a victory-…-…-….crash.log per run.

Happy to run anything you want tested (I can rebuild either fork and re-run on this machine).

**@⁠darren2323** on GitHub · 2026-11-28 10:48 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/990) GTA 6 crash at +0x23cf683: the VICTORY_HELD_WAIT_MS fix never fires here, and disarming the store by patching the image hangs the start Posting an independent reproduction on different hardware, plus two results I have not seen reported yet. Setup RTX 3060 12 GB, i7-8700, 16 GB, Windows 10 22H2 (19045.6218), NVIDIA 580.88 victory.exe v2026.11.28.01 (sha256 49CEBC4F…FBB33), title image 1.0.2.1 (sha256 E95020B2…A08993) Series X, 2560x1440, DLSS Quality or Performance, frame generation off Game folder on an exFAT volume Symptom 20 runs today, every one ends the same way: Code block unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0) rax 0x0 rbx 0x0 rcx 0xd0024c348 rdx 0x1 rbp 0x0 r8 0xd074d8c40 r9 0xd074d8e20 r10 0xd074d8ad8 r11 0xd074d8c40 #0 +0x23cf683 #1 +0x2215c35 #2 +0x2215eca #3 KERNEL32.DLL+0x17374 Registers are identical in all 20 runs, matching the pattern in the report above. Survival is 122–753 s (median ~200 s). It is not OOM. Crash-time memory.load_percent was 93–99 in most runs, but one run crashed at 80 % with 3.0 GB free, and the 16 GB D3D12 allocation failures of #804 look like a separate symptom (no 0x8007000E here). Turning off the MFG Unlocker, turning off the GPU-name override, Series S / 720p, and clearing cache\shaders|pipelines|images all left the crash unchanged. The fix does not fire I built Machad3x/VIctory-nvidia-RTX main (0fa96c91) myself (Rust 1.100.1, MSVC 14.44, Windows SDK 26100; cargo build --release --locked -p victory, 2m44s). The binary contains VICTORY_HELD_WAIT_MS. Run A, default 1500 ms, Series X / 1440p / DLSS Quality: crash at +0x23cf683 after 214 s Run B, VICTORY_HELD_WAIT_MS=600, Series S / 720p / DLSS Performance: crash at +0x23cf683 after 231 s held work runs without its unmet wait appears 0 times in both logs So the stall here is not the held-value-wait case that commit fixes. What precedes the crash: presents stop for ~40 s while first bind pipeline … frame=… keeps logging — the title is still working, not blocked on a queue wait. Disarming the store hangs the start For diagnosis I patched the title image instead. At +0x23cf683 the code is a deliberate null write: Code block C7 04 25 00 00 00 00 21 D4 8B 4D ; mov dword ptr [0], 0x4D8BD421 48 83 C4 48 C3 ; add rsp, 0x48 ; ret I replaced the 11-byte store with 11 NOPs at file offset 0x23CEA83 (+0x2215C35 is a second site: C7 04 25 00 00 00 00 00 00 00 00 followed by CC). Result: no crash for 10 minutes — but the run never got past the start. The play log stops after 5 lines, right after Streamline loaded (manual hooking, no downloads) … framegen=false, and the process sits there for the whole 10 minutes (no further log lines, no presents, no crash). Question: is a static patch of that store supposed to be enough, or does the loader/hle depend on those exact bytes during prepare/map/bind? If VICTORY_NO_WATCHDOG (the other fork) also changes something else, the missing piece would be good to know — a disarmed watchdog would at least tell us whether these 40 s stalls resolve on their own. Logs available: newest victory-nvidia-play-*.log (2–4 MB), crashes.log entries for all 20 runs, and a victory-…-…-….crash.log per run. Happy to run anything you want tested (I can rebuild either fork and re-run on this machine).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:31:20 +00:00
Author
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-28 10:52 UTC · original

On the static patch: VICTORY_NO_WATCHDOG (on our fork) does not touch your game file. The loader patches the mapped copy in memory (the loader's derived image, not your game file), after it has checked the image's original BLAKE3 (b99f876b…) and before any title code runs; nothing is written to disk. A patched file has a different hash, which may be what stalls your start; I have not tested a file patch, so that part is a guess.

It patches two sites, and refuses unless the exact expected bytes are there:

  • +0x2215c27 (the 7-byte mov rax, [rip+…] that starts the watchdog block): jmp +0x18 plus NOPs, so the handler call and the fallback fault at +0x2215c35 are skipped entirely.
  • +0x23cf683 (the 11-byte mov dword ptr [0], 0x4D8BD421): an 11-byte NOP.

With it, one ~33 s capture stall finished and the title kept running about 1.5 more minutes until the run ended normally (1.0.2.1, RTX 2070 SUPER, Windows 11, diag build, Series S, DLSS; one run, details in #846). Code: Jesper-Andersson/VIctory-8GB-30fps, branch t1p-watchdog, commit f221bf54, crates/victory-loader/src/hooks.rs. The commit touches only three loader files (hooks.rs, lib.rs, windows.rs) and sits on our t1-base, which is trustno1 main 8fc22547 plus 18 of our off-by-default ports; it may need adapting onto Machad3x's tree.

This comment was drafted with AI assistance (Claude Code).

**@⁠Jesper-Andersson** on GitHub · 2026-11-28 10:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/990#issuecomment-7238175854) On the static patch: `VICTORY_NO_WATCHDOG` (on our fork) does not touch your game file. The loader patches the mapped copy in memory (the loader's derived image, not your game file), after it has checked the image's original BLAKE3 (b99f876b…) and before any title code runs; nothing is written to disk. A patched file has a different hash, which may be what stalls your start; I have not tested a file patch, so that part is a guess. It patches two sites, and refuses unless the exact expected bytes are there: - `+0x2215c27` (the 7-byte `mov rax, [rip+…]` that starts the watchdog block): `jmp +0x18` plus NOPs, so the handler call and the fallback fault at `+0x2215c35` are skipped entirely. - `+0x23cf683` (the 11-byte `mov dword ptr [0], 0x4D8BD421`): an 11-byte NOP. With it, one ~33 s capture stall finished and the title kept running about 1.5 more minutes until the run ended normally (1.0.2.1, RTX 2070 SUPER, Windows 11, diag build, Series S, DLSS; one run, details in #846). Code: Jesper-Andersson/VIctory-8GB-30fps, branch t1p-watchdog, commit f221bf54, `crates/victory-loader/src/hooks.rs`. The commit touches only three loader files (hooks.rs, lib.rs, windows.rs) and sits on our t1-base, which is trustno1 main 8fc22547 plus 18 of our off-by-default ports; it may need adapting onto Machad3x's tree. This comment was drafted with AI assistance (Claude Code).
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 19:47 UTC · original

Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.

If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!

**@⁠trustno1-coder** on GitHub · 2026-11-29 19:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/990#issuecomment-7261563885) Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then. If it still happens on the [latest release](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest), please open a new issue with the play log and crashes.log from that run. Thanks for reporting!
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/trustno1-coder--VIctory-NVIDIA#990
No description provided.