RX 7900 XT Crash during opening cutscene #40
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#40
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@FeronFae on GitHub · 2026-11-25 23:58 UTC · original
Crash log (under
%LOCALAPPDATA%\victory\)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
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
memcpyinsideVCRUNTIME140.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.
victory-image-b99f876b74d4a77f.dll+0x23cf6837.5-12 min in, with its physical pool at 95-96%, on any settings or profile (RTX 3070 8 GB, 16 GB RAM) #76@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
0x6bd061000is 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 aMEM_RESERVE_PLACEHOLDER, or aSEC_RESERVEsection) 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 servesxmem.dll, has exactly three shapes that produce that state:XMemVirtualAllocwithMEM_RESERVEand noMEM_COMMIT(:140-143).PAGES_64K,:114-124): a placeholder is reserved address space with nothing behind it, by definition.SEC_RESERVE(:648-660), whose pages are committed only when a view of theirs is first mapped or written (commit,Section::window,commit_shownat:423-467).The specific hole worth checking against your dump. The console's
XMemVirtualAlloccan 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 seesMEM_REPLACE_PLACEHOLDERon a placeholder-sized call it returnsbaseas 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 firstmemcpyinto it would fault inVCRUNTIME140— which is what you have, called from statically linked Bink code (BinkWait/BinkGotoare the title's own, the image isvictory-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 0x6bd061000in a debugger attached to the dump: it printsState(MEM_RESERVEvsMEM_COMMIT),Type(MEM_PRIVATE,MEM_MAPPED, or a placeholder), the region'sBaseAddress/RegionSize, andProtect(PAGE_NOACCESSfor a fresh placeholder).XMemVirtualAlloclines around Bink's initialisation:note_protectionlogstitle 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). If0x6bd061000appears 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
!addressoutput 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 —
!addressdistinguishes those too, since a recycled free range would show as a fresh reservation with amade-time unrelated to Bink's init.(Answer written with AI assistance, from reading the source at
0a43566and your dump. No build, no card, no game files here, so the mechanisms above are read from the code, not measured.)@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.