Crash 0xc0000005 at image+0x54b9238: three title threads fault on the same never-committed page at once (SOFT_VIEWS=copies), Series S, RTX 4060 Laptop #4867
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4867
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?
@korbannour578-alt on GitHub · 2026-12-01 12:04 UTC · original
What happened
The game closed after 35 minutes of free roam, on foot, no mission or cutscene loading (
Current SRL Nameempty).Camera at
<-2500.93, -4049.85, 6.77>. First crash of this kind on this PC across many hours of play.What the log shows
Three title threads take a first-chance access violation at the same instruction and same address within
the same moment. The first and third see the page as
reserved, never committed, the second already sees itas
read-write, yet all three end as unhandled:Same stack on all three threads:
My guess (not verified): the page sits in a view kept in the books alone (
VICTORY_SOFT_VIEWS=copies, thevictory.exe default; the log was noting ~10,500 such views per 10 s, all by page-mapping copies). When several
threads touch it at once, only the first fault seems to get the page made; the others are not retried even
though the page is
read-writeby the time their fault is looked at.Memory was not short on the host side: committed 23.6 GB, card 6.3 of 7.0 GB, no memguard warnings before the crash.
Title crash context:
TileHeap 2227/3977 MB,Game Physical 1228823504/1339031552,Pool 267235760/270532592.Related, different address: #4345 (write to a never-committed title page).
Setup
5fabb46ebuilt from source (target-cpu=native, fat LTO), with local changes: the warpGTAIV/VIctory-8GBsmall-card policy (draw/pipeline/pool/resource/shadow.rs), parts 1+3 of PR #3500, a texture size cap and
keyboard/mouse input changes. None of these touch xmem / the soft-view path, but I'm mentioning them.
The full log is ~47 MB; I can attach the part around the crash if useful.
@korbannour578-alt on GitHub · 2026-12-01 12:08 UTC · original
Logs for this crash (Windows user name, the title's SharedId and session id replaced): https://gist.github.com/cc156cbb22c256f7a4aa368eea8e41ae
play-log-start-and-last-40s-before-crash.log: the first 400 lines (switches, setup) and the last 2,500 lines (about 40 s up to the crash) of the play logvictory-nvidia-20261201-132121.log; the 135,442-line middle is left out. Happy to send any other part.title-crash-context.crash.log: the title's crash context (victory-20261201-135715-27276.crash.log)crashes.log: all crashes on this PC (only this one)GPU: RTX 4060 Laptop 8 GB, Windows 11 (build 26200).
@cloph-dsp on GitHub · 2026-12-01 13:15 UTC · original
Read the report and traced the handler; posting what I found rather than a change, because the part I can settle from the log argues against the guess in the report.
The
softarm looks like it cannot returnSEARCH. Inwatch.rs,install'son_writestarts with:That arm has no
WRITEtest, so it is taken for reads too, and withVICTORY_SOFT_VIEWS=copies(the default,play.rs:82) it goes through(soft.fault)(address, rip)rather thanmaterialize. So asoftarm that answered "not mine" would have to make the hook itself returnfalsefor a title read at a page the books hold — and the log shows the opposite: the same address,0x9c0882b58, first-chance three times, which is what aCONTINUE_EXECUTIONretry looks like, not what aSEARCHlooks like.The one detail the report has that the guess does not explain: the second record reads
read-write. Records 1 and 3 sayreserved, never committedat0x9c0882b58; record 2 saysread-writeat the same address. In this handler a read of committed read-write memory is not a violation at all — so record 2 is not a retry of a still-unmade page. Either the page was made and then unmade again between records (the view the books held was replaced, and the placeholder went back toPAGE_NOACCESS), or that thread'sExceptionInformation[1]is not the page it faulted on. Both readings point at the view's identity, not at whether a retry happens.What that would mean for a fix, if it holds: the retry path is already in the handler (
came_back(at, false)for reads, plus the three-passPROTECTED.any/writableloop for writes). The gap worth testing is a read of a page that the books have but whose view has been replaced —readable_viewrequiresState == MEM_COMMIT && Type == MEM_MAPPED, and a replacement placeholder underMEM_REPLACE_PLACEHOLDERis not that until it is committed. A synthetic test inwatch.rs'stest_booksharness (a secondtitle_memory_remappedat the same range between twoguardcalls) would show whether the second read is left toSEARCH.I have not written that test or claimed anything: the log gives one crash on one tree, and which of the two readings is right changes the fix. What would settle it: whether
crashes.logor the diagnostic log around that boot carries atitle memory not writtenor aSOFT VIEWSview-count line at the moment of the fault, and whethersoft.faultcounted a hit for0x9c0882b58(afaultbookSite/Faultnote at that address).AI-assisted: Hy4 flash. No game data, assets, extracted shaders or DRM used.
@korbannour578-alt on GitHub · 2026-12-01 16:15 UTC · original
Thanks for tracing it. I searched the full play log (135,442 lines, not only the excerpt) for what you asked:
title memory not written: not in the log at all.Site/Faultnote at0x9c0882b58: none. The address appears only in the three first-chance records and the unhandled ones.kind=0x42000reads asMEM_RESERVE | MEM_RESERVE_PLACEHOLDER, andr12 = 0x9c0880000(the region's base) in all three records.The three lines before it (11:56:43, :53, :03) also show
0 by a fault of the title's code, with 10-16k views noted and 5-16k let go untouched every 10 s. So the soft path had not made a view on a title fault in the last 40 s; this would have been the first.So the page sits in a placeholder whose views come and go through page-mapping copies (~25k such views live, thousands let go per 10 s). That seems consistent with your first reading: a view replaced/let go between the records, so record 2 saw it
read-writeand records 1 and 3 saw the bare placeholder.I can't run a debug build on this laptop easily, but I can send any other part of the log, or run with an extra log switch if you name one.