RX 7900 XT Crash during opening cutscene #40

Open
opened 2026-11-26 03:31:29 +00:00 by github-bot · 2 comments
Owner

@⁠FeronFae on GitHub · 2026-11-25 23:58 UTC · original

Crash log (under %LOCALAPPDATA%\victory\)

unix time 1795648826, process 32316
VIctory: unhandled exception 0xc0000005 at VCRUNTIME140.dll+0x1bc5b (read 0x6bd061000: reserved, never committed)
  rax 0x6bd6e8400 rbx 0x16ab0 rcx 0x16ab0 rdx 0x6bd061000 rsi 0x6bd061000 rdi 0x6bd6e8400 rsp 0x62149ff478 rbp 0x6bd6e8400
  r8 0x16ab0 r9 0x6bd077ab0 r10 0x7fff6c060000 r11 0xfffffffff2b64f9c r12 0x0 r13 0x0 r14 0x80000000 r15 0x3ddf8
  #0  VCRUNTIME140.dll+0x1bc5b
  #1  victory-image-cb71456919aada87.dll+0x6786
  #2  victory-image-cb71456919aada87.dll+0x171c
  #3  victory-image-cb71456919aada87.dll+0x8506
  #4  victory-image-cb71456919aada87.dll+0x61d0
  #5  victory-image-cb71456919aada87.dll+0x3f2c
  #6  victory-image-b99f876b74d4a77f.dll+0x2ef2b8
  #7  victory-image-b99f876b74d4a77f.dll+0x51b464f
  #8  victory-image-b99f876b74d4a77f.dll+0x3a1a354
  #9  victory-image-b99f876b74d4a77f.dll+0x2215eca
  #10 KERNEL32.DLL+0x2dda7
  #11 ntdll.dll+0xc9c5c

Crash dump analysis

Exception

  • Exception code: 0xC0000005 (Access Violation)

  • Fault type: Read

  • Invalid read address: 0x00000006bd061000

  • Faulting instruction: VCRUNTIME140!memcpy_repmovs_amd+0xB

  • Faulting module: VCRUNTIME140.dll

  • Runtime version: 14.51.36247.0

Call stack

VCRUNTIME140!memcpy_repmovs_amd+0xb
victory_image_cb71456919aada87!BinkWait+0x1096
victory_image_cb71456919aada87+0x171c
victory_image_cb71456919aada87!BinkWait+0x2e16
victory_image_cb71456919aada87!BinkWait+0xae0
victory_image_cb71456919aada87!BinkGoto+0x24c
victory_image_b99f876b74d4a77f+0x2ef2b8
victory_image_b99f876b74d4a77f+0x51b464f
victory_image_b99f876b74d4a77f+0x3a1a354
victory_image_b99f876b74d4a77f+0x2215eca

Environment

  • OS: Windows 11 (Build 26100.1)

  • Architecture: x64

  • Process: victory.exe

  • Process uptime at crash: 12m 04s

  • Failure ID: afcaf405-e711-211d-cedb-7fa06869f570

Initial assessment

The process encountered an access violation while executing memcpy inside VCRUNTIME140.dll. The call stack leads into the game's Bink-related image/video subsystem (victory_image).

The source pointer passed to the memory-copy operation was inaccessible (0x00000006bd061000).

The underlying cause is currently undetermined. Potential explanations include an invalid buffer pointer, memory lifetime/synchronization issues, or upstream memory corruption.

**@⁠FeronFae** on GitHub · 2026-11-25 23:58 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/40) ## Crash log (under `%LOCALAPPDATA%\victory\`) ``` unix time 1795648826, process 32316 VIctory: unhandled exception 0xc0000005 at VCRUNTIME140.dll+0x1bc5b (read 0x6bd061000: reserved, never committed) rax 0x6bd6e8400 rbx 0x16ab0 rcx 0x16ab0 rdx 0x6bd061000 rsi 0x6bd061000 rdi 0x6bd6e8400 rsp 0x62149ff478 rbp 0x6bd6e8400 r8 0x16ab0 r9 0x6bd077ab0 r10 0x7fff6c060000 r11 0xfffffffff2b64f9c r12 0x0 r13 0x0 r14 0x80000000 r15 0x3ddf8 #0 VCRUNTIME140.dll+0x1bc5b #1 victory-image-cb71456919aada87.dll+0x6786 #2 victory-image-cb71456919aada87.dll+0x171c #3 victory-image-cb71456919aada87.dll+0x8506 #4 victory-image-cb71456919aada87.dll+0x61d0 #5 victory-image-cb71456919aada87.dll+0x3f2c #6 victory-image-b99f876b74d4a77f.dll+0x2ef2b8 #7 victory-image-b99f876b74d4a77f.dll+0x51b464f #8 victory-image-b99f876b74d4a77f.dll+0x3a1a354 #9 victory-image-b99f876b74d4a77f.dll+0x2215eca #10 KERNEL32.DLL+0x2dda7 #11 ntdll.dll+0xc9c5c ``` ----- ## Crash dump analysis ### Exception - **Exception code:** 0xC0000005 (Access Violation) - **Fault type:** Read - **Invalid read address:** 0x00000006bd061000 - **Faulting instruction:** VCRUNTIME140!memcpy_repmovs_amd+0xB - **Faulting module:** VCRUNTIME140.dll - **Runtime version:** 14.51.36247.0 ### Call stack ``` VCRUNTIME140!memcpy_repmovs_amd+0xb victory_image_cb71456919aada87!BinkWait+0x1096 victory_image_cb71456919aada87+0x171c victory_image_cb71456919aada87!BinkWait+0x2e16 victory_image_cb71456919aada87!BinkWait+0xae0 victory_image_cb71456919aada87!BinkGoto+0x24c victory_image_b99f876b74d4a77f+0x2ef2b8 victory_image_b99f876b74d4a77f+0x51b464f victory_image_b99f876b74d4a77f+0x3a1a354 victory_image_b99f876b74d4a77f+0x2215eca ``` ### Environment - **OS:** Windows 11 (Build 26100.1) - **Architecture:** x64 - **Process:** victory.exe - **Process uptime at crash:** 12m 04s - **Failure ID:** afcaf405-e711-211d-cedb-7fa06869f570 ### Initial assessment The process encountered an access violation while executing `memcpy` inside `VCRUNTIME140.dll`. The call stack leads into the game's Bink-related image/video subsystem (`victory_image`). The source pointer passed to the memory-copy operation was inaccessible (`0x00000006bd061000`). The underlying cause is currently undetermined. Potential explanations include an invalid buffer pointer, memory lifetime/synchronization issues, or upstream memory corruption.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:29 +00:00
Author
Owner

@⁠itsonewi on GitHub · 2026-11-26 00:02 UTC · original

Your analysis is right about the shape of the fault, and the detail that matters most is in the crash log itself: the read address 0x6bd061000 is reserved, never committed.

What that state means. On Windows a page is in exactly one of three states, and "reserved, never committed" is the middle one: someone asked for address space (MEM_RESERVE, or a MEM_RESERVE_PLACEHOLDER, or a SEC_RESERVE section) and the commit that would give it storage never happened. A read there is not a null dereference or a stale heap pointer — it faults by construction. So the question is not "who freed this", it is "which reservation was this, and why was it never committed".

Where reservations like that exist in this tree. crates/victory-hle/src/modules/xmem.rs, which serves xmem.dll, has exactly three shapes that produce that state:

  1. Plain reservations: XMemVirtualAlloc with MEM_RESERVE and no MEM_COMMIT (:140-143).
  2. Placeholders, used for any 64 KiB-page reservation (PAGES_64K, :114-124): a placeholder is reserved address space with nothing behind it, by definition.
  3. A pagefile-backed section created SEC_RESERVE (:648-660), whose pages are committed only when a view of theirs is first mapped or written (commit, Section::window, commit_shown at :423-467).

The specific hole worth checking against your dump. The console's XMemVirtualAlloc can commit part of a 64 KiB reservation later, and the host cannot do that inside a placeholder — it has to split the placeholder and replace the piece with a mapped view. The code does not do that: when it sees MEM_REPLACE_PLACEHOLDER on a placeholder-sized call it returns base as success without touching the host (:116-121), with a comment saying this is a shortcut because "the title's 23 calls never do" commit part of a reservation. If a Bink decode buffer is one of those 23, it would sit reserved-but-never-committed exactly as your dump shows, and the first memcpy into it would fault in VCRUNTIME140 — which is what you have, called from statically linked Bink code (BinkWait/BinkGoto are the title's own, the image is victory-image-…b99f876b74d4a77f.dll).

What would confirm or kill that in one command, on a run with the crash reproduced (or on the live process before it dies):

  • !address 0x6bd061000 in a debugger attached to the dump: it prints State (MEM_RESERVE vs MEM_COMMIT), Type (MEM_PRIVATE, MEM_MAPPED, or a placeholder), the region's BaseAddress/RegionSize, and Protect (PAGE_NOACCESS for a fresh placeholder).
  • From the dump's region base: whether the region is ~64 KiB-aligned and page-sized (placeholder), or megabytes (a plain reservation), or lies inside a mapped section.
  • In the run's log, the XMemVirtualAlloc lines around Bink's initialisation: note_protection logs title memory asked for as protection …, kind …, flags …: N times, … MB, last 0x…+0x… (:192-205) and every allocation at an address of our choosing is logged with its result (:171-179). If 0x6bd061000 appears there as a reservation with the 64 KiB bits, that is the case above.

Also relevant: #38 in this tracker already argues that XMem split mappings are a parity gap, so if your !address output says placeholder, the two reports are the same defect seen from two ends and this one has the fault address that pins it.

One thing I would not conclude from the dump: 12 minutes of uptime and a cutscene crash means the buffer is a video-decode buffer that had been in use for a while, so a later reservation that reused a freed range is equally possible — !address distinguishes those too, since a recycled free range would show as a fresh reservation with a made-time unrelated to Bink's init.

(Answer written with AI assistance, from reading the source at 0a43566 and your dump. No build, no card, no game files here, so the mechanisms above are read from the code, not measured.)

**@⁠itsonewi** on GitHub · 2026-11-26 00:02 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/40#issuecomment-7178329260) Your analysis is right about the shape of the fault, and the detail that matters most is in the crash log itself: the read address `0x6bd061000` is **reserved, never committed**. **What that state means.** On Windows a page is in exactly one of three states, and "reserved, never committed" is the middle one: someone asked for address space (`MEM_RESERVE`, or a `MEM_RESERVE_PLACEHOLDER`, or a `SEC_RESERVE` section) and the commit that would give it storage never happened. A read there is not a null dereference or a stale heap pointer — it faults by construction. So the question is not "who freed this", it is "which reservation was this, and why was it never committed". **Where reservations like that exist in this tree.** `crates/victory-hle/src/modules/xmem.rs`, which serves `xmem.dll`, has exactly three shapes that produce that state: 1. Plain reservations: `XMemVirtualAlloc` with `MEM_RESERVE` and no `MEM_COMMIT` (`:140-143`). 2. **Placeholders**, used for any 64 KiB-page reservation (`PAGES_64K`, `:114-124`): a placeholder is reserved address space with nothing behind it, by definition. 3. A pagefile-backed section created `SEC_RESERVE` (`:648-660`), whose pages are committed only when a view of theirs is first mapped or written (`commit`, `Section::window`, `commit_shown` at `:423-467`). **The specific hole worth checking against your dump.** The console's `XMemVirtualAlloc` can commit part of a 64 KiB reservation later, and the host cannot do that inside a placeholder — it has to split the placeholder and *replace* the piece with a mapped view. The code does not do that: when it sees `MEM_REPLACE_PLACEHOLDER` on a placeholder-sized call it returns `base` as success without touching the host (`:116-121`), with a comment saying this is a shortcut because "the title's 23 calls never do" commit part of a reservation. If a Bink decode buffer is one of those 23, it would sit reserved-but-never-committed exactly as your dump shows, and the first `memcpy` into it would fault in `VCRUNTIME140` — which is what you have, called from statically linked Bink code (`BinkWait`/`BinkGoto` are the title's own, the image is `victory-image-…b99f876b74d4a77f.dll`). **What would confirm or kill that in one command**, on a run with the crash reproduced (or on the live process before it dies): - `!address 0x6bd061000` in a debugger attached to the dump: it prints `State` (`MEM_RESERVE` vs `MEM_COMMIT`), `Type` (`MEM_PRIVATE`, `MEM_MAPPED`, or a placeholder), the region's `BaseAddress`/`RegionSize`, and `Protect` (`PAGE_NOACCESS` for a fresh placeholder). - From the dump's region base: whether the region is ~64 KiB-aligned and page-sized (placeholder), or megabytes (a plain reservation), or lies inside a mapped section. - In the run's log, the `XMemVirtualAlloc` lines around Bink's initialisation: `note_protection` logs `title memory asked for as protection …, kind …, flags …: N times, … MB, last 0x…+0x…` (`:192-205`) and every allocation at an address of our choosing is logged with its result (`:171-179`). If `0x6bd061000` appears there as a *reservation* with the 64 KiB bits, that is the case above. Also relevant: #38 in this tracker already argues that XMem split mappings are a parity gap, so if your `!address` output says placeholder, the two reports are the same defect seen from two ends and this one has the fault address that pins it. One thing I would not conclude from the dump: 12 minutes of uptime and a cutscene crash means the buffer is a video-decode buffer that had been in use for a while, so a *later* reservation that reused a freed range is equally possible — `!address` distinguishes those too, since a recycled free range would show as a fresh reservation with a `made`-time unrelated to Bink's init. (Answer written with AI assistance, from reading the source at `0a43566` and your dump. No build, no card, no game files here, so the mechanisms above are read from the code, not measured.)
Author
Owner

@⁠FeronFae on GitHub · 2026-11-26 00:25 UTC · original

I see what you mean, I'll look into it further on WinDbg and consult an actual model that might give me more information about what's really going on here as I'm not very familiar with the Windows API & DirectX. I appreciate the info.

**@⁠FeronFae** on GitHub · 2026-11-26 00:25 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/40#issuecomment-7178733777) I see what you mean, I'll look into it further on WinDbg and consult an actual model that might give me more information about what's really going on here as I'm not very familiar with the Windows API & DirectX. I appreciate the info.
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/avatarmanz--VIctory-7900XTX#40
No description provided.