Launch unhandled excaeption #2606
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#2606
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?
@SirMatrix on GitHub · 2026-11-29 06:07 UTC · original
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
@fiestorra on GitHub · 2026-11-29 11:44 UTC · original
"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:
Any file whose timestamp matches your run means the display engine stopped responding (
VIDEO_ENGINE_TIMEOUT_DETECTED,bugcheck 141, image
nvlddmkm.syson NVIDIA). The runtime's own log is not a reliable signal here: in half of my hangsit 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:
On my machine every run ends with
Exception code: 0xc0000005,Fault offset: 0x00000001423cf683, module "unknown". Thatoffset is inside the title's own image (
game_scarlett_master.exeis mapped at0x140000000), and the instruction at itis 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 phasesline gives you the frame rateat 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 offsetfrom the event and whether a watchdog file exists, that alone says which of thetwo 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 on GitHub · 2026-11-30 03:19 UTC · original
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 insideand the log line above it is
leonida_hle::modules::dstorage- a Rust module path (crateleonida-hle), andleonida-imageis a Rust crate of thed3d12/workspace. The C++ runtime (runtime/,gta6rt.exe) produces[rt] …lines and has noleonida_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 reachesmainwithout 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:
Launch.batand what it invoked - the C++gta6rt.exeord3d12/'sleonida.exe), because the two take different settings;--releaseor debug symbols were on, so+0x4f28e0fcan be resolved to a function;cargo --versionand whether the build was the one fromd3d12/rust-toolchain.toml, sinceleonida-imageis built by that workspace;dstoragewarning - 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, sod3d12/does not build here and I cannot reproduce aleonida-imagecrash at all. I can verify the C++ runtime side (and did:mainis 538/539 on its suite), but this is not that side.Written with an AI assistant.