New build (main at 41adb55, Nov 29): ~10 s stalls on the map, boat scene at ~2 fps, then the title's null memcpy (0xc0000005, same stack twice) #3467

Open
opened 2026-11-29 23:38:10 +00:00 by zinixyt · 2 comments
zinixyt commented 2026-11-29 23:38:10 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by zinixyt on 2026-11-29T23:38:10Z.


victory-logs-20261129.zip

What happened

Two runs tonight on the new build, both Series S profile, 1080 to 1440, DLSS performance, DLSS frame generation ×2:

  1. The map ran at about 10 seconds a frame. I closed the game after 11 minutes. The log has 42 quiet windows over 5 s in those 11 minutes; the six biggest were 9.2 to 9.8 s, between 23:17:37 and 23:18:48 UTC. The line right after each one:

    INFO victory_gpu::pipeline::make: a pass over the screen was waited for (VICTORY_SCREEN_WAIT_MS=0: dropped pa[sses])
    

    The exit summary agrees: "the card idle behind us" 20.9 ms a frame on average, so the stall was on the CPU side, not the card.

  2. The boat scene ran at about 2 fps, then it crashed out of nowhere. No stalls this time (no gap over 5 s in the whole log): the run averaged 8 fps over 6m53s, with 239 "Frame rate over 100.00 ms" warnings, and the last two minutes were the 2 fps part. Then the title's own code died:

    unix time 1795995016, process 14712
    VIctory: unhandled exception 0xc0000005 at VCRUNTIME140.dll+0x1cbb6 (read 0x0: nothing mapped there)
      #1  victory-image-b99f876b74d4a77f.dll+0x3de6491
      ...
    

    The registers say memcpy: rdx=0x0, 16 bytes. The title copied from a null pointer inside its own frames.

  3. The same crash happened this afternoon on the previous build (process 19968, after 70 minutes in the world): identical stack to the offset, and nearly the same place in the game, camera about 5 m away, same mission hash 0x03da4607, both Lockhart. So it reproduces across builds at the boat scene.

The title's own crash handler ran both times and left its context (both victory-*.crash.log files are attached):

  • memory.load_percent: 100, system.memory.free: 0
  • TileHeap: used (1506Mb) - total (3977Mb)
  • Current Vehicle: L35P, Game State: Game Running, 11 streaming requests

My guess: at the boat the title's memory is full, an allocation it did not check came back null, and the next memcpy killed it. The handler also wrote a ~50 MB minidump and tried to upload it to backtrace.io, which VIctory's network block refused; both dumps are still on disk here. I left them out of the attachment on purpose.

Environment

  • GPU: NVIDIA GeForce RTX 3060 12 GB, driver 610.88.0 (32.0.16.1088)
  • Windows 11 Home, 23H2 (build 22631), 32 GB RAM
  • VIctory: release build from main at 41adb55 ("Diagnostics build compiles again", the newest commit of Nov 29), exe dated 2026-11-29 23:04 UTC, 15.1 MB
  • Series S profile, 1080→1440, DLSS performance, frame generation ×2 (MFG Unlocker, Streamline SDK 2.14.16), gamepad

Logs

Attached as one zip, victory-logs-20261129.zip (4 MB):

  • victory-nvidia-play-20261129-231129-20544.log — the 10 s-a-frame map run, clean exit
  • victory-nvidia-play-20261129-232326-14712.log — the boat scene run, ends at the crash
  • victory-nvidia-play-20261129-125356-19968.log — the afternoon crash on the previous build, same stack
  • victory-nvidia-play-20261129-230445-25896.log — the new build's warm-up stub
  • crashes.log — every crash from this machine: yesterday's 0x8007000E host failure (#660) and the two identical 0xc0000005
  • the two victory-*.crash.log context files from temp

Yesterday's run (#660) ended on the host running out of memory with these same profile settings; tonight's crash is the title's own code with the title's memory full. They may share a cause, or not.

Happy to run with VICTORY_D3D12_DEBUG=1, with frame generation off, or with any switch set you want tested.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6685711090 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3467). Originally posted by [zinixyt](https://github.com/zinixyt) on 2026-11-29T23:38:10Z. --- [victory-logs-20261129.zip](https://github.com/user-attachments/files/35586191/victory-logs-20261129.zip) ## What happened Two runs tonight on the new build, both Series S profile, 1080 to 1440, DLSS performance, DLSS frame generation ×2: 1. **The map ran at about 10 seconds a frame.** I closed the game after 11 minutes. The log has 42 quiet windows over 5 s in those 11 minutes; the six biggest were 9.2 to 9.8 s, between 23:17:37 and 23:18:48 UTC. The line right after each one: ``` INFO victory_gpu::pipeline::make: a pass over the screen was waited for (VICTORY_SCREEN_WAIT_MS=0: dropped pa[sses]) ``` The exit summary agrees: "the card idle behind us" 20.9 ms a frame on average, so the stall was on the CPU side, not the card. 2. **The boat scene ran at about 2 fps, then it crashed out of nowhere.** No stalls this time (no gap over 5 s in the whole log): the run averaged 8 fps over 6m53s, with 239 "Frame rate over 100.00 ms" warnings, and the last two minutes were the 2 fps part. Then the title's own code died: ``` unix time 1795995016, process 14712 VIctory: unhandled exception 0xc0000005 at VCRUNTIME140.dll+0x1cbb6 (read 0x0: nothing mapped there) #1 victory-image-b99f876b74d4a77f.dll+0x3de6491 ... ``` The registers say memcpy: `rdx=0x0`, 16 bytes. The title copied from a null pointer inside its own frames. 3. **The same crash happened this afternoon on the previous build** (process 19968, after 70 minutes in the world): identical stack to the offset, and nearly the same place in the game, camera about 5 m away, same mission hash `0x03da4607`, both Lockhart. So it reproduces across builds at the boat scene. The title's own crash handler ran both times and left its context (both `victory-*.crash.log` files are attached): - `memory.load_percent: 100`, `system.memory.free: 0` - `TileHeap: used (1506Mb) - total (3977Mb)` - `Current Vehicle: L35P`, `Game State: Game Running`, 11 streaming requests My guess: at the boat the title's memory is full, an allocation it did not check came back null, and the next memcpy killed it. The handler also wrote a ~50 MB minidump and tried to upload it to backtrace.io, which VIctory's network block refused; both dumps are still on disk here. I left them out of the attachment on purpose. ## Environment - GPU: NVIDIA GeForce RTX 3060 12 GB, driver 610.88.0 (32.0.16.1088) - Windows 11 Home, 23H2 (build 22631), 32 GB RAM - VIctory: release build from main at `41adb55` ("Diagnostics build compiles again", the newest commit of Nov 29), exe dated 2026-11-29 23:04 UTC, 15.1 MB - Series S profile, 1080→1440, DLSS performance, frame generation ×2 (MFG Unlocker, Streamline SDK 2.14.16), gamepad ## Logs Attached as one zip, `victory-logs-20261129.zip` (4 MB): - `victory-nvidia-play-20261129-231129-20544.log` — the 10 s-a-frame map run, clean exit - `victory-nvidia-play-20261129-232326-14712.log` — the boat scene run, ends at the crash - `victory-nvidia-play-20261129-125356-19968.log` — the afternoon crash on the previous build, same stack - `victory-nvidia-play-20261129-230445-25896.log` — the new build's warm-up stub - `crashes.log` — every crash from this machine: yesterday's 0x8007000E host failure (#660) and the two identical 0xc0000005 - the two `victory-*.crash.log` context files from temp Yesterday's run (#660) ended on the host running out of memory with these same profile settings; tonight's crash is the title's own code with the title's memory full. They may share a cause, or not. Happy to run with `VICTORY_D3D12_DEBUG=1`, with frame generation off, or with any switch set you want tested.
realmalikov commented 2026-12-01 15:57:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by realmalikov on 2026-12-01T15:57:45Z.


Adding two logs from my GTX 1060 6GB (32 GB RAM + 32 GB pagefile, Series S) hitting the exact same 0xc0000005 (VCRUNTIME140.dll+0x1dc26 / memcpy from 0x0) crash during Jason's boat/plane chase, per @tarekmania's suggestion in #2823:

  • Reproducible across two different runs and builds/relay modes, both with the exact same 20-frame stack trace in victory-image-b99f876b74d4a77f-p2f9ea84c.dll:
    1. PID 6052 (a6969b7f, RELAY=0 / INDIRECT_BATCH=0, 31:21 total / 24:07 in-game): crashed at 00:38:42 UTC (25,757 MB committed, 8,749 MB own VRAM).
    2. PID 21516 (d5cf45b2, RELAY=1 / INDIRECT_BATCH=2, 5:35 total / 226s in-game): crashed at 14:34:17 UTC at lower memory (21,016 MB committed, 6,613 MB own VRAM, 0 OOM warnings).
  • Both logs also show the title asks the system's memory status total_mb=7776 available_mb=0 load=100 (xmem.rs:3515-3540), logged ~3.1–3.3s after the crashes.log timestamp right before BacktraceBreakpad starts writing the dump.

Attached gtx1060-relay1-logs.zip containing both play logs, crashes.log (entries 10 & 11), and a README with the exact stack offsets and xmem.rs timing details.

gtx1060-relay1-logs.zip

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7316805112 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3467#issuecomment-7316805112). Originally posted by [realmalikov](https://github.com/realmalikov) on 2026-12-01T15:57:45Z. --- Adding two logs from my **GTX 1060 6GB** (32 GB RAM + 32 GB pagefile, Series S) hitting the exact same `0xc0000005` (`VCRUNTIME140.dll+0x1dc26` / `memcpy` from `0x0`) crash during **Jason's boat/plane chase**, per `@tarekmania`'s suggestion in #2823: - Reproducible across two different runs and builds/relay modes, both with the **exact same 20-frame stack trace** in `victory-image-b99f876b74d4a77f-p2f9ea84c.dll`: 1. `PID 6052` (`a6969b7f`, `RELAY=0 / INDIRECT_BATCH=0`, 31:21 total / 24:07 in-game): crashed at `00:38:42 UTC` (`25,757 MB` committed, `8,749 MB` own VRAM). 2. `PID 21516` (`d5cf45b2`, `RELAY=1 / INDIRECT_BATCH=2`, 5:35 total / 226s in-game): crashed at `14:34:17 UTC` at lower memory (`21,016 MB` committed, `6,613 MB` own VRAM, `0` OOM warnings). - Both logs also show `the title asks the system's memory status total_mb=7776 available_mb=0 load=100` (`xmem.rs:3515-3540`), logged ~3.1–3.3s after the `crashes.log` timestamp right before `BacktraceBreakpad` starts writing the dump. Attached `gtx1060-relay1-logs.zip` containing both play logs, `crashes.log` (entries 10 & 11), and a README with the exact stack offsets and `xmem.rs` timing details. [gtx1060-relay1-logs.zip](https://github.com/user-attachments/files/35691733/gtx1060-relay1-logs.zip)
realmalikov commented 2026-12-01 17:01:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by realmalikov on 2026-12-01T17:01:00Z.


Quick follow-up check on those attached logs & xmem.rs:

  • Exact #3467 match: Frame #1 in both crashes (PID 6052 and PID 21516) is indeed +0x3de6491 (#4547's +0x3de915c is not in the stack).
  • Title never queried HLE memory status before crashing:
    • XMemGetWorkingSetStatistics (which logs on its 1st call) was called 0 times across all 10 of our logs.
    • GlobalMemoryStatusEx (which logs Once on its 1st call) appears only +3.33s / +3.15s after the crashes.log timestamp, right before the first BacktraceBreakpad line — meaning Breakpad queried it while writing the minidump, not the game prior to the null-read.

So title_memory()'s PagefileUsage shortcut reporting available_mb=0 probably isn't what triggers +0x3de6491 directly here.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7318613387 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3467#issuecomment-7318613387). Originally posted by [realmalikov](https://github.com/realmalikov) on 2026-12-01T17:01:00Z. --- Quick follow-up check on those attached logs & `xmem.rs`: - **Exact `#3467` match:** Frame `#1` in both crashes (`PID 6052` and `PID 21516`) is indeed **`+0x3de6491`** (`#4547`'s `+0x3de915c` is not in the stack). - **Title never queried HLE memory status before crashing:** - `XMemGetWorkingSetStatistics` (which logs on its 1st call) was called **0 times** across all 10 of our logs. - `GlobalMemoryStatusEx` (which logs `Once` on its 1st call) appears only **+3.33s / +3.15s after** the `crashes.log` timestamp, right before the first `BacktraceBreakpad` line — meaning Breakpad queried it while writing the minidump, not the game prior to the null-read. So `title_memory()`'s `PagefileUsage` shortcut reporting `available_mb=0` probably isn't what triggers `+0x3de6491` directly here.
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
trustno1-coder/VIctory-NVIDIA#3467
No description provided.