title watchdog fires (0xc0000005 write 0x0 at +0x2215c35) 6 min into a run on the test build #658

Open
opened 2026-12-05 23:03:20 +00:00 by tarakanovalexey · 1 comment

What happened

6 minutes into a fresh run (6m14s, frame 7235) after the world loaded, the title ended itself with its own 30-second watchdog:

darner: unhandled exception 0xc0000005 at darner-image-b99f876b74d4a77f.dll+0x2215c35 (write 0x0: nothing mapped there)
  #0  darner-image-b99f876b74d4a77f.dll+0x2215c35
  #1  darner-image-b99f876b74d4a77f.dll+0x2215eca
  #2  KERNEL32.DLL+0x2ccb7

Two seconds later the Breakpad handler raised 0x80000003 at +0x22106e0 (the same int3 as in #437, #496, #548) and wrote the crash context and a 38 MB dump.

The title's own context at the moment shows Paused: No, Streaming Requests: 75, TileHeap: 3581/6236 Mb, Game Physical: 1386/4026 MB — not near the memory ceiling. The first minutes of the run had the shader cache being rebuilt (first run on this build), and the title was riding a vehicle in the city.

The watchdog is normally quieted in darner; in this build it fired. The exe's strings include darner-watchdog-feed and title's watchdog: no thread to feed it — maybe the feed didn't reach the right thread in this run.

Before you post

  • Searched the existing issues for this exact address

RAY TRACING in F1

Off

GPU and driver

NVIDIA GeForce RTX 4070 Ti (12 GB), driver 621.47

CPU, RAM and Windows version

Windows 11 (build 26200), 32 GB RAM

Darner release or commit

v2026.12.05.01-test (exe sha256 01BEDFAA476072147B32181B2959258AFAED50D91198D225B0C0C9CBF121E7A8)

Settings

  • VICTORY_ALLOW_MODDED=1, DARNER_LEAVE_OUT=731a39171b568298, DARNER_SMALL_WHEN_FULL=1 (the launcher's play.cmd)
  • 3840x2160, DLSS, frame generation on, ray tracing off
  • The retail 1.0.2.1 exe (b99f876b...); the patched nullfix exe was removed for this run

Log files attached

The crash context and minidump are on disk; the play log for this run is missing (I can find it nowhere under %LOCALAPPDATA%\Darner).

Are you working on a fix?

No

### What happened 6 minutes into a fresh run (6m14s, frame 7235) after the world loaded, the title ended itself with its own 30-second watchdog: ``` darner: unhandled exception 0xc0000005 at darner-image-b99f876b74d4a77f.dll+0x2215c35 (write 0x0: nothing mapped there) #0 darner-image-b99f876b74d4a77f.dll+0x2215c35 #1 darner-image-b99f876b74d4a77f.dll+0x2215eca #2 KERNEL32.DLL+0x2ccb7 ``` Two seconds later the Breakpad handler raised `0x80000003` at `+0x22106e0` (the same int3 as in #437, #496, #548) and wrote the crash context and a 38 MB dump. The title's own context at the moment shows `Paused: No`, `Streaming Requests: 75`, `TileHeap: 3581/6236 Mb`, `Game Physical: 1386/4026 MB` — not near the memory ceiling. The first minutes of the run had the shader cache being rebuilt (first run on this build), and the title was riding a vehicle in the city. The watchdog is normally quieted in darner; in this build it fired. The exe's strings include `darner-watchdog-feed` and `title's watchdog: no thread to feed it` — maybe the feed didn't reach the right thread in this run. ### Before you post - [x] Searched the existing issues for this exact address ### RAY TRACING in F1 Off ### GPU and driver NVIDIA GeForce RTX 4070 Ti (12 GB), driver 621.47 ### CPU, RAM and Windows version Windows 11 (build 26200), 32 GB RAM ### Darner release or commit v2026.12.05.01-test (exe sha256 01BEDFAA476072147B32181B2959258AFAED50D91198D225B0C0C9CBF121E7A8) ### Settings - `VICTORY_ALLOW_MODDED=1`, `DARNER_LEAVE_OUT=731a39171b568298`, `DARNER_SMALL_WHEN_FULL=1` (the launcher's play.cmd) - 3840x2160, DLSS, frame generation on, ray tracing off - The retail 1.0.2.1 exe (b99f876b...); the patched nullfix exe was removed for this run ### Log files attached The crash context and minidump are on disk; the play log for this run is missing (I can find it nowhere under %LOCALAPPDATA%\Darner). ### Are you working on a fix? No

Looking at apps/darner/src/preload.rs:76-91 and crates/darner-gpu/src/pipeline/make.rs:563-596, 850-938, 989-1006, there is a cold-run bug that explains a watchdog kill ~6 minutes into a first run with an empty shader cache:

  1. When listed == 0 (cold run, no created-pipelines.bin from an earlier run), preload::before_title() skips the preload popup (preload.rs:80) but still calls pipelines::preload_listed() at line 84.
  2. preload_listed() sets PLAY_PATH = true (make.rs:936), which makes both menu HOLD and wait_until_all_made() (make.rs:990) return immediately instead of holding at loading until pipelines are ready.
  3. Entering the world while all pipelines compile triggers two watchdog paths:
    • feeder() (make.rs:570-592) only bumps the 30 s HEARTBEAT (title+0x71b6338), not the title's second 300 s watchdog (crates/darner-loader/src/hooks.rs:10-14: "when a section the title marked as GPU work has been open for 300 s" — which triggers the same 0x4d8bd421 crash handler at +0x2215c35). ~1 min boot/load + 300 s open GPU work matches ~6 min.
    • Separately, once WAITING == 0 && IN_WAIT == 0, feeder() also stops bumping HEARTBEAT even if title threads block >=30 s inside stall::doing(...) / CardWait / dstorage CPU decodes.
Looking at `apps/darner/src/preload.rs:76-91` and `crates/darner-gpu/src/pipeline/make.rs:563-596, 850-938, 989-1006`, there is a cold-run bug that explains a watchdog kill ~6 minutes into a first run with an empty shader cache: 1. When `listed == 0` (cold run, no `created-pipelines.bin` from an earlier run), `preload::before_title()` skips the preload popup (`preload.rs:80`) **but still calls `pipelines::preload_listed()` at line 84**. 2. `preload_listed()` sets `PLAY_PATH = true` (`make.rs:936`), which makes both menu `HOLD` and `wait_until_all_made()` (`make.rs:990`) return immediately instead of holding at loading until pipelines are ready. 3. Entering the world while all pipelines compile triggers two watchdog paths: - `feeder()` (`make.rs:570-592`) only bumps the 30 s `HEARTBEAT` (`title+0x71b6338`), **not** the title's second 300 s watchdog (`crates/darner-loader/src/hooks.rs:10-14`: *"when a section the title marked as GPU work has been open for 300 s"* — which triggers the same `0x4d8bd421` crash handler at `+0x2215c35`). ~1 min boot/load + 300 s open GPU work matches ~6 min. - Separately, once `WAITING == 0 && IN_WAIT == 0`, `feeder()` also stops bumping `HEARTBEAT` even if title threads block >=30 s inside `stall::doing(...)` / `CardWait` / `dstorage` CPU decodes.
TrustNo1 changed title from [crash] title watchdog fires (0xc0000005 write 0x0 at +0x2215c35) 6 min into a run on the test build to title watchdog fires (0xc0000005 write 0x0 at +0x2215c35) 6 min into a run on the test build 2026-12-06 03:18:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
TrustNo1/Darner#658
No description provided.