Game: nightly-80 crashes on startup (0xc0000005) #261
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#261
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?
Longshot version
nightly-80-7315957c
Channel
Nightly
What kind of problem
Crash, freeze or black screen
What happened
Launch Longshot from the launcher or run
bin\longshot.exedirectly. The game window opens and closes within 1–2 seconds, before the title screen appears.The game log reports
0xc0000005onsead::MainThreadatlongshot.exe+0x15b53346while writing to0x100000000000. Windows Error Reporting confirms the same exception code and offset. Nightlynightly-77-9f64464balso failed with the same code and offset.Where in the game
During startup, before reaching the title screen.
How often
Every time
Graphics card and driver version
AMD Radeon RX 9070 XT, AMD driver 26.11.1 (LLPC), Vulkan 1.4
CPU, RAM and operating system
Intel Core i7-12700, 32 GB RAM, Windows 11 Pro (build 22631)
Changes from the defaults
The crash occurs with both the default native mesh shaders and
RX_VK_MESH_SHADERS=computeinlongshot_env.txt. It also reproduces with MSI Afterburner and RivaTuner closed. Windows Error Reporting confirmed that neither RTSS DLL was loaded in the attached runs.A separate launch requesting the Intel UHD Graphics 770 with
RX_VK_DEVICE=1reproduced the same exception before the log confirmed which GPU was active.longshot_log.txt
.
Screenshots or video
.
Before you send it
Triage: S0 (repeatable startup crash), reported on nightly-77 and nightly-80; affected reach is not established. This is not yet evidence of a Vulkan device-lost or an AMD-driver fault.
One source-level clue in the issue text: the reported write address,
0x100000000000, is exactly Longshot's native guest-memory base (A64_HOST_BASE,third_party/a64-kit/rt/a64.h:61; the Windows reservation uses it inhost/hos_main.c:147). If the faulting instruction is a lifted guest-memory access, that address would correspond to guest offset zero. That is a hypothesis consistent with a guest null-pointer write, not a confirmed root cause or a reason to commit a speculative fix.The next useful evidence is symbolication of
longshot.exe+0x15b53346for the exact nightly-80 executable, plus the guest PC/registers immediately before the write. A maintainer who can read the attached diagnostic ZIP may already have those lines. Please keep binaries, generated code and dumps local; text diagnostics are enough.I confirmed that the issue has an attached ZIP through the issue API, but my attachment-download route returned HTTP403, so I stopped it and have not read the archive. I have not reproduced this crash on the local NVIDIA setup. The Intel-requested launch also does not establish an Intel reproduction until the selected-device line is known.
Source reference:
#define A64_HOST_BASE 0x100000000000ULL /* 16 TB: far from anything Windows or glibc map by default */Thank you for looking into this issue.
I've attached the longshot_log.txt file directly, since you mentioned that the ZIP download returned an HTTP 403 error.
I've also reattached the diagnostic ZIP.
Please let me know if you need any additional information or specific tests. I'm happy to help.
I managed to capture a Windows crash dump and extract the CPU context at the exact point of failure.
The dump confirms:
CPU registers:
Faulting instruction:
This confirms that the instruction attempts to write to the guest-memory base address with a zero offset.
I understand this doesn't establish the underlying cause. Would these CPU registers help with the investigation, or do you also need the guest PC/registers from a special debug build?
I can provide additional diagnostic information if needed.