Access violation in title code (+0xad533c, write to reserved-never-committed memory) after ~69 min, commit charge near the limit — RTX 4080 #59

Open
opened 2026-12-05 17:23:39 +00:00 by github-bot · 4 comments
Owner

@⁠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 profile
PC: 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:

larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0xad533c
(write 0x151a55a17e: reserved, never committed)
  rax 0x11a55a190 rbx 0xa07 rcx 0xbaa rdx 0xa07 rsi 0xbaaffff rdi 0xbaa
  r8 0x11a566a1c r9 0x11a568ad8 r10 0xaf0 r11 0x4fffffffb r12 0x30 r13 0x3223 r14 0x1 r15 0x11a55a190
  #0 +0xad533c  #1 +0xad524c  #2 +0xad5054  #3 +0xad4f96  #4 +0xad4768
  #5 +0xbc478   #6 +0x4f4b23a #7 +0x4f4b1e0 #8 +0x256fb83 #9 +0x221c29c #10 +0x2215eca

The title's Breakpad report at that moment shows the host close to out of memory:

memory.load_percent 82, system.memory.free 5.6 GB (of 32.4 GB),
system.memory.swap.free 5.5 GB of 69.8 GB commit limit (~64 GB committed)

Possibly a commit failing under memory pressure (memory growing over a long session), or a streaming pager race; I see 9a25ae9 changed 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::regions errors (same as #12). Full log available on request.

**@⁠PrMeiliv** on GitHub · 2026-12-05 16:53 UTC · [original](https://github.com/gamingwithhomie/larp/issues/59) *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 profile **PC:** 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: ``` larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0xad533c (write 0x151a55a17e: reserved, never committed) rax 0x11a55a190 rbx 0xa07 rcx 0xbaa rdx 0xa07 rsi 0xbaaffff rdi 0xbaa r8 0x11a566a1c r9 0x11a568ad8 r10 0xaf0 r11 0x4fffffffb r12 0x30 r13 0x3223 r14 0x1 r15 0x11a55a190 #0 +0xad533c #1 +0xad524c #2 +0xad5054 #3 +0xad4f96 #4 +0xad4768 #5 +0xbc478 #6 +0x4f4b23a #7 +0x4f4b1e0 #8 +0x256fb83 #9 +0x221c29c #10 +0x2215eca ``` The title's Breakpad report at that moment shows the host close to out of memory: ``` memory.load_percent 82, system.memory.free 5.6 GB (of 32.4 GB), system.memory.swap.free 5.5 GB of 69.8 GB commit limit (~64 GB committed) ``` Possibly a commit failing under memory pressure (memory growing over a long session), or a streaming pager race; I see 9a25ae9 changed 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::regions` errors (same as #12). Full log available on request.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 17:23:40 +00:00
Author
Owner

@⁠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:

larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0x2215c35 (write 0x0: nothing mapped there)
  rax 0x0 rbx 0x0 rcx 0x4189374bc6a7f0 rdx 0x6df473c78 rsi 0x9f94fff908 rdi 0x44b82faa3a rbp 0x0
  r8 0x83 r9 0x7ffe4000 r10 0x1 r11 0xffffffff0cee0b10 r12 0x3a342a4069 r13 0x7ffaeed75c28 r14 0x7ffbb861b220 r15 0x44a6babb52
  #0 +0x2215c35  #1 +0x2215eca  #2 KERNEL32.DLL+0x2dda7  #3 ntdll.dll+0xc9c5c
Crash 1 Crash 2
Session length ~69 min ~77 min
memory.load_percent 82 97
RAM free 5.6 GB 0.7 GB
Commit left 5.5 of 69.8 GB 1.6 of 60.5 GB
Fault write to reserved, never-committed page write to 0x0

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.

**@⁠PrMeiliv** on GitHub · 2026-12-05 18:02 UTC · [original](https://github.com/gamingwithhomie/larp/issues/59#issuecomment-7442750720) *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: ``` larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0x2215c35 (write 0x0: nothing mapped there) rax 0x0 rbx 0x0 rcx 0x4189374bc6a7f0 rdx 0x6df473c78 rsi 0x9f94fff908 rdi 0x44b82faa3a rbp 0x0 r8 0x83 r9 0x7ffe4000 r10 0x1 r11 0xffffffff0cee0b10 r12 0x3a342a4069 r13 0x7ffaeed75c28 r14 0x7ffbb861b220 r15 0x44a6babb52 #0 +0x2215c35 #1 +0x2215eca #2 KERNEL32.DLL+0x2dda7 #3 ntdll.dll+0xc9c5c ``` | | Crash 1 | Crash 2 | |---|---|---| | Session length | ~69 min | ~77 min | | memory.load_percent | 82 | **97** | | RAM free | 5.6 GB | **0.7 GB** | | Commit left | 5.5 of 69.8 GB | **1.6 of 60.5 GB** | | Fault | write to reserved, never-committed page | **write to 0x0** | 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.
Author
Owner

@⁠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 main 0f03265 (so 9a25ae9 was in), Series X profile, DLSS 0.58, FG 2x, hardware RT. It came after about 43 minutes of play:

larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0xad533c (write 0x159a5dc87e: reserved, never committed)
  rax 0x19a5dc890 rbx 0x6ce rcx 0xba3 rdx 0x6ce rsi 0xba3ffff rdi 0xba3
  r8 0x19a5e50a8 r9 0x19a5eb14c r10 0xaf0 r11 0x4fffffffb r12 0x20 r13 0x2206 r14 0x1 r15 0x19a5dc890
  #0 +0xad533c  #1 +0xad524c  #2 +0xad5054  #3 +0xad4f96  #4 +0xad4768  #5 +0xbc478  #6 +0x4f4b23a  #7 +0x4f4b1e0

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 MEMORYINFO block of the title's own crash report (data\7952987A\temp\*.crash.log). Its Pool line was nearly full, and Unused was 0:

larp, Series X, today:     Pool: 591978320/624951280   (95 %)
Darner, Series S, today:   Pool: 267235648/270532592   (99 %)

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 Pool line in your two crash logs? Next I'll log the pool during a long run to see whether it only grows.

**@⁠brunofgmag** on GitHub · 2026-12-05 22:44 UTC · [original](https://github.com/gamingwithhomie/larp/issues/59#issuecomment-7447018849) Same crash here, on Linux, with a lead on the cause. RTX 4080 16 GB, CachyOS, Proton-CachyOS, larp `main` 0f03265 (so 9a25ae9 was in), Series X profile, DLSS 0.58, FG 2x, hardware RT. It came after about 43 minutes of play: ``` larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0xad533c (write 0x159a5dc87e: reserved, never committed) rax 0x19a5dc890 rbx 0x6ce rcx 0xba3 rdx 0x6ce rsi 0xba3ffff rdi 0xba3 r8 0x19a5e50a8 r9 0x19a5eb14c r10 0xaf0 r11 0x4fffffffb r12 0x20 r13 0x2206 r14 0x1 r15 0x19a5dc890 #0 +0xad533c #1 +0xad524c #2 +0xad5054 #3 +0xad4f96 #4 +0xad4768 #5 +0xbc478 #6 +0x4f4b23a #7 +0x4f4b1e0 ``` 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 `MEMORYINFO` block of the title's own crash report (`data\7952987A\temp\*.crash.log`). Its `Pool` line was nearly full, and `Unused` was 0: ``` larp, Series X, today: Pool: 591978320/624951280 (95 %) Darner, Series S, today: Pool: 267235648/270532592 (99 %) ``` 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 `Pool` line in your two crash logs? Next I'll log the pool during a long run to see whether it only grows.
Author
Owner

@⁠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-amd f6954fc (base of v2026.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:

larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0xad533c (write 0x215d46ef7e: nothing mapped there)

The title's Breakpad parameters at that moment: memory.load_percent 86, system.memory.free 2,226,940 KB of 16,248,280 KB, system.memory.swap.free 23,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) at larp-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 22:44 UTC · [original](https://github.com/gamingwithhomie/larp/issues/59#issuecomment-7447019087) 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-amd` `f6954fc` (base of `v2026.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:** ``` larp: unhandled exception 0xc0000005 at larp-image-b99f876b74d4a77f.dll+0xad533c (write 0x215d46ef7e: nothing mapped there) ``` The title's Breakpad parameters at that moment: `memory.load_percent 86`, `system.memory.free` 2,226,940 KB of 16,248,280 KB, `system.memory.swap.free` 23,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) at `larp-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.
Author
Owner

@⁠thiagonl on GitHub · 2026-12-05 23:14 UTC · original

Answering the request above to check the Pool line of the title's own crash logs (data\7952987A\temp\*.crash.log). I have two crashes from the same build (iceboerg00/larp-amd f6954fc + PR #183, Linux / Wine / RADV, RX 9060 XT, 16 GB RAM), one at the address of this issue and one at another site:

Crash Profile Pool used / total Unused Session
0xc0000005 at +0xad533c (write to an unmapped page) Series X 591,978,304 / 624,951,280 (94.7 %) 0 / 590,348,272 ~20 min
0x80000003 (breakpoint) at +0x8f67e7 Series S 267,235,776 / 270,532,592 (98.8 %) 0 / 203,423,728 ~20 min

The 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 %) and Unused was 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).

**@⁠thiagonl** on GitHub · 2026-12-05 23:14 UTC · [original](https://github.com/gamingwithhomie/larp/issues/59#issuecomment-7447417022) Answering the request above to check the `Pool` line of the title's own crash logs (`data\7952987A\temp\*.crash.log`). I have two crashes from the same build (`iceboerg00/larp-amd` `f6954fc` + PR #183, Linux / Wine / RADV, RX 9060 XT, 16 GB RAM), one at the address of this issue and one at another site: | Crash | Profile | `Pool` used / total | `Unused` | Session | |---|---|---|---|---| | `0xc0000005` at `+0xad533c` (write to an unmapped page) | Series X | 591,978,304 / 624,951,280 (**94.7 %**) | 0 / 590,348,272 | ~20 min | | `0x80000003` (breakpoint) at `+0x8f67e7` | Series S | 267,235,776 / 270,532,592 (**98.8 %**) | 0 / 203,423,728 | ~20 min | The 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 %) and `Unused` was 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).
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/gamingwithhomie--larp#59
No description provided.