Crash during the binocular cutscene (Chapter 1, watching Doni make the delivery) #1049
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#1049
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?
@CQ187901 on GitHub · 2026-11-25 17:30 UTC · original
What happened
Chapter 1, after the boat is working: the cutscene where the player watches Doni/Tony make the delivery through binoculars. The picture is up, then the game dies — 0xc0000005, an access violation on a read, inside the translated image, no device removal and no out-of-memory beforehand. The title's own Breakpad then tried to upload to submit.backtrace.io, which the layer blocks, so nothing was reported.
How often
Once in three runs of this cutscene, so far. The second run after the crash played the same scene through and kept going for another 30 minutes, so it is not a reliable reproducer — which makes the usual "just don't do that" answer useless here, but also means I cannot hand you a sequence that fails on demand.
Two things are worth noting for whatever theory follows from this:
The fault address +0x187f180 is identical for the first-chance and the fatal exception, and the register state (rax 0x0, rcx 0x63ef88010, rsp 0x665b0fecf0) is the same in both reports of that run.
The compute a10179ab7eda0dc3 refusal that I first read as a suspect also happens in the run that did not crash, so a newly refused pipeline is not a marker of this fault.
The exception
VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x187f180 (read 0x58: nothing mapped there)
rax 0x0 rbx 0x2 rcx 0x63ef88010 rdx 0x0 rsi 0x63ef00000 rdi 0x35 rsp 0x665b0fecf0 rbp 0x0
r8 0x63ef42e10 r9 0x3 r10 0x2bddec99 r11 0x5 r12 0x0 r13 0xa0 r14 0x63ef88010 r15 0x0
#0 +0x187f180 #1 +0x187e5ca #2 +0x1427b2e #3 +0x551859c #4 +0x9da8a2
#5 +0x22a2611 #6 +0x63e78 #7 +0x4eaa05a #8 +0x221c29c #9 +0x2215eca
#10 KERNEL32+0x2dda7 #11 ntdll+0xc9c6c
VIctory: unhandled exception 0xc0000005 at the same address
Same address for the first-chance and the fatal one, so it is not a fault the layer recovers from.
read 0x58withrax 0x0looks like a null-based member read rather than a garbage pointer.What the log says right before it
One new pipeline refusal, three minutes before the crash — the first time this hash appears in the session:
16:11:40 WARN victory_gpu::pipeline::host: host pipeline refused error = 参数错误。 (0x80070057) shaders=[compute a10179ab7eda0dc3]
Earlier, during world load:
15:54:29 host pipeline refused 0x80070057 shaders=[compute 5dc3b25986622949]
15:54:29 host pipeline refused 0x80070057 shaders=[compute 6f225b641c5b0708]
15:54:58 host mesh pipeline refused 0x80070057 shaders=[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]
Last frames before the crash, the scene had 5,062–5,404 draws at 267–286 ms, with 137 draws/frame dropped without a host pipeline:
3.5 fps, 286.3 ms/frame (105.1 preparing: copies 53.7 ms 169.0 MB, textures 14.0 ms 55.1 MB;
168.5 on the GPU; 43.1 copying back 60.7 MB), 5404 draws/frame, dropped 137 without a host pipeline (0 being made)
Setup
Game: Xbox Series build,
game_scarlett_master.exe(1.0.2.1)fxceless/victory-gta6, treef85101b+ #887 + #886 + #883 (VICTORY_WAVE_PAIRS=1) + #799 with loose LDS merged by hand + the vx-layer texture read-back (eee5667d,VICTORY_TEXTURE_BACK)RTX 4070 12 GB, driver 621.24, i7-13700KF, 31.8 GB RAM, page file 64 GB on a second SSD
Switches:
VICTORY_RELAY=2 VICTORY_LEVELS_ON_DEMAND=0 VICTORY_ASYNC_SUBMIT=1 VICTORY_QUEUE2=1 VICTORY_MERGE_RUNS=4000 VICTORY_WAVE_PAIRS=1 VICTORY_HOST_MAX_WAVE=32 VICTORY_TEXTURE_BACK=256x256f41,256x256f16,64x64f16,128x128f36 VICTORY_LOG=infoThe read-back is on because the boat needs it (
#863is fixed with it on this machine, and it is what makes this scene playable at all). I cannot tell whether the crash is related to it — the timing is a cutscene with a lot of title reads, which is exactly when the read-back lands texels.What I would like to know
Is this crash known, and is there a queue of cutscenes that die this way?
How do I get symbols for
victory-image-*.dllso+0x187f180means something? The offsets are the same on every run of this scene here, so it should be reproducible.Would the crash be explained by the refused computes (
a10179ab7eda0dc3in particular appearing right before it), or should I treat this as a separate title-side fault?Anything you want captured next time — a dump of the draw that was running, the last passes,
VICTORY_…diagnostics? Since it is intermittent, a flag that keeps a rolling dump of the last N frames would be more useful than anything I can grab afterwards.I can attach the full log of the crashing run (9 MB, 30k lines) and the log of the run that did not crash, if that helps; say what to cut out of them and I will paste that part.
@DuarttBR on GitHub · 2026-11-25 21:35 UTC · original
A second way this cutscene dies, with a different address and a different exception: an
int3, not an access violation. Same scene as above (Chapter 1, boat mission, the binoculars cutscene after the boat works).Machine: RTX 3080 10 GB (Ampere), driver 617.42, Ryzen 9 5900X, 32 GB RAM, Windows 11 Pro (build 26300), Series X profile, 1080p (
VICTORY_RESOLUTION=1920x1080).Tree:
soldsawn/victory-nvidia-8gbat7b7b952(forkca8829fplus community PRs), with #999 (895c0b8,04df435) cherry-picked on top andVICTORY_TEXTURE_BACK=1, so the boat works. Diagnostics build. Switches:ASYNC_SUBMIT=1 QUEUE2=1 INDIRECT_WINDOW=1 INDIRECT_WINDOW_DRAWS=1 INDIRECT_GATHER=1 CLAMP_WAITS=0 JOIN_PARTS=1 BACK_OWN_VIEW=1 GUARD_HOLES_FRAME=1 HEAP_WORKER=1 ALIAS_ONCE=1 TEXTURE_NO_WAIT=1 COPY_PLAIN=1 SKIP_WC_COMPARE=1 WIDE_TEXTURES=1 XMEM_PERSISTENT_VIEW=1 CUT_WRITES=1 WAVE_DEEP_SKIPS=0 TEXTURE_DROP_MIPS=2, no loop limit.What happened: 13.8 minutes after launch, in that cutscene, the game stopped. No device removal, no out-of-memory, 0 GPU losses in the whole run.
What the code at that address does (read from the title's own executable; no bytes pasted): it is the end of a loop over a table of 24-byte entries that tests whether a value falls inside
[start, start + size)of an entry, and it ends in anint3when no entry contains the value. So it is a "not found" trap. The value looked up is0xAAAAAAAC, in bothrdxandrdi.That is the
0xAAfill pattern: the title looked up a value that nothing had written. Whatever should have filled it was not there yet when the cutscene read it. I have not narrowed it down. Candidates that fit: a streamed resource used before its load finished, a DirectStorage write into physical pages that had not landed, or a buffer the GPU writes and the CPU reads (the same class #999 fixes for the water). I did not test any of them.Not the self-check the 1080p cap steps over. That one is at
+0x247af2d(patched tonopin this run's log) and the executable has exactly one copy of it, so thisint3is a different site.One occurrence, I have not re-run the scene, so I can't say how often it happens. The other report here crashed once in three runs of the same cutscene, which suggests it is not deterministic either.
AI-assisted (Claude Code). Measured on my own machine. No game files or captures attached.