Access violation in title code (+0xad533c, write to reserved-never-committed memory) after ~69 min, commit charge near the limit — RTX 4080 #59
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/gamingwithhomie--larp#59
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?
@PrMeiliv on GitHub · 2026-12-05 16:53 UTC · original
This report was written by Claude (an AI assistant) from my logs, at my request. I've checked it and can answer questions or test fixes.
Build:
03efd5b(built from source,cargo build --release -p larp), Series X profilePC: RTX 4080 16 GB (driver 621.47), Ryzen 7 9800X3D, 32 GB RAM, Windows 11
Settings: resolution 2560x1440, DLSS quality (1712x960 -> 2560x1440, preset M), frame_rate 30 (changed 60 -> 40 -> 30 during the session), frame generation 2x (turned on shortly before the crash). nv-profile shader heap 2048 MiB.
All pipelines precompiled (0 dropped draws during the whole session).
What happened: after ~69 minutes of play (lots of driving, with 1-6 s streaming freezes while driving), the title crashed:
The title's Breakpad report at that moment shows the host close to out of memory:
Possibly a commit failing under memory pressure (memory growing over a long session), or a streaming pager race; I see
9a25ae9changed the pager's destination tracking after this build. I'll retest on latest main and report whether "Committed" in Task Manager keeps climbing.Earlier in the same session: 29
larp_gpu::regionserrors (same as #12). Full log available on request.@PrMeiliv on GitHub · 2026-12-05 18:02 UTC · original
Follow-up written by Claude (an AI assistant) from my logs, at my request.
Second crash, same build (
03efd5b), same settings (2560x1440, DLSS quality, frame_rate 30, FG 2x), new session started right after the first crash:Two different crash sites, both with the host almost out of commit after a long session, so this looks like memory that keeps growing during play until an allocation fails (the second one a null allocation result written to). Frame rate stayed at a steady 30 fps (CPU "preparing" 5-8 ms) until the end, so no gradual slowdown, just memory.
Next: I'll rebuild on latest main and log Task Manager "Committed" over a session to give a growth rate.
@brunofgmag on GitHub · 2026-12-05 22:44 UTC · original
Same crash here, on Linux, with a lead on the cause.
RTX 4080 16 GB, CachyOS, Proton-CachyOS, larp
main0f03265(so9a25ae9was in), Series X profile, DLSS 0.58, FG 2x, hardware RT. It came after about 43 minutes of play:It is the same stack as yours, and the registers follow the same pattern (
rsi 0xbaXffff,r10 0xaf0,r11 0x4fffffffb). The host was not short of memory: 45 GB of 61 GB were free. So I don't think it is a failed commit on the host or the pager change.The code before the fault reads a 16-bit index, gets 0xFFFF, turns it into
0x4fffffffb(index × 5) and writes a 20-byte record at that index. So a list end mark is being used as a real index.The lead is the
MEMORYINFOblock of the title's own crash report (data\7952987A\temp\*.crash.log). ItsPoolline was nearly full, andUnusedwas 0:The second one is the same crash at the same address on Darner. My guess is that this pool fills up over a long session. An allocation of a list record then fails and returns the 0xFFFF end mark, and the caller uses it as an index. That would explain why it only shows up after tens of minutes. This is not proven yet. Could you check the
Poolline in your two crash logs? Next I'll log the pool during a long run to see whether it only grows.@thiagonl on GitHub · 2026-12-05 22:44 UTC · original
Same address, different platform: Linux / Wine / RADV on an RX 9060 XT (RDNA4), 16 GB RAM, so a data point from a smaller-RAM machine.
Build:
iceboerg00/larp-amdf6954fc(base ofv2026.12.05-amd-4.2) + the diff of PR #183, built from source. Mesa 26.3.1 RADV (GFX1200), GE-Proton11-7 wine, vkd3d-proton 3.2.0. In-game settings: FSR upscaler, frame generation 2x, 60 fps cap.Series X, 1920x1080, ~20 min after launch:
The title's Breakpad parameters at that moment:
memory.load_percent 86,system.memory.free2,226,940 KB of 16,248,280 KB,system.memory.swap.free23,267,692 of 48,743,896 KB (the swap is zram, so it is also RAM).Series X, 2560x1440, ~27 min: this one never reached a crash record. The kernel killed the process first (
Out of memory: Killed process ... anon-rss:6659816kB,constraint=CONSTRAINT_NONE, i.e. a global OOM, not a cgroup limit).So both runs on this machine ended with the host out of memory or close to it, and one of them at the same site as this report (a write to an address nothing is mapped at), which fits the idea above of memory that keeps growing during a session until an allocation fails. It does not prove it: I only have the Breakpad numbers from the run that crashed at
+0xad533c.One more number that grows with the session: vkd3d-proton logs
Intense view map pressure! Got N views in hash map, from 1,024 views early on to 16,384 (1080p run) and 18,432 (1440p run) by the end. I cannot say whether it is related, but it is the only counter I saw rise steadily.A different crash on the same build, Series S, 1080p, ~20 min:
unhandled exception 0x80000003(breakpoint) atlarp-image-b99f876b74d4a77f.dll+0x8f67e7. That offset is not in the issues I found (the same exception class as #201, at a different offset), and the host had plenty of free memory afterwards, so I would not put it down to memory. Registers and backtrace available if useful.I can retest on any build and log the title's memory parameters over a session if that helps measure the growth.
@thiagonl on GitHub · 2026-12-05 23:14 UTC · original
Answering the request above to check the
Poolline of the title's own crash logs (data\7952987A\temp\*.crash.log). I have two crashes from the same build (iceboerg00/larp-amdf6954fc+ PR #183, Linux / Wine / RADV, RX 9060 XT, 16 GB RAM), one at the address of this issue and one at another site:Poolused / totalUnused0xc0000005at+0xad533c(write to an unmapped page)0x80000003(breakpoint) at+0x8f67e7The Series X numbers are almost identical to the ones in the comment above (591,978,320 / 624,951,280), and the pool totals look fixed per profile (624,951,280 for Series X, 270,532,592 for Series S).
What makes the second row interesting for the idea that the pool fills up over a session: it is a different failure site (an
int3, not the access violation), but the pool was also nearly full (98.8 %) andUnusedwas 0. The host had memory to spare afterwards, and the kernel log had no OOM for that run. So it fits an exhausted pool making some internal allocation fail, with each caller then breaking in its own way, rather than the host running out of memory. The Series S pool being 2.3x smaller would also explain why that profile fell over sooner in absolute terms.Two crashes are not proof, and I only have the end-of-run numbers, not the growth curve. If it helps, I can log the pool over a whole session on this setup and post the curve (the title writes it only in the crash report, so I would need a hook or a build that prints it; tell me which one you prefer).