Launch unhandled excaeption #2606

Open
opened 2026-11-29 06:07:45 +00:00 by SirMatrix · 2 comments
SirMatrix commented 2026-11-29 06:07:45 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by SirMatrix on 2026-11-29T06:07:45Z.


What happens

Game gets to loading screen then fails

Commit

main 11-29-2026

System

Windows 11, Ryzen 7 9700x, Radeon 7800xt (26.11.2) , Python 3.13.14, LLVM Build from scripts folder, Vulkan 1.4.363.1

Where

A tool run by hand (tools/, scripts/)

Command and steps

I started the Launch.bat file, set my directories in the settings. After completion of the shaders being baked. The intro screen loads into the loading screen. Loading screen freezes after a few seconds and crashes

Output

2026-11-29T05:58:24.677188Z  WARN leonida_hle::modules::dstorage: dstorage: request failed: zlib options=0x1 offset=25170841616 source_size=1550 destination_size=4704 intermediate_size=0 tag=0 name="" hr=0x8007000d
Leonida: first-chance exception 0xc0000005 at leonida-image-b99f876b74d4a77f.dll+0x4f28e0f (read 0x18: nothing mapped there)
  rax 0x6f8a3c000 rbx 0x6f8a3c000 rcx 0x7ffacb7fe7d0 rdx 0xff rsi 0xe1496b640 rdi 0x6f8a3c000 rsp 0x7c406fb2d0 rbp 0xd0197ac00
  r8 0xdf8005398 r9 0x3 r10 0x0 r11 0xd2901fae0 r12 0xcffff6 r13 0x1338a5 r14 0x0 r15 0x0
  #0  leonida-image-b99f876b74d4a77f.dll+0x4f28e0f
  #1  leonida-image-b99f876b74d4a77f.dll+0x5230f8
  #2  leonida-image-b99f876b74d4a77f.dll+0x2593e91
  #3  leonida-image-b99f876b74d4a77f.dll+0x2592d69
  #4  leonida-image-b99f876b74d4a77f.dll+0x2215eca
  #5  KERNEL32.DLL+0x2dda7
  #6  ntdll.dll+0xc9c5c
Leonida: unhandled exception 0xc0000005 at leonida-image-b99f876b74d4a77f.dll+0x4f28e0f (read 0x18: nothing mapped there)
  rax 0x6f8a3c000 rbx 0x6f8a3c000 rcx 0x7ffacb7fe7d0 rdx 0xff rsi 0xe1496b640 rdi 0x6f8a3c000 rsp 0x7c406fb2d0 rbp 0xd0197ac00
  r8 0xdf8005398 r9 0x3 r10 0x0 r11 0xd2901fae0 r12 0xcffff6 r13 0x1338a5 r14 0x0 r15 0x0
  #0  leonida-image-b99f876b74d4a77f.dll+0x4f28e0f
  #1  leonida-image-b99f876b74d4a77f.dll+0x5230f8
  #2  leonida-image-b99f876b74d4a77f.dll+0x2593e91
  #3  leonida-image-b99f876b74d4a77f.dll+0x2592d69
  #4  leonida-image-b99f876b74d4a77f.dll+0x2215eca
  #5  KERNEL32.DLL+0x2dda7
  #6  ntdll.dll+0xc9c5c
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6675542709 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2606). Originally posted by [SirMatrix](https://github.com/SirMatrix) on 2026-11-29T06:07:45Z. --- ### What happens Game gets to loading screen then fails ### Commit main 11-29-2026 ### System Windows 11, Ryzen 7 9700x, Radeon 7800xt (26.11.2) , Python 3.13.14, LLVM Build from scripts folder, Vulkan 1.4.363.1 ### Where A tool run by hand (tools/, scripts/) ### Command and steps I started the Launch.bat file, set my directories in the settings. After completion of the shaders being baked. The intro screen loads into the loading screen. Loading screen freezes after a few seconds and crashes ### Output ```text 2026-11-29T05:58:24.677188Z  WARN leonida_hle::modules::dstorage: dstorage: request failed: zlib options=0x1 offset=25170841616 source_size=1550 destination_size=4704 intermediate_size=0 tag=0 name="" hr=0x8007000d Leonida: first-chance exception 0xc0000005 at leonida-image-b99f876b74d4a77f.dll+0x4f28e0f (read 0x18: nothing mapped there) rax 0x6f8a3c000 rbx 0x6f8a3c000 rcx 0x7ffacb7fe7d0 rdx 0xff rsi 0xe1496b640 rdi 0x6f8a3c000 rsp 0x7c406fb2d0 rbp 0xd0197ac00 r8 0xdf8005398 r9 0x3 r10 0x0 r11 0xd2901fae0 r12 0xcffff6 r13 0x1338a5 r14 0x0 r15 0x0 #0 leonida-image-b99f876b74d4a77f.dll+0x4f28e0f #1 leonida-image-b99f876b74d4a77f.dll+0x5230f8 #2 leonida-image-b99f876b74d4a77f.dll+0x2593e91 #3 leonida-image-b99f876b74d4a77f.dll+0x2592d69 #4 leonida-image-b99f876b74d4a77f.dll+0x2215eca #5 KERNEL32.DLL+0x2dda7 #6 ntdll.dll+0xc9c5c Leonida: unhandled exception 0xc0000005 at leonida-image-b99f876b74d4a77f.dll+0x4f28e0f (read 0x18: nothing mapped there) rax 0x6f8a3c000 rbx 0x6f8a3c000 rcx 0x7ffacb7fe7d0 rdx 0xff rsi 0xe1496b640 rdi 0x6f8a3c000 rsp 0x7c406fb2d0 rbp 0xd0197ac00 r8 0xdf8005398 r9 0x3 r10 0x0 r11 0xd2901fae0 r12 0xcffff6 r13 0x1338a5 r14 0x0 r15 0x0 #0 leonida-image-b99f876b74d4a77f.dll+0x4f28e0f #1 leonida-image-b99f876b74d4a77f.dll+0x5230f8 #2 leonida-image-b99f876b74d4a77f.dll+0x2593e91 #3 leonida-image-b99f876b74d4a77f.dll+0x2592d69 #4 leonida-image-b99f876b74d4a77f.dll+0x2215eca #5 KERNEL32.DLL+0x2dda7 #6 ntdll.dll+0xc9c5c ```
fiestorra commented 2026-11-29 11:44:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T11:44:46Z.


"Reaches the loading screen and then fails" is the shape three of my own runs took today, and on this machine it turned out to be two different failures that look the same from the outside. Worth telling them apart before anyone guesses at the cause, because the fix is different in each case.

1. Was there a GPU engine timeout? The kernel records one per hang, with a file per event:

dir C:\Windows\LiveKernelReports\WATCHDOG\WATCHDOG-*.dmp

Any file whose timestamp matches your run means the display engine stopped responding (VIDEO_ENGINE_TIMEOUT_DETECTED,
bugcheck 141, image nvlddmkm.sys on NVIDIA). The runtime's own log is not a reliable signal here: in half of my hangs
it never printed device was lost, because the process died first.

2. Did the game crash on purpose? Look at the Application event log for the run's window:

Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='Application Error'; StartTime=(Get-Date).AddHours(-1)} |
  Select-Object TimeCreated, Message

On my machine every run ends with Exception code: 0xc0000005, Fault offset: 0x00000001423cf683, module "unknown". That
offset is inside the title's own image (game_scarlett_master.exe is mapped at 0x140000000), and the instruction at it
is a store to address 0 - the compiler's encoding of a deliberate trap, not a corrupted pointer. So that crash is the
title deciding to die, usually after something it treats as fatal, and it can also happen without any GPU hang.

3. What is the last thing the log says before it stops? The last [rt] submit phases line gives you the frame rate
at the end; a collapse to single digits before the stop is the signature I saw, and a clean stop at 60+ fps points
somewhere else entirely.

On a Radeon 7800 XT the second check matters more than the first, since I have only ever reproduced the NVIDIA-side
timeout. If you paste the Fault offset from the event and whether a watchdog file exists, that alone says which of the
two you are hitting - and they are being worked as separate items here.

What I have not done: reproduced any of this on RDNA3 or on your driver, so treat the above as how to classify the
failure, not as a diagnosis of yours.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7255321285 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2606#issuecomment-7255321285). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-11-29T11:44:46Z. --- "Reaches the loading screen and then fails" is the shape three of my own runs took today, and on this machine it turned out to be **two different failures that look the same from the outside**. Worth telling them apart before anyone guesses at the cause, because the fix is different in each case. **1. Was there a GPU engine timeout?** The kernel records one per hang, with a file per event: ``` dir C:\Windows\LiveKernelReports\WATCHDOG\WATCHDOG-*.dmp ``` Any file whose timestamp matches your run means the display engine stopped responding (`VIDEO_ENGINE_TIMEOUT_DETECTED`, bugcheck 141, image `nvlddmkm.sys` on NVIDIA). The runtime's own log is **not** a reliable signal here: in half of my hangs it never printed `device was lost`, because the process died first. **2. Did the game crash on purpose?** Look at the Application event log for the run's window: ``` Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='Application Error'; StartTime=(Get-Date).AddHours(-1)} | Select-Object TimeCreated, Message ``` On my machine every run ends with `Exception code: 0xc0000005`, `Fault offset: 0x00000001423cf683`, module "unknown". That offset is inside the title's own image (`game_scarlett_master.exe` is mapped at `0x140000000`), and the instruction at it is a store to address 0 - the compiler's encoding of a deliberate trap, not a corrupted pointer. So that crash is the title deciding to die, usually after something it treats as fatal, and it can also happen without any GPU hang. **3. What is the last thing the log says before it stops?** The last `[rt] submit phases` line gives you the frame rate at the end; a collapse to single digits before the stop is the signature I saw, and a clean stop at 60+ fps points somewhere else entirely. On a Radeon 7800 XT the second check matters more than the first, since I have only ever reproduced the NVIDIA-side timeout. If you paste the `Fault offset` from the event and whether a watchdog file exists, that alone says which of the two you are hitting - and they are being worked as separate items here. What I have not done: reproduced any of this on RDNA3 or on your driver, so treat the above as how to classify the failure, not as a diagnosis of yours. Written with an AI assistant.
fiestorra commented 2026-11-30 03:19:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T03:19:27Z.


Triage, from the log you already pasted - nothing to install, and it may save you a round of guessing:

This is the Rust runtime (d3d12/), not the C++ one. The crash is inside

leonida-image-b99f876b74d4a77f.dll+0x4f28e0f

and the log line above it is leonida_hle::modules::dstorage - a Rust module path (crate leonida-hle), and leonida-image is a Rust crate of the d3d12/ workspace. The C++ runtime (runtime/, gta6rt.exe) produces [rt] … lines and has no leonida_hle:: namespace, so a report about this DLL is about the Rust side of the tree.

Why that matters for the fix: d3d12/ has no CI that builds or tests it today, so a change there reaches main without its tests having run. #2648 adds exactly that workflow (windows-latest, cargo test --workspace --exclude xtask) and is open. Until it lands, whoever fixes this cannot point at a CI run either.

What would make this report actionable to that person, in rough order of usefulness:

  1. the command you ran (Launch.bat and what it invoked - the C++ gta6rt.exe or d3d12/'s leonida.exe), because the two take different settings;
  2. whether --release or debug symbols were on, so +0x4f28e0f can be resolved to a function;
  3. cargo --version and whether the build was the one from d3d12/rust-toolchain.toml, since leonida-image is built by that workspace;
  4. the few lines before the dstorage warning - the first-chance exception says a pointer 0x18 bytes in was read from unmapped memory, and what it was doing just before is usually the whole answer.

I am not the person who can fix it: this machine has no cargo, so d3d12/ does not build here and I cannot reproduce a leonida-image crash at all. I can verify the C++ runtime side (and did: main is 538/539 on its suite), but this is not that side.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7267789764 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2606#issuecomment-7267789764). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-11-30T03:19:27Z. --- Triage, from the log you already pasted - nothing to install, and it may save you a round of guessing: **This is the Rust runtime (`d3d12/`), not the C++ one.** The crash is inside ``` leonida-image-b99f876b74d4a77f.dll+0x4f28e0f ``` and the log line above it is `leonida_hle::modules::dstorage` - a Rust module path (crate `leonida-hle`), and `leonida-image` is a Rust crate of the `d3d12/` workspace. The C++ runtime (`runtime/`, `gta6rt.exe`) produces `[rt] …` lines and has no `leonida_hle::` namespace, so a report about this DLL is about the Rust side of the tree. **Why that matters for the fix:** `d3d12/` has **no CI that builds or tests it today**, so a change there reaches `main` without its tests having run. **#2648** adds exactly that workflow (`windows-latest`, `cargo test --workspace --exclude xtask`) and is open. Until it lands, whoever fixes this cannot point at a CI run either. **What would make this report actionable to that person**, in rough order of usefulness: 1. the command you ran (`Launch.bat` and what it invoked - the C++ `gta6rt.exe` or `d3d12/`'s `leonida.exe`), because the two take different settings; 2. whether `--release` or debug symbols were on, so `+0x4f28e0f` can be resolved to a function; 3. `cargo --version` and whether the build was the one from `d3d12/rust-toolchain.toml`, since `leonida-image` is built by that workspace; 4. the few lines **before** the `dstorage` warning - the first-chance exception says a pointer 0x18 bytes in was read from unmapped memory, and what it was doing just before is usually the whole answer. I am not the person who can fix it: this machine has **no `cargo`**, so `d3d12/` does not build here and I cannot reproduce a `leonida-image` crash at all. I can verify the C++ runtime side (and did: `main` is 538/539 on its suite), but this is not that side. Written with an AI assistant.
Sign in to join this conversation.
No labels
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.

Reference
ProjectLeonida/mandy#2606
No description provided.