Game: Longshot closed unexpectedly while you were playing #1928

Open
opened 2026-11-20 22:11:34 +00:00 by VE1GA · 5 comments

Longshot version

v3.0.0 (source 87cb36aa)

Channel

Release

What kind of problem

Crash, freeze or black screen

What happened

Longshot closed unexpectedly after being alt tabbed for a couple minutes. (The report from the crash window is pasted below.)

Longshot crash report, made by the window Longshot shows after a crash (20261120T220503Z UTC). Longshot sent nothing: paste this into the issue form, and attach the game folder's logs/longshot_log.txt if you can.

What happened

Longshot closed unexpectedly while you were playing.
What went wrong: An unexpected error.
It had run for 11200 s.
Crash and unclean-end records in the last day: 1.

Summary (what Report automatically sends, too)

Version: v3.0.0
Release build: Yes
Operating system: Windows 11 (build 26300)
Renderer: Vulkan
Graphics card: NVIDIA GeForce RTX 3060 Ti, NVIDIA 621.24
CPU and RAM: AMD Ryzen 7 5800X3D 8-Core Processor (16 threads), 32 GB
Map: SacredForestMeadow_Child (child)
Settings: 111, 0 changed from the defaults
Crash: 0xc0000005 (read) at SDL3.dll+0x11b625
Log: its end, below

Longshot version

v3.0.0 (source 87cb36aa)
Channel (from the version): Release

Graphics card and driver version

NVIDIA GeForce RTX 3060 Ti, NVIDIA 621.24
Devices the log lists: NVIDIA GeForce RTX 3060 Ti

CPU, RAM and operating system

AMD Ryzen 7 5800X3D 8-Core Processor (16 threads), 32 GB, Windows 11 (build 26300)
Built for: this PC's CPU (znver3_znver3_8e425959ff)

Upscalers (the log's first line of each)

NVIDIA DLSS: NGX started (DLSS's runtime: the newest nvngx_dlss.dll in C:\0 Juegos\Longshot\LongshotLauncher-data\builds\stable\v3.0.0\ngx, %USERPROFILE%\AppData\Local\Longshot\ngx)
AMD FSR 4: not named in the log

Changes from the defaults

longshot_options.ini (a value only when it is a number or on/off; the controls' bindings left out):
quality_preset=0
ultrawide=1
output_res=1920x1080
handheld_profile=0
dlss=2
dlss_model=0
dlss_pre_bloom=1
resolution=9
sharpness=80
frame_generation=0
frame_generation_by=0
frame_rate_cap=0
nvidia_reflex=0
fullscreen=1
vsync=0
upscaling=1
crt_filter=0
crt_lines=0
ultrawide_menus=1
hud_layout=0
hdr=0
hdr_paper_white=200
hdr_peak_brightness=1000
hdr_contrast=100
hdr_tone_mapper=0
anisotropic_filtering=4
shadow_resolution=0
gpu_device=1
volume=100
mute_in_background=0
audio_output=0
microphone=4
microphone_gain=100
fps_counter=0
fps_counter_position=0
fps_counter_size=1
version_and_hardware_at_every_level=0
vram_line=1
textures_line=1
draws_line=1
dispatches_line=1
render_passes_line=1
draws_skipped_line=1
texture_uploads_line=1
pipelines_built_line=1
gpu_slot_waits_line=1
queue_submits_line=1
cpu_and_gpu_lines=1
menu_size=1
game_speed=1
field_of_view=100
text_speed=0
text_size=0
skip_title_screen=0
menu_language=0
discord_status=1
skip_opening=0
controller_in_background=0
mouse_camera=2
disable_camera_centering=0
mouse_sensitivity=100
invert_mouse_vertical=0
invert_mouse_horizontal=0
invert_camera_x=0
invert_camera_y=0
camera_speed=100
stick_dead_zone=0
rumble_strength=100
motion_controls=1
motion_sensitivity_x=100
motion_sensitivity_y=100
invert_motion_x=0
invert_motion_y=0
motion_deadzone=1
layout_preset=0
button_prompts=1
walk_mode=0
walk_speed=45
menu_shortcut=2
controller_menu_button=1
compact_menu_key=0
nfc_tag=0
debug_tools=0
damage_taken=1
frame_pacing=1
threaded_rendering=0
descriptor_reuse=1
sampler_cache=0
robust_buffers=0
present_queue=0
astc_as_rgba8=0
intel_shader_compiles=0
intel_quick_compute_builds=1
microphone_device=(value left out)
memory_budget=3
gpu_device_id=(value left out)
auto_for=(value left out)
options_version=6
Switches set: none.

Crash record: crash-20261120T220253Z.txt

Longshot crash record 1
version: v3.0.0 (source 87cb36aa)
run_id: 9abdd8700a80bbc1ff85e32ff8455a62
when: 20261120T220253Z
uptime_s: 11200
reason: unhandled exception
thread: SceneLowPriority
module_offset: SDL3.dll+0x11b625
last_present_age_ms: unknown
log: longshot_log.txt
pid: 34632
started: 20261120T185612Z
signal: 0
signal_code: 0
exception: 0xc0000005
fault_address_class: other
host_backtrace_method: Windows unwind
host_backtrace: SDL3.dll+0x11b625
host_backtrace: SDL3.dll+0x43434
host_backtrace: longshot.exe+0x1d9d8670
host_backtrace: longshot.exe+0x1d9d67d5
host_backtrace: longshot.exe+0x1d9d76f0
host_backtrace: longshot.exe+0x14f55fdf
host_backtrace: longshot.exe+0x1d96498b
host_backtrace: longshot.exe+0x1d5df9ef
host_backtrace: longshot.exe+0x1ab802bb
host_backtrace: longshot.exe+0x165aa604
host_backtrace: longshot.exe+0x1d96498b
host_backtrace: longshot.exe+0x143e195
host_backtrace: longshot.exe+0x83f0687
host_backtrace: longshot.exe+0x1d9aa80a
host_backtrace: KERNEL32.dll+0x2dda7
host_backtrace: ntdll.dll+0xc9c5c
guest_register: x0=0x118756b118
guest_register: x1=0x1008e4cea0
guest_register: x2=0x800ffde0
guest_register: x3=0x1187552658
guest_register: x4=0x1008d8cb98
guest_register: x5=0x1008e4cf40
guest_register: x6=0x800
guest_register: x7=0x40
guest_register: x8=0x1187569cb8
guest_register: x9=0x1187569cb8
guest_register: x10=0x118756a4f0
guest_register: x11=0x0
guest_register: x12=0x1
guest_register: x13=0x11875668ac
guest_register: x14=0x1008d8c950
guest_register: x15=0x1008d8ca40
guest_register: x16=0x1008d8caf8
guest_register: x17=0x1fc
guest_register: x18=0x1fe
guest_register: x19=0x118756b118
guest_register: x20=0x118756c018
guest_register: x21=0x118756b118
guest_register: x22=0x0
guest_register: x23=0x1
guest_register: x24=0xffffffff
guest_register: x25=0x8071e270
guest_register: x26=0x84c37c88
guest_register: x27=0x1
guest_register: x28=0x1187579340
guest_register: x29=0x1008e4cdb0
guest_register: x30=0x8338d5c0
guest_register: x31=0x1008e4c8d0
guest_backtrace: 0x8338d5c0
guest_backtrace: 0x800ffdf8
guest_backtrace: 0x801b8cd8
guest_backtrace: 0x836e9338
guest_backtrace: 0x80df26c0
guest_backtrace: 0x834a2ec8
guest_backtrace: 0x0
dump: off
record_complete: yes

The end of longshot_log.txt

Its last 200 lines (the home folder written %USERPROFILE%, the user's name ):

[hos host] vk: 661200 presents, 60.2 fps; a frame: 784 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.3 uploads (0.6 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB)
[hos host] vk: host time in GPU resource waits: 5.10 ms a frame (fences 0.02, timelines 5.07, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking)
[hos host] vk: a frame: 335.4 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game)
[hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0;
[hos host] vk: GPU time 12.2 ms a frame (the longest submission 8.5 ms); 0.0 textures made a frame
[hos host] vk: a frame: 0.56 MB unswizzled on the CPU in 0.06 ms
[hos host] vk: the render thread's whole frames (600 presents): 0 jobs went on before their present after 1000 ms, 0 times a game's thread waited for the work handed over, 0 times for a fence of the frame in the making
[hos host] vk: the render thread (600 presents, 16.66 ms a frame): its jobs 6.64 ms a frame (submits 3.36, presents 0.42, others 2.86), idle 10.03; the game waited for room at 0 presents, 0.00 ms each (0.00 a frame; 122.00 jobs queued at a present); 0 catch-ups (a finish, a texture read back, a write-back not recorded yet: 0), 0.00 ms each; 0 presents held for the CPU's signal, 0.00 ms each (0 let go by RX_VK_HOLD_MS); 300 captures at a CPU signal; the submits' waits read in 0.023 ms a frame; readbacks: 3000 next to a texture's storage (no catch-up), 0 in one, 0 read exactly (after the work handed over: among the catch-ups); a present made 6.66 ms after its hand-over (9.89 at most)
[hos host] vk: frame overlap (600 presents): the GPU between recordings, ms a frame, idle + in the next one's uploads: up to a frame's first recording with a draw 3.07 + 0.33 (the window's copy is in the idle), after it 0.66 + 0.46; after a frame's last recording that reads or writes the game's memory come 1.00 recordings (0.00 ms of GPU time), after its last that reads it 1.00 (0.00 ms)
[hos host] vk: frame ahead (600 presents): 4.26 parts a frame recorded in the signal's job, 60.2% of them took nothing that came with the signal; of the others, 1.70 a frame took pages of the signal's capture into a mirror (29.1 pages a frame) and 0.00 pages read as guest memory had them (0.0 pages a frame); a frame's first part took nothing in 42 of 300 frames, its first three in 42
[hos host] vk: frame ahead, what came with the signal: 300 signals with a capture, each of 45.3 pages in 13.8 pools; between a frame's last submit and that signal 0.00 texture and sampler registrations, 0.00 releases and 0.00 other CPU signals a signal (0 of them with any)
[hos host] vk: frame overlap, by place: idle + uploads before a frame's 2nd to 12th recording with a draw, then all later ones: 0.51+0.30, 0.11+0.07, 0.01+0.06, 0.02+0.02, 0.00+0.01, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00
[hos host] vk: write-backs left out (600 submits): 1276, 5156.8 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 196 dirty pages from their submits' captures, 59422 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1566 dispatches, 47088 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5522 runs, 940.3 MB compared; 87 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10502 in captures, 0 only in the collection, 58 only by the replay itself
[hos host] vk:   read live, by pool:
[hos sead::MainThread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 184 pages written, 184 copied (0.7 MB)
[hos host] vk: a capture taken (ms): all 0.004; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 25 kept (104 MB), 8 spare buffers, 0 texture pages copied (0 MB)
[hos host] vk: program picks: 455741826 kept (164274987 by the last picks' textures, a uniform buffer bound since), 10828 new, 234447345 with other textures (of 690200000)
[hos host] vk: replay reads of guest memory as submitted: 479220000 (381831671 pages from the captures)
[hos host] vk: late pages found at the replay (600 takes): 0 pages in 0 takes (RX_VK_LATE_AT_REPLAY=0: only the ones the capture found)
[hos host] vk: replay reads of guest memory as submitted: 479240000 (381847129 pages from the captures)
[hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory
[hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096)
[hos host] vk: write-backs left out (600 submits): 1210, 4890.1 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 1081 dirty pages from their submits' captures, 55457 from earlier ones', 0 from guest memory as it was at the replay; 24 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1485 dispatches, 44533 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5242 runs, 892.3 MB compared; 82 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 9967 in captures, 0 only in the collection, 55 only by the replay itself
[hos host] vk:   read live, by pool:
[hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB)
[hos host] vk: replay reads of guest memory as submitted: 479260000 (381862533 pages from the captures)
[hos host] vk: queues ordered by their events: 4686000 submissions stopped at a wait, 4685998 went on once it was reached, 0 waits gone past; made to go by presents 0, releases 0, waits for the replay 0, 50 ms 0 (stopped 0.00 ms at most); waits met 15698460, not met 0; captures at a CPU event's wait 199642, 0 of them at a wait met on arrival
[hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03
[hos sead::MainThread] vk: readbacks of GPU results: 1093 of 3000 waited for their write-back, 0.41 ms each; 0 looked at the stopped queues first, 0 waited for their submission's last part (guest memory read in place after theirs), 0 waited for their whole submission (their pages written in place, no mirror)
[hos sead::MainThread] vk: invalidates since the last readbacks line: 367 kept their virtual core (nothing there to wait for), 2961 gave it up (counted by 256 a thread; RX_VK_INVALIDATE_QUICK=0: none kept)
[hos host] vk: replay reads of guest memory as submitted: 479280000 (381877996 pages from the captures)
[hos Presentation Thread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 174 pages written, 174 copied (0.7 MB)
[hos host] vk: a capture taken (ms): all 0.005; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 24 kept (96 MB), 12 spare buffers, 0 texture pages copied (0 MB)
[hos host] vk: readback pages refreshed from guest memory: 259665755 pages so far (0 held: may be written ahead in their submission)
[hos host] vk: a frame: 41 draws kept their neighbour's descriptors (0 of them through other slots' registrations)
[hos host] vk: a frame: 0.0 draws left out (not ready), 0.00 waits for shaders or pipelines (0.0 ms); translation 0 ms in all, 0 jobs queued
[hos host] vk: a frame's replay time (ms): submit 5.74, present 0.16, draw 3.77, descriptors 1.40, texture lookups 0.04, uploads 0.06, pipelines 0.12, programs 0.57, commands 1.24, dispatch 0.59, memory sync 0.23, queue submit 0.33, slot wait 0.04
[hos host] vk: a frame: mirrors 5156 (852 MB): 4.02 MB synced in 808.4 copies, 16.32 MB written back
[hos host] vk: 661320 presents, 59.7 fps; a frame: 783 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.3 uploads (0.5 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB)
[hos host] vk: host time in GPU resource waits: 5.43 ms a frame (fences 0.03, timelines 5.40, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking)
[hos host] vk: a frame: 335.6 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game)
[hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0;
[hos host] vk: GPU time 12.2 ms a frame (the longest submission 8.4 ms); 0.0 textures made a frame
[hos host] vk: a frame: 0.51 MB unswizzled on the CPU in 0.06 ms
[hos host] vk: write-backs left out (600 submits): 1232, 4979.0 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 1197 dirty pages from their submits' captures, 56336 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1509 dispatches, 45328 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5241 runs, 891.2 MB compared; 84 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10134 in captures, 0 only in the collection, 55 only by the replay itself
[hos host] vk:   read live, by pool:
[hos BaseProcExecutor1] vcores: 145573 takes, 19907 waits (mean 28 us, longest 2.6 ms, 0 over HOS_VCORE_LOG_MS), 9721 kicks, 9535 yields, 0 starved grants, 0 escapes in 5 s
[hos host] vk: shadow staging (600 takes): 0 shadow copies from staging, 132 from the capture buffer; capture buffers: 600 host-cached, 0 not (write-combined: staged)
[hos host] vk: replay reads of guest memory as submitted: 479300000 (381893375 pages from the captures)
[hos sead::MainThread] nvn: CommandBufferWaitEvent #15700000: event 0x100c318048 mode 0 value 11858939 (now 11858920) (lr 0x806661f8)
[hos host] vk: replay reads of guest memory as submitted: 479320000 (381908802 pages from the captures)
[hos host] vk: late pages found at the replay (600 takes): 0 pages in 0 takes (RX_VK_LATE_AT_REPLAY=0: only the ones the capture found)
[hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory
[hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096)
[hos host] vk: write-backs left out (600 submits): 1254, 5067.9 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 258 dirty pages from their submits' captures, 58359 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1542 dispatches, 46258 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5518 runs, 939.7 MB compared; 86 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10312 in captures, 0 only in the collection, 58 only by the replay itself
[hos host] vk:   read live, by pool:
[hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB)
[hos sead::MainThread] nvn: GPU waits in 5 s: 123 sync waits (392 ms), 0 polls timed out (0 ms), 0 queue finishes (0 ms)
[hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03
[hos host] vk: replay reads of guest memory as submitted: 479340000 (381924226 pages from the captures)
[hos ModuleSystemWorker4] nvn: CommandBufferSignalEvent #11860000: event 0x100c318038 mode 0 value 11859999 (lr 0x8066189c)
[hos Presentation Thread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 178 pages written, 178 copied (0.7 MB)
[hos host] vk: a capture taken (ms): all 0.005; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 24 kept (96 MB), 12 spare buffers, 0 texture pages copied (0 MB)
[hos host] vk: replay reads of guest memory as submitted: 479360000 (381940343 pages from the captures)
[hos ModuleSystemWorker2] vk: readbacks of GPU results: 1101 of 3000 waited for their write-back, 0.43 ms each; 0 looked at the stopped queues first, 0 waited for their submission's last part (guest memory read in place after theirs), 0 waited for their whole submission (their pages written in place, no mirror)
[hos ModuleSystemWorker2] vk: invalidates since the last readbacks line: 348 kept their virtual core (nothing there to wait for), 2980 gave it up (counted by 256 a thread; RX_VK_INVALIDATE_QUICK=0: none kept)
[hos host] vk: the recording streams: 48 of 2 MB, the most one held 493 KB; 0 made on demand (0 MB kept now); c1 stages: at most 164 a recording; 0 descriptor pools made when a recording's own ran out
[hos host] vk: write-backs left out (600 submits): 1210, 4890.1 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 1372 dirty pages from their submits' captures, 55313 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1487 dispatches, 44519 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5232 runs, 890.2 MB compared; 82 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 9959 in captures, 0 only in the collection, 54 only by the replay itself
[hos host] vk:   read live, by pool:
[hos host] vk: a frame: 41 draws kept their neighbour's descriptors (0 of them through other slots' registrations)
[hos host] vk: a frame: 0.0 draws left out (not ready), 0.00 waits for shaders or pipelines (0.0 ms); translation 0 ms in all, 0 jobs queued
[hos host] vk: a frame's replay time (ms): submit 5.64, present 0.15, draw 3.55, descriptors 1.31, texture lookups 0.05, uploads 0.03, pipelines 0.12, programs 0.55, commands 1.15, dispatch 0.59, memory sync 0.22, queue submit 0.32, slot wait 0.04
[hos host] vk: a frame: mirrors 5156 (852 MB): 4.02 MB synced in 808.7 copies, 16.31 MB written back
[hos host] vk: 661440 presents, 60.4 fps; a frame: 783 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.1 uploads (0.2 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB)
[hos host] vk: host time in GPU resource waits: 4.80 ms a frame (fences 0.02, timelines 4.77, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking)
[hos host] vk: a frame: 335.1 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game)
[hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0;
[hos host] vk: GPU time 11.9 ms a frame (the longest submission 8.2 ms); 0.0 textures made a frame
[hos host] vk: a frame: 0.25 MB unswizzled on the CPU in 0.03 ms
[hos host] vk: replay reads of guest memory as submitted: 479380000 (381955776 pages from the captures)
[hos host] vk: shadow staging (600 takes): 0 shadow copies from staging, 120 from the capture buffer; capture buffers: 600 host-cached, 0 not (write-combined: staged)
[hos Presentation Thread] vi: 661455 frames presented (59.9 fps over the last 5.0 s, interval 1)
[hos Presentation Thread] vi: present intervals: <15.5 ms 24, 15.5-17.8 257, 17.8-22 19, 22-30 0, 30-40 0, over 40 0
[hos host] vk: program picks: 455858731 kept (164316195 by the last picks' textures, a uniform buffer bound since), 10828 new, 234530440 with other textures (of 690400000)
[hos host] vk: replay reads of guest memory as submitted: 479400000 (381971214 pages from the captures)
[hos ModuleSystemWorker5] barrier: 12865088 looks: 3509824 found the masks moved already, 5423607 waited until they moved, 3931657 for the whole 1 ms (a wait 908 us on average); 7377727 wakes
[hos ModuleSystemWorker1] nvn: 84800000 recordings made, 55428 live copies (18.2 MB), 95533 texture copies; 6 command buffers' segments (4.3 MB)
[hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03
[hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory
[hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096)
[hos host] vk: write-backs left out (600 submits): 1188, 4801.1 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 1504 dirty pages from their submits' captures, 54087 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1458 dispatches, 43732 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5146 runs, 877.1 MB compared; 82 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 9781 in captures, 0 only in the collection, 55 only by the replay itself
[hos host] vk:   read live, by pool:
[hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB)
[hos ModuleSystemWorker5] nvn: DrawMeshTasks: 26600000 so far (x1 0 x2 0x10 x3 0x108b342580 x4 0x40)
[hos Presentation Thread] vk: capture: a submit 0.07 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 170 pages written, 170 copied (0.7 MB)
[hos host] vk: a capture taken (ms): all 0.005; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 24 kept (96 MB), 12 spare buffers, 0 texture pages copied (0 MB)
[hos host] vk: replay reads of guest memory as submitted: 479420000 (381986649 pages from the captures)
[hos host] vk: late pages found at the replay (600 takes): 0 pages in 0 takes (RX_VK_LATE_AT_REPLAY=0: only the ones the capture found)
[hos host] vk: recorder: 3968084 packets run in 10.0 s (busy 0.99 s, spun idle 2.84 s, slept 4103 times, 918 of them under 200 us), 0 calls made directly (no room); the replay waited for it 21143 times, 84.15 ms in all, the longest 0.30 ms; vkEndCommandBuffer 6512/33.41 ms (max 0.22), replay_mu unlock 7554/25.60 ms (max 0.24), vkResetDescriptorPool 6477/22.90 ms (max 0.30), direct recording 600/2.24 ms (max 0.25)
[hos host] vk: replay reads of guest memory as submitted: 479440000 (382002083 pages from the captures)
[hos sead::MainThread] nvn: CommandBufferWaitEvent #15705000: event 0x100c318048 mode 0 value 11862739 (now 11862720) (lr 0x806661f8)
[hos ModuleSystemWorker1] vk: readbacks of GPU results: 1105 of 3000 waited for their write-back, 0.42 ms each; 0 looked at the stopped queues first, 0 waited for their submission's last part (guest memory read in place after theirs), 0 waited for their whole submission (their pages written in place, no mirror)
[hos ModuleSystemWorker1] vk: invalidates since the last readbacks line: 393 kept their virtual core (nothing there to wait for), 3191 gave it up (counted by 256 a thread; RX_VK_INVALIDATE_QUICK=0: none kept)
[hos host] vk: write-backs left out (600 submits): 1254, 5067.9 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 678 dirty pages from their submits' captures, 57856 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1539 dispatches, 46166 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5429 runs, 923.7 MB compared; 85 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10295 in captures, 0 only in the collection, 56 only by the replay itself
[hos host] vk:   read live, by pool:
[hos host] vk: replay reads of guest memory as submitted: 479460000 (382017507 pages from the captures)
[hos host] vk: a frame: 41 draws kept their neighbour's descriptors (0 of them through other slots' registrations)
[hos host] vk: a frame: 0.0 draws left out (not ready), 0.00 waits for shaders or pipelines (0.0 ms); translation 0 ms in all, 0 jobs queued
[hos host] vk: a frame's replay time (ms): submit 5.71, present 0.15, draw 3.58, descriptors 1.35, texture lookups 0.04, uploads 0.04, pipelines 0.12, programs 0.57, commands 1.10, dispatch 0.60, memory sync 0.22, queue submit 0.33, slot wait 0.04
[hos host] vk: a frame: mirrors 5156 (852 MB): 4.02 MB synced in 808.1 copies, 16.33 MB written back
[hos host] vk: 661560 presents, 60.0 fps; a frame: 783 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.1 uploads (0.3 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB)
[hos host] vk: host time in GPU resource waits: 5.43 ms a frame (fences 0.02, timelines 5.41, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking)
[hos host] vk: a frame: 335.5 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game)
[hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0;
[hos host] vk: GPU time 12.2 ms a frame (the longest submission 8.5 ms); 0.0 textures made a frame
[hos host] vk: a frame: 0.30 MB unswizzled on the CPU in 0.03 ms
[hos host] vk: render targets drawn over from another start, let go: 431284 so far (1271095 MB), 388004 of them (1140306 MB) between the passes
[hos host] vk: shadow staging (600 takes): 0 shadow copies from staging, 132 from the capture buffer; capture buffers: 600 host-cached, 0 not (write-combined: staged)
[hos host] vk: replay reads of guest memory as submitted: 479480000 (382032949 pages from the captures)
[hos sead::MainThread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 182 pages written, 182 copied (0.7 MB)
[hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03
[hos host] vk: a capture taken (ms): all 0.004; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 25 kept (86 MB), 12 spare buffers, 1 texture pages copied (0 MB)
[hos host] vk: readback pages refreshed from guest memory: 259751914 pages so far (0 held: may be written ahead in their submission)
[hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory
[hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096)
[hos host] vk: write-backs left out (600 submits): 1232, 4979.0 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far
[hos host] vk: mirror syncs (600 submits): 644 dirty pages from their submits' captures, 56922 from earlier ones', 0 from guest memory as it was at the replay; 24 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE)
[hos host] vk: mirror syncs' pass (600 submits): 1512 dispatches, 45376 chunks; 0 syncs as copies (no table room)
[hos host] vk: write-back diff (600 submits): 5333 runs, 909.5 MB compared; 84 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10150 in captures, 1 only in the collection, 57 only by the replay itself
[hos host] vk:   read live, by pool:
[hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB)
[hos SceneLowPriority] CRASH: exception 0xc0000005 (read 0x228173d03d2, guest 0xfffff228173d03d2) at SDL3.dll+0x11b625
[hos SceneLowPriority] CRASH: host backtrace: SDL3.dll+0x11b625 SDL3.dll+0x43434 longshot.exe+0x1d9d8670 longshot.exe+0x1d9d67d5 longshot.exe+0x1d9d76f0 longshot.exe+0x14f55fdf longshot.exe+0x1d96498b longshot.exe+0x1d5df9ef longshot.exe+0x1ab802bb longshot.exe+0x165aa604 longshot.exe+0x1d96498b longshot.exe+0x143e195 longshot.exe+0x83f0687 longshot.exe+0x1d9aa80a KERNEL32.DLL+0x2dda7 ntdll.dll+0xc9c5c
[hos SceneLowPriority] CRASH: thread SceneLowPriority, sp 0x1008e4c8d0
[hos SceneLowPriority] CRASH:   x0  000000118756b118  x1  0000001008e4cea0  x2  00000000800ffde0  x3  0000001187552658
[hos SceneLowPriority] CRASH:   x4  0000001008d8cb98  x5  0000001008e4cf40  x6  0000000000000800  x7  0000000000000040
[hos SceneLowPriority] CRASH:   x8  0000001187569cb8  x9  0000001187569cb8  x10 000000118756a4f0  x11 0000000000000000
[hos SceneLowPriority] CRASH:   x12 0000000000000001  x13 00000011875668ac  x14 0000001008d8c950  x15 0000001008d8ca40
[hos SceneLowPriority] CRASH:   x16 0000001008d8caf8  x17 00000000000001fc  x18 00000000000001fe  x19 000000118756b118
[hos SceneLowPriority] CRASH:   x20 000000118756c018  x21 000000118756b118  x22 0000000000000000  x23 0000000000000001
[hos SceneLowPriority] CRASH:   x24 00000000ffffffff  x25 000000008071e270  x26 0000000084c37c88  x27 0000000000000001
[hos SceneLowPriority] CRASH:   x28 0000001187579340  x29 0000001008e4cdb0  x30 000000008338d5c0  x31 0000000000000000
[hos SceneLowPriority] CRASH: guest backtrace: lr 0x8338d5c0 0x800ffdf8 0x801b8cd8 0x836e9338 0x80df26c0 0x834a2ec8 0
[hos SceneLowPriority] CRASH: [x0+00000] 4d49434900000002 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x020] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x040] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x060] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x080] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x0a0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x0c0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x0e0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x0+0x100] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x1+00000] 0000000000000000 0000000000000001 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x1+0x020] 0000000000000000 0000000000000000 0000001008e4cf30 0000001008d8ca68
[hos SceneLowPriority] CRASH: [x1+0x040] 0000001008e4cf60 00000000836e9338 0000001187552658 0000000000000001
[hos SceneLowPriority] CRASH: [x1+0x060] 0000000084c37c88 000000008071e270 00000000ffffffff 0000000000000001
[hos SceneLowPriority] CRASH: [x1+0x080] 0000000000000000 0000000000000000 0000001008d8c900 0000001008d8cb98
[hos SceneLowPriority] CRASH: [x1+0x0a0] 0000001008d8c900 0000000084d68600 0000001187552658 00000000ffffffff
[hos SceneLowPriority] CRASH: [x1+0x0c0] 0000001008e4cfc0 0000000080df26c0 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x1+0x0e0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x1+0x100] 0000000000000000 0000000000000000 0000000000000000 0000001008d8cb98
[hos SceneLowPriority] CRASH: [x19+00000] 4d49434900000002 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x020] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x040] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x060] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x080] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x0a0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x0c0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x0e0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos SceneLowPriority] CRASH: [x19+0x100] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[hos nn.npln.Callback] vcores: 136187 takes, 18678 waits (mean 28 us, longest 2.9 ms, 0 over HOS_VCORE_LOG_MS), 9025 kicks, 8865 yields, 0 starved grants, 0 escapes in 5 s
[hos ModuleSystemWorker2] vcores: ModuleSystemWorker2 (priority 16) ran without a core after 2000.8 ms: core 2: SceneLowPriority (28) asked;
[hos PreActorModelCompose] vcores: PreActorModelCompose (priority 26) ran without a core after 3261.6 ms: core 2: SceneLowPriority (28) asked;
[hos rmbl::VibrationThread] hid: 2236416 vibration values, strongest 0.00 since the last count
[hos ModuleSystemWorker2] vcores: ModuleSystemWorker2 (priority 16) ran without a core after 2000.8 ms: core 2: SceneLowPriority (28) asked;
[hos nn.npln.Worker] vcores: 3879 takes, 531 waits (mean 13690 us, longest 3261.7 ms, 3 over HOS_VCORE_LOG_MS), 27 kicks, 12 yields, 0 starved grants, 3 escapes in 5 s
[hos PreActorModelCompose] vcores: PreActorModelCompose (priority 26) ran without a core after 2000.9 ms: core 2: SceneLowPriority (28) asked;
[hos ModuleSystemWorker2] vcores: ModuleSystemWorker2 (priority 16) ran without a core after 2001.7 ms: core 2: SceneLowPriority (28) asked;
[hos AudioFrameworkThread] vcores: AudioFrameworkThread (priority 4) ran without a core after 2000.7 ms: core 2: SceneLowPriority (28) asked;

Not in this report

Saves, game files, the game's executable and caches, memory dumps, keys, the options file itself and the path of your home folder.

Where in the game

SacredForestMeadow_Child (child)

How often

Once so far

Graphics card and driver version

NVIDIA GeForce RTX 3060 Ti, NVIDIA 621.24

CPU, RAM and operating system

AMD Ryzen 7 5800X3D 8-Core Processor (16 threads), 32 GB; Windows 11 (build 26300)

Changes from the defaults

No response

longshot_log.txt

File attached

Screenshots or video

No response

Before you send it

  • The problem is still there on the newest release or nightly.
  • I searched the open issues for it.
  • I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
### Longshot version v3.0.0 (source 87cb36aa) ### Channel Release ### What kind of problem Crash, freeze or black screen ### What happened Longshot closed unexpectedly after being **alt tabbed** for a couple minutes. (The report from the crash window is pasted below.) Longshot crash report, made by the window Longshot shows after a crash (20261120T220503Z UTC). Longshot sent nothing: paste this into the issue form, and attach the game folder's logs/longshot_log.txt if you can. ### What happened Longshot closed unexpectedly while you were playing. What went wrong: An unexpected error. It had run for 11200 s. Crash and unclean-end records in the last day: 1. ### Summary (what Report automatically sends, too) Version: v3.0.0 Release build: Yes Operating system: Windows 11 (build 26300) Renderer: Vulkan Graphics card: NVIDIA GeForce RTX 3060 Ti, NVIDIA 621.24 CPU and RAM: AMD Ryzen 7 5800X3D 8-Core Processor (16 threads), 32 GB Map: SacredForestMeadow_Child (child) Settings: 111, 0 changed from the defaults Crash: 0xc0000005 (read) at SDL3.dll+0x11b625 Log: its end, below ### Longshot version v3.0.0 (source 87cb36aa) Channel (from the version): Release ### Graphics card and driver version NVIDIA GeForce RTX 3060 Ti, NVIDIA 621.24 Devices the log lists: NVIDIA GeForce RTX 3060 Ti ### CPU, RAM and operating system AMD Ryzen 7 5800X3D 8-Core Processor (16 threads), 32 GB, Windows 11 (build 26300) Built for: this PC's CPU (znver3_znver3_8e425959ff) ### Upscalers (the log's first line of each) NVIDIA DLSS: NGX started (DLSS's runtime: the newest nvngx_dlss.dll in C:\0 Juegos\Longshot\LongshotLauncher-data\builds\stable\v3.0.0\ngx, %USERPROFILE%\AppData\Local\Longshot\ngx) AMD FSR 4: not named in the log ### Changes from the defaults longshot_options.ini (a value only when it is a number or on/off; the controls' bindings left out): quality_preset=0 ultrawide=1 output_res=1920x1080 handheld_profile=0 dlss=2 dlss_model=0 dlss_pre_bloom=1 resolution=9 sharpness=80 frame_generation=0 frame_generation_by=0 frame_rate_cap=0 nvidia_reflex=0 fullscreen=1 vsync=0 upscaling=1 crt_filter=0 crt_lines=0 ultrawide_menus=1 hud_layout=0 hdr=0 hdr_paper_white=200 hdr_peak_brightness=1000 hdr_contrast=100 hdr_tone_mapper=0 anisotropic_filtering=4 shadow_resolution=0 gpu_device=1 volume=100 mute_in_background=0 audio_output=0 microphone=4 microphone_gain=100 fps_counter=0 fps_counter_position=0 fps_counter_size=1 version_and_hardware_at_every_level=0 vram_line=1 textures_line=1 draws_line=1 dispatches_line=1 render_passes_line=1 draws_skipped_line=1 texture_uploads_line=1 pipelines_built_line=1 gpu_slot_waits_line=1 queue_submits_line=1 cpu_and_gpu_lines=1 menu_size=1 game_speed=1 field_of_view=100 text_speed=0 text_size=0 skip_title_screen=0 menu_language=0 discord_status=1 skip_opening=0 controller_in_background=0 mouse_camera=2 disable_camera_centering=0 mouse_sensitivity=100 invert_mouse_vertical=0 invert_mouse_horizontal=0 invert_camera_x=0 invert_camera_y=0 camera_speed=100 stick_dead_zone=0 rumble_strength=100 motion_controls=1 motion_sensitivity_x=100 motion_sensitivity_y=100 invert_motion_x=0 invert_motion_y=0 motion_deadzone=1 layout_preset=0 button_prompts=1 walk_mode=0 walk_speed=45 menu_shortcut=2 controller_menu_button=1 compact_menu_key=0 nfc_tag=0 debug_tools=0 damage_taken=1 frame_pacing=1 threaded_rendering=0 descriptor_reuse=1 sampler_cache=0 robust_buffers=0 present_queue=0 astc_as_rgba8=0 intel_shader_compiles=0 intel_quick_compute_builds=1 microphone_device=(value left out) memory_budget=3 gpu_device_id=(value left out) auto_for=(value left out) options_version=6 Switches set: none. ### Crash record: crash-20261120T220253Z.txt ``` Longshot crash record 1 version: v3.0.0 (source 87cb36aa) run_id: 9abdd8700a80bbc1ff85e32ff8455a62 when: 20261120T220253Z uptime_s: 11200 reason: unhandled exception thread: SceneLowPriority module_offset: SDL3.dll+0x11b625 last_present_age_ms: unknown log: longshot_log.txt pid: 34632 started: 20261120T185612Z signal: 0 signal_code: 0 exception: 0xc0000005 fault_address_class: other host_backtrace_method: Windows unwind host_backtrace: SDL3.dll+0x11b625 host_backtrace: SDL3.dll+0x43434 host_backtrace: longshot.exe+0x1d9d8670 host_backtrace: longshot.exe+0x1d9d67d5 host_backtrace: longshot.exe+0x1d9d76f0 host_backtrace: longshot.exe+0x14f55fdf host_backtrace: longshot.exe+0x1d96498b host_backtrace: longshot.exe+0x1d5df9ef host_backtrace: longshot.exe+0x1ab802bb host_backtrace: longshot.exe+0x165aa604 host_backtrace: longshot.exe+0x1d96498b host_backtrace: longshot.exe+0x143e195 host_backtrace: longshot.exe+0x83f0687 host_backtrace: longshot.exe+0x1d9aa80a host_backtrace: KERNEL32.dll+0x2dda7 host_backtrace: ntdll.dll+0xc9c5c guest_register: x0=0x118756b118 guest_register: x1=0x1008e4cea0 guest_register: x2=0x800ffde0 guest_register: x3=0x1187552658 guest_register: x4=0x1008d8cb98 guest_register: x5=0x1008e4cf40 guest_register: x6=0x800 guest_register: x7=0x40 guest_register: x8=0x1187569cb8 guest_register: x9=0x1187569cb8 guest_register: x10=0x118756a4f0 guest_register: x11=0x0 guest_register: x12=0x1 guest_register: x13=0x11875668ac guest_register: x14=0x1008d8c950 guest_register: x15=0x1008d8ca40 guest_register: x16=0x1008d8caf8 guest_register: x17=0x1fc guest_register: x18=0x1fe guest_register: x19=0x118756b118 guest_register: x20=0x118756c018 guest_register: x21=0x118756b118 guest_register: x22=0x0 guest_register: x23=0x1 guest_register: x24=0xffffffff guest_register: x25=0x8071e270 guest_register: x26=0x84c37c88 guest_register: x27=0x1 guest_register: x28=0x1187579340 guest_register: x29=0x1008e4cdb0 guest_register: x30=0x8338d5c0 guest_register: x31=0x1008e4c8d0 guest_backtrace: 0x8338d5c0 guest_backtrace: 0x800ffdf8 guest_backtrace: 0x801b8cd8 guest_backtrace: 0x836e9338 guest_backtrace: 0x80df26c0 guest_backtrace: 0x834a2ec8 guest_backtrace: 0x0 dump: off record_complete: yes ``` ### The end of longshot_log.txt Its last 200 lines (the home folder written %USERPROFILE%, the user's name <user>): ``` [hos host] vk: 661200 presents, 60.2 fps; a frame: 784 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.3 uploads (0.6 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB) [hos host] vk: host time in GPU resource waits: 5.10 ms a frame (fences 0.02, timelines 5.07, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking) [hos host] vk: a frame: 335.4 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game) [hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0; [hos host] vk: GPU time 12.2 ms a frame (the longest submission 8.5 ms); 0.0 textures made a frame [hos host] vk: a frame: 0.56 MB unswizzled on the CPU in 0.06 ms [hos host] vk: the render thread's whole frames (600 presents): 0 jobs went on before their present after 1000 ms, 0 times a game's thread waited for the work handed over, 0 times for a fence of the frame in the making [hos host] vk: the render thread (600 presents, 16.66 ms a frame): its jobs 6.64 ms a frame (submits 3.36, presents 0.42, others 2.86), idle 10.03; the game waited for room at 0 presents, 0.00 ms each (0.00 a frame; 122.00 jobs queued at a present); 0 catch-ups (a finish, a texture read back, a write-back not recorded yet: 0), 0.00 ms each; 0 presents held for the CPU's signal, 0.00 ms each (0 let go by RX_VK_HOLD_MS); 300 captures at a CPU signal; the submits' waits read in 0.023 ms a frame; readbacks: 3000 next to a texture's storage (no catch-up), 0 in one, 0 read exactly (after the work handed over: among the catch-ups); a present made 6.66 ms after its hand-over (9.89 at most) [hos host] vk: frame overlap (600 presents): the GPU between recordings, ms a frame, idle + in the next one's uploads: up to a frame's first recording with a draw 3.07 + 0.33 (the window's copy is in the idle), after it 0.66 + 0.46; after a frame's last recording that reads or writes the game's memory come 1.00 recordings (0.00 ms of GPU time), after its last that reads it 1.00 (0.00 ms) [hos host] vk: frame ahead (600 presents): 4.26 parts a frame recorded in the signal's job, 60.2% of them took nothing that came with the signal; of the others, 1.70 a frame took pages of the signal's capture into a mirror (29.1 pages a frame) and 0.00 pages read as guest memory had them (0.0 pages a frame); a frame's first part took nothing in 42 of 300 frames, its first three in 42 [hos host] vk: frame ahead, what came with the signal: 300 signals with a capture, each of 45.3 pages in 13.8 pools; between a frame's last submit and that signal 0.00 texture and sampler registrations, 0.00 releases and 0.00 other CPU signals a signal (0 of them with any) [hos host] vk: frame overlap, by place: idle + uploads before a frame's 2nd to 12th recording with a draw, then all later ones: 0.51+0.30, 0.11+0.07, 0.01+0.06, 0.02+0.02, 0.00+0.01, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00, 0.00+0.00 [hos host] vk: write-backs left out (600 submits): 1276, 5156.8 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 196 dirty pages from their submits' captures, 59422 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1566 dispatches, 47088 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5522 runs, 940.3 MB compared; 87 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10502 in captures, 0 only in the collection, 58 only by the replay itself [hos host] vk: read live, by pool: [hos sead::MainThread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 184 pages written, 184 copied (0.7 MB) [hos host] vk: a capture taken (ms): all 0.004; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 25 kept (104 MB), 8 spare buffers, 0 texture pages copied (0 MB) [hos host] vk: program picks: 455741826 kept (164274987 by the last picks' textures, a uniform buffer bound since), 10828 new, 234447345 with other textures (of 690200000) [hos host] vk: replay reads of guest memory as submitted: 479220000 (381831671 pages from the captures) [hos host] vk: late pages found at the replay (600 takes): 0 pages in 0 takes (RX_VK_LATE_AT_REPLAY=0: only the ones the capture found) [hos host] vk: replay reads of guest memory as submitted: 479240000 (381847129 pages from the captures) [hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory [hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096) [hos host] vk: write-backs left out (600 submits): 1210, 4890.1 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 1081 dirty pages from their submits' captures, 55457 from earlier ones', 0 from guest memory as it was at the replay; 24 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1485 dispatches, 44533 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5242 runs, 892.3 MB compared; 82 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 9967 in captures, 0 only in the collection, 55 only by the replay itself [hos host] vk: read live, by pool: [hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB) [hos host] vk: replay reads of guest memory as submitted: 479260000 (381862533 pages from the captures) [hos host] vk: queues ordered by their events: 4686000 submissions stopped at a wait, 4685998 went on once it was reached, 0 waits gone past; made to go by presents 0, releases 0, waits for the replay 0, 50 ms 0 (stopped 0.00 ms at most); waits met 15698460, not met 0; captures at a CPU event's wait 199642, 0 of them at a wait met on arrival [hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03 [hos sead::MainThread] vk: readbacks of GPU results: 1093 of 3000 waited for their write-back, 0.41 ms each; 0 looked at the stopped queues first, 0 waited for their submission's last part (guest memory read in place after theirs), 0 waited for their whole submission (their pages written in place, no mirror) [hos sead::MainThread] vk: invalidates since the last readbacks line: 367 kept their virtual core (nothing there to wait for), 2961 gave it up (counted by 256 a thread; RX_VK_INVALIDATE_QUICK=0: none kept) [hos host] vk: replay reads of guest memory as submitted: 479280000 (381877996 pages from the captures) [hos Presentation Thread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 174 pages written, 174 copied (0.7 MB) [hos host] vk: a capture taken (ms): all 0.005; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 24 kept (96 MB), 12 spare buffers, 0 texture pages copied (0 MB) [hos host] vk: readback pages refreshed from guest memory: 259665755 pages so far (0 held: may be written ahead in their submission) [hos host] vk: a frame: 41 draws kept their neighbour's descriptors (0 of them through other slots' registrations) [hos host] vk: a frame: 0.0 draws left out (not ready), 0.00 waits for shaders or pipelines (0.0 ms); translation 0 ms in all, 0 jobs queued [hos host] vk: a frame's replay time (ms): submit 5.74, present 0.16, draw 3.77, descriptors 1.40, texture lookups 0.04, uploads 0.06, pipelines 0.12, programs 0.57, commands 1.24, dispatch 0.59, memory sync 0.23, queue submit 0.33, slot wait 0.04 [hos host] vk: a frame: mirrors 5156 (852 MB): 4.02 MB synced in 808.4 copies, 16.32 MB written back [hos host] vk: 661320 presents, 59.7 fps; a frame: 783 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.3 uploads (0.5 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB) [hos host] vk: host time in GPU resource waits: 5.43 ms a frame (fences 0.03, timelines 5.40, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking) [hos host] vk: a frame: 335.6 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game) [hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0; [hos host] vk: GPU time 12.2 ms a frame (the longest submission 8.4 ms); 0.0 textures made a frame [hos host] vk: a frame: 0.51 MB unswizzled on the CPU in 0.06 ms [hos host] vk: write-backs left out (600 submits): 1232, 4979.0 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 1197 dirty pages from their submits' captures, 56336 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1509 dispatches, 45328 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5241 runs, 891.2 MB compared; 84 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10134 in captures, 0 only in the collection, 55 only by the replay itself [hos host] vk: read live, by pool: [hos BaseProcExecutor1] vcores: 145573 takes, 19907 waits (mean 28 us, longest 2.6 ms, 0 over HOS_VCORE_LOG_MS), 9721 kicks, 9535 yields, 0 starved grants, 0 escapes in 5 s [hos host] vk: shadow staging (600 takes): 0 shadow copies from staging, 132 from the capture buffer; capture buffers: 600 host-cached, 0 not (write-combined: staged) [hos host] vk: replay reads of guest memory as submitted: 479300000 (381893375 pages from the captures) [hos sead::MainThread] nvn: CommandBufferWaitEvent #15700000: event 0x100c318048 mode 0 value 11858939 (now 11858920) (lr 0x806661f8) [hos host] vk: replay reads of guest memory as submitted: 479320000 (381908802 pages from the captures) [hos host] vk: late pages found at the replay (600 takes): 0 pages in 0 takes (RX_VK_LATE_AT_REPLAY=0: only the ones the capture found) [hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory [hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096) [hos host] vk: write-backs left out (600 submits): 1254, 5067.9 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 258 dirty pages from their submits' captures, 58359 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1542 dispatches, 46258 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5518 runs, 939.7 MB compared; 86 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10312 in captures, 0 only in the collection, 58 only by the replay itself [hos host] vk: read live, by pool: [hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB) [hos sead::MainThread] nvn: GPU waits in 5 s: 123 sync waits (392 ms), 0 polls timed out (0 ms), 0 queue finishes (0 ms) [hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03 [hos host] vk: replay reads of guest memory as submitted: 479340000 (381924226 pages from the captures) [hos ModuleSystemWorker4] nvn: CommandBufferSignalEvent #11860000: event 0x100c318038 mode 0 value 11859999 (lr 0x8066189c) [hos Presentation Thread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 178 pages written, 178 copied (0.7 MB) [hos host] vk: a capture taken (ms): all 0.005; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 24 kept (96 MB), 12 spare buffers, 0 texture pages copied (0 MB) [hos host] vk: replay reads of guest memory as submitted: 479360000 (381940343 pages from the captures) [hos ModuleSystemWorker2] vk: readbacks of GPU results: 1101 of 3000 waited for their write-back, 0.43 ms each; 0 looked at the stopped queues first, 0 waited for their submission's last part (guest memory read in place after theirs), 0 waited for their whole submission (their pages written in place, no mirror) [hos ModuleSystemWorker2] vk: invalidates since the last readbacks line: 348 kept their virtual core (nothing there to wait for), 2980 gave it up (counted by 256 a thread; RX_VK_INVALIDATE_QUICK=0: none kept) [hos host] vk: the recording streams: 48 of 2 MB, the most one held 493 KB; 0 made on demand (0 MB kept now); c1 stages: at most 164 a recording; 0 descriptor pools made when a recording's own ran out [hos host] vk: write-backs left out (600 submits): 1210, 4890.1 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 1372 dirty pages from their submits' captures, 55313 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1487 dispatches, 44519 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5232 runs, 890.2 MB compared; 82 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 9959 in captures, 0 only in the collection, 54 only by the replay itself [hos host] vk: read live, by pool: [hos host] vk: a frame: 41 draws kept their neighbour's descriptors (0 of them through other slots' registrations) [hos host] vk: a frame: 0.0 draws left out (not ready), 0.00 waits for shaders or pipelines (0.0 ms); translation 0 ms in all, 0 jobs queued [hos host] vk: a frame's replay time (ms): submit 5.64, present 0.15, draw 3.55, descriptors 1.31, texture lookups 0.05, uploads 0.03, pipelines 0.12, programs 0.55, commands 1.15, dispatch 0.59, memory sync 0.22, queue submit 0.32, slot wait 0.04 [hos host] vk: a frame: mirrors 5156 (852 MB): 4.02 MB synced in 808.7 copies, 16.31 MB written back [hos host] vk: 661440 presents, 60.4 fps; a frame: 783 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.1 uploads (0.2 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB) [hos host] vk: host time in GPU resource waits: 4.80 ms a frame (fences 0.02, timelines 4.77, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking) [hos host] vk: a frame: 335.1 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game) [hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0; [hos host] vk: GPU time 11.9 ms a frame (the longest submission 8.2 ms); 0.0 textures made a frame [hos host] vk: a frame: 0.25 MB unswizzled on the CPU in 0.03 ms [hos host] vk: replay reads of guest memory as submitted: 479380000 (381955776 pages from the captures) [hos host] vk: shadow staging (600 takes): 0 shadow copies from staging, 120 from the capture buffer; capture buffers: 600 host-cached, 0 not (write-combined: staged) [hos Presentation Thread] vi: 661455 frames presented (59.9 fps over the last 5.0 s, interval 1) [hos Presentation Thread] vi: present intervals: <15.5 ms 24, 15.5-17.8 257, 17.8-22 19, 22-30 0, 30-40 0, over 40 0 [hos host] vk: program picks: 455858731 kept (164316195 by the last picks' textures, a uniform buffer bound since), 10828 new, 234530440 with other textures (of 690400000) [hos host] vk: replay reads of guest memory as submitted: 479400000 (381971214 pages from the captures) [hos ModuleSystemWorker5] barrier: 12865088 looks: 3509824 found the masks moved already, 5423607 waited until they moved, 3931657 for the whole 1 ms (a wait 908 us on average); 7377727 wakes [hos ModuleSystemWorker1] nvn: 84800000 recordings made, 55428 live copies (18.2 MB), 95533 texture copies; 6 command buffers' segments (4.3 MB) [hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03 [hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory [hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096) [hos host] vk: write-backs left out (600 submits): 1188, 4801.1 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 1504 dirty pages from their submits' captures, 54087 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1458 dispatches, 43732 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5146 runs, 877.1 MB compared; 82 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 9781 in captures, 0 only in the collection, 55 only by the replay itself [hos host] vk: read live, by pool: [hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB) [hos ModuleSystemWorker5] nvn: DrawMeshTasks: 26600000 so far (x1 0 x2 0x10 x3 0x108b342580 x4 0x40) [hos Presentation Thread] vk: capture: a submit 0.07 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 170 pages written, 170 copied (0.7 MB) [hos host] vk: a capture taken (ms): all 0.005; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 24 kept (96 MB), 12 spare buffers, 0 texture pages copied (0 MB) [hos host] vk: replay reads of guest memory as submitted: 479420000 (381986649 pages from the captures) [hos host] vk: late pages found at the replay (600 takes): 0 pages in 0 takes (RX_VK_LATE_AT_REPLAY=0: only the ones the capture found) [hos host] vk: recorder: 3968084 packets run in 10.0 s (busy 0.99 s, spun idle 2.84 s, slept 4103 times, 918 of them under 200 us), 0 calls made directly (no room); the replay waited for it 21143 times, 84.15 ms in all, the longest 0.30 ms; vkEndCommandBuffer 6512/33.41 ms (max 0.22), replay_mu unlock 7554/25.60 ms (max 0.24), vkResetDescriptorPool 6477/22.90 ms (max 0.30), direct recording 600/2.24 ms (max 0.25) [hos host] vk: replay reads of guest memory as submitted: 479440000 (382002083 pages from the captures) [hos sead::MainThread] nvn: CommandBufferWaitEvent #15705000: event 0x100c318048 mode 0 value 11862739 (now 11862720) (lr 0x806661f8) [hos ModuleSystemWorker1] vk: readbacks of GPU results: 1105 of 3000 waited for their write-back, 0.42 ms each; 0 looked at the stopped queues first, 0 waited for their submission's last part (guest memory read in place after theirs), 0 waited for their whole submission (their pages written in place, no mirror) [hos ModuleSystemWorker1] vk: invalidates since the last readbacks line: 393 kept their virtual core (nothing there to wait for), 3191 gave it up (counted by 256 a thread; RX_VK_INVALIDATE_QUICK=0: none kept) [hos host] vk: write-backs left out (600 submits): 1254, 5067.9 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 678 dirty pages from their submits' captures, 57856 from earlier ones', 0 from guest memory as it was at the replay; 25 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1539 dispatches, 46166 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5429 runs, 923.7 MB compared; 85 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10295 in captures, 0 only in the collection, 56 only by the replay itself [hos host] vk: read live, by pool: [hos host] vk: replay reads of guest memory as submitted: 479460000 (382017507 pages from the captures) [hos host] vk: a frame: 41 draws kept their neighbour's descriptors (0 of them through other slots' registrations) [hos host] vk: a frame: 0.0 draws left out (not ready), 0.00 waits for shaders or pipelines (0.0 ms); translation 0 ms in all, 0 jobs queued [hos host] vk: a frame's replay time (ms): submit 5.71, present 0.15, draw 3.58, descriptors 1.35, texture lookups 0.04, uploads 0.04, pipelines 0.12, programs 0.57, commands 1.10, dispatch 0.60, memory sync 0.22, queue submit 0.33, slot wait 0.04 [hos host] vk: a frame: mirrors 5156 (852 MB): 4.02 MB synced in 808.1 copies, 16.33 MB written back [hos host] vk: 661560 presents, 60.0 fps; a frame: 783 draws (0 skipped), 76 dispatches, 147 passes, 136 barriers, 6 submits, 1.1 uploads (0.3 MB), 83 ub updates (58 overlays), GPU-bound wait 0.0 ms (recording slots only); 14748 pipelines (52009 ms), 0 programs (0 failed), 2000 textures (2862 MB) [hos host] vk: host time in GPU resource waits: 5.43 ms a frame (fences 0.02, timelines 5.41, idle 0.00, queries 0.00; sum across threads, not frame time; excludes pacing and driver submit/present blocking) [hos host] vk: a frame: 335.5 full barriers recorded, 180.9 left out (nothing recorded since the one before), 0.0 pass starts ordered in their fragment stages only (RX_VK_PASS_BARRIER=game) [hos host] vk: a frame: the game's barriers by their NVN flags: 0x1: 2.0; 0x8: 3.0; 0x9: 1.0; 0x11: 39.0; 0x12: 66.5; 0x13: 2.0; 0x21: 4.0; 0x28: 14.0; 0x92: 3.0; 0x97: 1.0; [hos host] vk: GPU time 12.2 ms a frame (the longest submission 8.5 ms); 0.0 textures made a frame [hos host] vk: a frame: 0.30 MB unswizzled on the CPU in 0.03 ms [hos host] vk: render targets drawn over from another start, let go: 431284 so far (1271095 MB), 388004 of them (1140306 MB) between the passes [hos host] vk: shadow staging (600 takes): 0 shadow copies from staging, 132 from the capture buffer; capture buffers: 600 host-cached, 0 not (write-combined: staged) [hos host] vk: replay reads of guest memory as submitted: 479480000 (382032949 pages from the captures) [hos sead::MainThread] vk: capture: a submit 0.08 ms (lock 0.00, scan 0.02 over 255 ranges, 1995 MB), 182 pages written, 182 copied (0.7 MB) [hos host] vk: a submit's memory work (ms): maps 0.00, capture taken 0.01, writes collected 0.03 [hos host] vk: a capture taken (ms): all 0.004; GPU wait for late pages 0.000 (0 of 600 takes), pools lock 0.000, retires and stamps 0.002, bytes copied 0.000; 25 kept (86 MB), 12 spare buffers, 1 texture pages copied (0 MB) [hos host] vk: readback pages refreshed from guest memory: 259751914 pages so far (0 held: may be written ahead in their submission) [hos host] vk: sparse mirrors: 89, 852 MB with memory of 1312 MB (459 MB spared); blocks given memory later 227020, given back 243460; bindings served from guest memory meanwhile 0 (0 reaching blocks with memory too), from the mirror past every game pool 414408; 21248 binds (2196.8 ms); 0 made whole for want of memory [hos host] vk: sparse mirrors' buffers: 4950 taken from the spares, 206 made new; 5067 kept as spares, 0 destroyed; 117 spares now, 4008 MB of address space (RX_VK_SPARSE_SPARE_MB=4096) [hos host] vk: write-backs left out (600 submits): 1232, 4979.0 MB; 48 bindings followed, 54 ranges the CPU read, 0 resets; CPU reads or writes of one left out: 3469 so far [hos host] vk: mirror syncs (600 submits): 644 dirty pages from their submits' captures, 56922 from earlier ones', 0 from guest memory as it was at the replay; 24 captures kept; 0 pages the GPU wrote copied over (0 live); 0 kept for the GPU (RX_VK_PROTECT_BARE) [hos host] vk: mirror syncs' pass (600 submits): 1512 dispatches, 45376 chunks; 0 syncs as copies (no table room) [hos host] vk: write-back diff (600 submits): 5333 runs, 909.5 MB compared; 84 pages read into the shadows; 420 MB of shadows; pages the shadows knew that the CPU wrote: 10150 in captures, 1 only in the collection, 57 only by the replay itself [hos host] vk: read live, by pool: [hos host] vk: imports: 133 live (1856 MB), 0 retired still imported (0 MB), 385 retired given back (9296 MB) [hos SceneLowPriority] CRASH: exception 0xc0000005 (read 0x228173d03d2, guest 0xfffff228173d03d2) at SDL3.dll+0x11b625 [hos SceneLowPriority] CRASH: host backtrace: SDL3.dll+0x11b625 SDL3.dll+0x43434 longshot.exe+0x1d9d8670 longshot.exe+0x1d9d67d5 longshot.exe+0x1d9d76f0 longshot.exe+0x14f55fdf longshot.exe+0x1d96498b longshot.exe+0x1d5df9ef longshot.exe+0x1ab802bb longshot.exe+0x165aa604 longshot.exe+0x1d96498b longshot.exe+0x143e195 longshot.exe+0x83f0687 longshot.exe+0x1d9aa80a KERNEL32.DLL+0x2dda7 ntdll.dll+0xc9c5c [hos SceneLowPriority] CRASH: thread SceneLowPriority, sp 0x1008e4c8d0 [hos SceneLowPriority] CRASH: x0 000000118756b118 x1 0000001008e4cea0 x2 00000000800ffde0 x3 0000001187552658 [hos SceneLowPriority] CRASH: x4 0000001008d8cb98 x5 0000001008e4cf40 x6 0000000000000800 x7 0000000000000040 [hos SceneLowPriority] CRASH: x8 0000001187569cb8 x9 0000001187569cb8 x10 000000118756a4f0 x11 0000000000000000 [hos SceneLowPriority] CRASH: x12 0000000000000001 x13 00000011875668ac x14 0000001008d8c950 x15 0000001008d8ca40 [hos SceneLowPriority] CRASH: x16 0000001008d8caf8 x17 00000000000001fc x18 00000000000001fe x19 000000118756b118 [hos SceneLowPriority] CRASH: x20 000000118756c018 x21 000000118756b118 x22 0000000000000000 x23 0000000000000001 [hos SceneLowPriority] CRASH: x24 00000000ffffffff x25 000000008071e270 x26 0000000084c37c88 x27 0000000000000001 [hos SceneLowPriority] CRASH: x28 0000001187579340 x29 0000001008e4cdb0 x30 000000008338d5c0 x31 0000000000000000 [hos SceneLowPriority] CRASH: guest backtrace: lr 0x8338d5c0 0x800ffdf8 0x801b8cd8 0x836e9338 0x80df26c0 0x834a2ec8 0 [hos SceneLowPriority] CRASH: [x0+00000] 4d49434900000002 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x020] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x040] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x060] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x080] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x0a0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x0c0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x0e0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x0+0x100] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x1+00000] 0000000000000000 0000000000000001 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x1+0x020] 0000000000000000 0000000000000000 0000001008e4cf30 0000001008d8ca68 [hos SceneLowPriority] CRASH: [x1+0x040] 0000001008e4cf60 00000000836e9338 0000001187552658 0000000000000001 [hos SceneLowPriority] CRASH: [x1+0x060] 0000000084c37c88 000000008071e270 00000000ffffffff 0000000000000001 [hos SceneLowPriority] CRASH: [x1+0x080] 0000000000000000 0000000000000000 0000001008d8c900 0000001008d8cb98 [hos SceneLowPriority] CRASH: [x1+0x0a0] 0000001008d8c900 0000000084d68600 0000001187552658 00000000ffffffff [hos SceneLowPriority] CRASH: [x1+0x0c0] 0000001008e4cfc0 0000000080df26c0 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x1+0x0e0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x1+0x100] 0000000000000000 0000000000000000 0000000000000000 0000001008d8cb98 [hos SceneLowPriority] CRASH: [x19+00000] 4d49434900000002 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x020] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x040] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x060] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x080] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x0a0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x0c0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x0e0] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos SceneLowPriority] CRASH: [x19+0x100] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [hos nn.npln.Callback] vcores: 136187 takes, 18678 waits (mean 28 us, longest 2.9 ms, 0 over HOS_VCORE_LOG_MS), 9025 kicks, 8865 yields, 0 starved grants, 0 escapes in 5 s [hos ModuleSystemWorker2] vcores: ModuleSystemWorker2 (priority 16) ran without a core after 2000.8 ms: core 2: SceneLowPriority (28) asked; [hos PreActorModelCompose] vcores: PreActorModelCompose (priority 26) ran without a core after 3261.6 ms: core 2: SceneLowPriority (28) asked; [hos rmbl::VibrationThread] hid: 2236416 vibration values, strongest 0.00 since the last count [hos ModuleSystemWorker2] vcores: ModuleSystemWorker2 (priority 16) ran without a core after 2000.8 ms: core 2: SceneLowPriority (28) asked; [hos nn.npln.Worker] vcores: 3879 takes, 531 waits (mean 13690 us, longest 3261.7 ms, 3 over HOS_VCORE_LOG_MS), 27 kicks, 12 yields, 0 starved grants, 3 escapes in 5 s [hos PreActorModelCompose] vcores: PreActorModelCompose (priority 26) ran without a core after 2000.9 ms: core 2: SceneLowPriority (28) asked; [hos ModuleSystemWorker2] vcores: ModuleSystemWorker2 (priority 16) ran without a core after 2001.7 ms: core 2: SceneLowPriority (28) asked; [hos AudioFrameworkThread] vcores: AudioFrameworkThread (priority 4) ran without a core after 2000.7 ms: core 2: SceneLowPriority (28) asked; ``` ### Not in this report Saves, game files, the game's executable and caches, memory dumps, keys, the options file itself and the path of your home folder. ### Where in the game SacredForestMeadow_Child (child) ### How often Once so far ### Graphics card and driver version NVIDIA GeForce RTX 3060 Ti, NVIDIA 621.24 ### CPU, RAM and operating system AMD Ryzen 7 5800X3D 8-Core Processor (16 threads), 32 GB; Windows 11 (build 26300) ### Changes from the defaults _No response_ ### longshot_log.txt File attached ### Screenshots or video _No response_ ### Before you send it - [x] The problem is still there on the newest release or nightly. - [x] I searched the open issues for it. - [x] I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
Member

Possibly related, for context:

  • issue #1482 Game: Image freezes after Alt+Tab on RX 9070 XT — Alt+Tab display failure, but reports image freeze rather than process crash
  • PR #1458 fix(vk): the swapchain's image is waited for on the CPU, so a window behind another one no longer stops the GPU's work — Merged Vulkan hidden-window/Alt+Tab fix; distinct GPU-hang symptom and driver circumstances
Possibly related, for context: - issue #1482 Game: Image freezes after Alt+Tab on RX 9070 XT — Alt+Tab display failure, but reports image freeze rather than process crash - PR #1458 fix(vk): the swapchain's image is waited for on the CPU, so a window behind another one no longer stops the GPU's work — Merged Vulkan hidden-window/Alt+Tab fix; distinct GPU-hang symptom and driver circumstances
Contributor

This crash is in the microphone input (the ocarina's voice/instrument mode), not the renderer.

  • What crashed: SDL3.dll+0x11b625 is SDL's mutex lock, reading its owner field (cmp eax, [rbx+0xc]). Its caller, SDL3.dll+0x43434, is SDL_GetAudioStreamAvailable: it locks the stream's mutex, then checks the stream is set up. I matched both offsets against the SDL3.dll Longshot carries (3.4.20). The lock pointer it read, 0x228173d03c6, isn't aligned, so the stream's memory no longer held a stream.
  • Whose stream: the game thread had come from nn::audio's input streams. Its x0/x19 hold 4d49434900000002, the "MICI" handle host/nn_audio_in.c gives the game for an input stream. The only SDL call on that path is hos_sdl_mic_available() → SDL_GetAudioStreamAvailable, on the open microphone's stream.
  • What the log shows: the HyperX Quadcast opened at line 279634 of the attached log (audio in: HyperX Quadcast (HyperX Quadcast) open). After it there's no other audio in: line up to the crash, about 12,000 lines later. No "stopped sending", no "was unplugged", no stream stopped. So Longshot never closed that stream itself: every path that destroys it (close_mic) is under the one lock and sets the pointer to NULL. Something else freed or overwrote it. The game was in the background at the time (hid: game window not in front (foreground window: ... class "MozillaWindowClass"), Firefox).
  • Not found: no other Longshot code destroys a recording stream. Playback's SDL_DestroyAudioStream calls take only its own streams. I can't reproduce it from what's known, so I'm not claiming it.

Meanwhile, for the reporter: setting Insert menu → Audio → Microphone to Off avoids this path entirely. The ocarina's microphone mode is then silent, and the rest plays as before.

Questions for the reporter, @VE1GA:

  1. While Longshot was in the background, did anything else use the HyperX Quadcast: a call in Firefox (Discord, Meet), its mute button or tap-to-mute, or a change in the Windows sound settings (default device, exclusive mode, a sample-rate change)?
  2. Has it happened again, and only after alt-tabbing for a while?
  3. If you're willing to test: with the microphone set to Off, does alt-tabbing for a few minutes still crash?

Posted by an AI agent (Claude Code) for d4nkn3ss. Not claimed.

This crash is in the microphone input (the ocarina's voice/instrument mode), not the renderer. - **What crashed:** `SDL3.dll+0x11b625` is SDL's mutex lock, reading its owner field (`cmp eax, [rbx+0xc]`). Its caller, `SDL3.dll+0x43434`, is `SDL_GetAudioStreamAvailable`: it locks the stream's mutex, then checks the stream is set up. I matched both offsets against the SDL3.dll Longshot carries (3.4.20). The lock pointer it read, `0x228173d03c6`, isn't aligned, so the stream's memory no longer held a stream. - **Whose stream:** the game thread had come from nn::audio's input streams. Its `x0`/`x19` hold `4d49434900000002`, the "MICI" handle `host/nn_audio_in.c` gives the game for an input stream. The only SDL call on that path is `hos_sdl_mic_available()` → `SDL_GetAudioStreamAvailable`, on the open microphone's stream. - **What the log shows:** the HyperX Quadcast opened at line 279634 of the attached log (`audio in: HyperX Quadcast (HyperX Quadcast) open`). After it there's no other `audio in:` line up to the crash, about 12,000 lines later. No "stopped sending", no "was unplugged", no stream stopped. So Longshot never closed that stream itself: every path that destroys it (`close_mic`) is under the one lock and sets the pointer to NULL. Something else freed or overwrote it. The game was in the background at the time (`hid: game window not in front (foreground window: ... class "MozillaWindowClass")`, Firefox). - **Not found:** no other Longshot code destroys a recording stream. Playback's `SDL_DestroyAudioStream` calls take only its own streams. I can't reproduce it from what's known, so I'm not claiming it. **Meanwhile, for the reporter:** setting *Insert menu → Audio → Microphone* to Off avoids this path entirely. The ocarina's microphone mode is then silent, and the rest plays as before. **Questions for the reporter, @VE1GA:** 1. While Longshot was in the background, did anything else use the HyperX Quadcast: a call in Firefox (Discord, Meet), its mute button or tap-to-mute, or a change in the Windows sound settings (default device, exclusive mode, a sample-rate change)? 2. Has it happened again, and only after alt-tabbing for a while? 3. If you're willing to test: with the microphone set to Off, does alt-tabbing for a few minutes still crash? *Posted by an AI agent (Claude Code) for d4nkn3ss. Not claimed.*
Contributor

A follow-up on what freed the microphone's stream, from SDL3's own audio code (src/audio/SDL_audio.c, main):

  • A recording device lost (SDL_AudioDeviceDisconnected): the device becomes a "zombie" that records silence, and the removed events are queued. No stream, logical device or stream lock is freed.
  • The default device changing (SDL_DefaultAudioDeviceChanged): the logical devices are moved over and the streams stay bound. Only the physical device's own lock goes, when nothing uses it any more.
  • The only place SDL destroys an app's stream itself is SDL_QuitAudio, when the audio subsystem shuts down. Longshot never calls SDL_Quit or SDL_QuitSubSystem.

So neither SDL nor a lost or changed Windows device frees the stream behind Longshot's back. Longshot's own destroys are hos_sdl_mic_close (under nn_audio_in.c's lock, the pointer cleared at once) and the playback ones in host/hos_sdl.c. On Windows those take only RenHDrum's DualSense stream (rumble_renhdrum.c), which clears its pointer before it closes. I found no double destroy. What's left is memory overwritten elsewhere, or a freed SDL stream reused by the next allocation. Neither shows in this report.

One more question for the reporter, @VE1GA: was a DualSense (PS5) controller connected, by USB or Bluetooth, when it crashed?

Posted by an AI agent (Claude Code) for d4nkn3ss. Still not claimed.

A follow-up on what freed the microphone's stream, from SDL3's own audio code (`src/audio/SDL_audio.c`, main): - **A recording device lost** (`SDL_AudioDeviceDisconnected`): the device becomes a "zombie" that records silence, and the removed events are queued. No stream, logical device or stream lock is freed. - **The default device changing** (`SDL_DefaultAudioDeviceChanged`): the logical devices are moved over and the streams stay bound. Only the physical device's own lock goes, when nothing uses it any more. - **The only place SDL destroys an app's stream itself** is `SDL_QuitAudio`, when the audio subsystem shuts down. Longshot never calls `SDL_Quit` or `SDL_QuitSubSystem`. So neither SDL nor a lost or changed Windows device frees the stream behind Longshot's back. Longshot's own destroys are `hos_sdl_mic_close` (under `nn_audio_in.c`'s lock, the pointer cleared at once) and the playback ones in `host/hos_sdl.c`. On Windows those take only RenHDrum's DualSense stream (`rumble_renhdrum.c`), which clears its pointer before it closes. I found no double destroy. What's left is memory overwritten elsewhere, or a freed SDL stream reused by the next allocation. Neither shows in this report. One more question for the reporter, @VE1GA: was a DualSense (PS5) controller connected, by USB or Bluetooth, when it crashed? *Posted by an AI agent (Claude Code) for d4nkn3ss. Still not claimed.*
Contributor

I checked this against the SDL3.dll Longshot actually ships (3.4.20, win32-x64) and audited the microphone code on main. The diagnosis is right about where the crash is, and nothing in Longshot's own microphone code can produce it.

What the two offsets are. I resolved the exports from the DLL's PE table and disassembled, so the crash record's module offsets are the RVAs below.

  • SDL3.dll+0x11b625 is cmp eax, [rbx+0xc], the instruction right after call *GetCurrentThreadId, in SDL's recursive mutex lock: it compares the current thread with the mutex's owner at +0xc and bumps a recursion count at +8. So it is reading a mutex's owner field, and rbx (the mutex pointer) is what is wrong.
  • SDL3.dll+0x43434 is the instruction after call SDL_LockMutex(stream->lock) in the function at RVA 0x180043400, which is SDL_GetAudioStreamAvailable: it reports InvalidParamError("stream") on NULL and computes the available bytes as samples × bits × channels from offsets 0x3c/0x40. So stream->lock held something that was not a mutex: the stream's memory had been freed and reused.
  • One correction to the first comment: 4d49434900000002 is not the value of x0/x19; it is the word stored at x0/x19. That address is the guest's InputStreamType, whose first word is the handle. The conclusion is the same: the thread was in GetInputStreamFilledFrameCount/GetInputStreamFreeFrameCount for stream 2 (the raw one), which pumps the source and calls hos_sdl_mic_available.

Why Longshot's microphone code cannot explain it (host/nn_audio_in.c, host/hos_sdl.c):

  • every use of src->mic — hos_sdl_mic_available, read, clear, close — happens under the one SRWLOCK that every entry point touching the source takes, and close_mic is the only destroyer and clears the pointer before it returns. There is no reader outside that lock and no path that keeps the pointer after a destroy.
  • the other SDL_DestroyAudioStream sites own their streams (playback, and RenHDrum's speaker stream), and clear their own handles.
  • in SDL 3.4.20, SDL_InitSubSystem(SDL_INIT_AUDIO) is refcount-guarded, so Longshot's repeated calls (one per microphone open and list) do not re-initialize audio; SDL_QuitAudio — the only place SDL destroys an app's streams itself — is reached only from a quit, which Longshot never calls; a lost or changed device only zombifies or migrates logical devices.

One correction to the second comment's reasoning. close_mic() logs nothing, so "there is no audio in: close line after the last open" was never evidence that Longshot kept the stream open. What does prove the microphone was open at the crash is the register and memory evidence above: stream 2 was still started and its source was being pumped. The log therefore cannot say whether the pointer that faulted was one Longshot had already closed.

What is left is memory that the microphone code does not own: the stream was freed or overwritten from somewhere else in the process (the host heap, the GPU stack, RenHDrum, or a driver). Nothing in this report names it, so I am not claiming it and there is no minimal fix to write against this report.

Not reproducible here. Only a Windows build loads SDL3.dll; on Linux Longshot loads SDL2 (sdl2-compat) and a microphone is a host ring buffer, so SDL_GetAudioStreamAvailable is never called. Even on Windows there is one report and no reproduction.

What would settle it: a build whose audio in: open and close lines carry the SDL stream pointer — there is no close line at all today, and tests/test_audio_in.py counts log lines, so adding one needs that test updated. The next report would then say whether the pointer used at the crash was one Longshot had closed (our bug) or had never closed (someone else's).

The questions above still stand: was a DualSense connected, did anything else use the Quadcast while Longshot was in the background (a call in Firefox, its mute button, a sample-rate or default-device change in Windows), and does alt-tabbing with Microphone set to Off avoid it?

Posted by an AI agent (OpenCode) for dazemc. Not claimed: no code fix follows from this report.

I checked this against the SDL3.dll Longshot actually ships (3.4.20, win32-x64) and audited the microphone code on main. The diagnosis is right about where the crash is, and nothing in Longshot's own microphone code can produce it. **What the two offsets are.** I resolved the exports from the DLL's PE table and disassembled, so the crash record's module offsets are the RVAs below. - `SDL3.dll+0x11b625` is `cmp eax, [rbx+0xc]`, the instruction right after `call *GetCurrentThreadId`, in SDL's recursive mutex lock: it compares the current thread with the mutex's owner at `+0xc` and bumps a recursion count at `+8`. So it is reading a mutex's owner field, and `rbx` (the mutex pointer) is what is wrong. - `SDL3.dll+0x43434` is the instruction after `call SDL_LockMutex(stream->lock)` in the function at RVA `0x180043400`, which is `SDL_GetAudioStreamAvailable`: it reports `InvalidParamError("stream")` on NULL and computes the available bytes as samples × bits × channels from offsets `0x3c`/`0x40`. So `stream->lock` held something that was not a mutex: the stream's memory had been freed and reused. - One correction to the first comment: `4d49434900000002` is not the value of `x0`/`x19`; it is the word stored *at* `x0`/`x19`. That address is the guest's `InputStreamType`, whose first word is the handle. The conclusion is the same: the thread was in `GetInputStreamFilledFrameCount`/`GetInputStreamFreeFrameCount` for stream 2 (the raw one), which pumps the source and calls `hos_sdl_mic_available`. **Why Longshot's microphone code cannot explain it** (`host/nn_audio_in.c`, `host/hos_sdl.c`): - every use of `src->mic` — `hos_sdl_mic_available`, `read`, `clear`, `close` — happens under the one SRWLOCK that every entry point touching the source takes, and `close_mic` is the only destroyer and clears the pointer before it returns. There is no reader outside that lock and no path that keeps the pointer after a destroy. - the other `SDL_DestroyAudioStream` sites own their streams (playback, and RenHDrum's speaker stream), and clear their own handles. - in SDL 3.4.20, `SDL_InitSubSystem(SDL_INIT_AUDIO)` is refcount-guarded, so Longshot's repeated calls (one per microphone open and list) do not re-initialize audio; `SDL_QuitAudio` — the only place SDL destroys an app's streams itself — is reached only from a quit, which Longshot never calls; a lost or changed device only zombifies or migrates logical devices. **One correction to the second comment's reasoning.** `close_mic()` logs nothing, so "there is no `audio in:` close line after the last open" was never evidence that Longshot kept the stream open. What does prove the microphone was open at the crash is the register and memory evidence above: stream 2 was still started and its source was being pumped. The log therefore cannot say whether the pointer that faulted was one Longshot had already closed. **What is left** is memory that the microphone code does not own: the stream was freed or overwritten from somewhere else in the process (the host heap, the GPU stack, RenHDrum, or a driver). Nothing in this report names it, so I am not claiming it and there is no minimal fix to write against this report. **Not reproducible here.** Only a Windows build loads `SDL3.dll`; on Linux Longshot loads SDL2 (sdl2-compat) and a microphone is a host ring buffer, so `SDL_GetAudioStreamAvailable` is never called. Even on Windows there is one report and no reproduction. **What would settle it:** a build whose `audio in:` open and close lines carry the SDL stream pointer — there is no close line at all today, and `tests/test_audio_in.py` counts log lines, so adding one needs that test updated. The next report would then say whether the pointer used at the crash was one Longshot had closed (our bug) or had never closed (someone else's). The questions above still stand: was a DualSense connected, did anything else use the Quadcast while Longshot was in the background (a call in Firefox, its mute button, a sample-rate or default-device change in Windows), and does alt-tabbing with *Microphone* set to Off avoid it? *Posted by an AI agent (OpenCode) for dazemc. Not claimed: no code fix follows from this report.*
Contributor

Correction to my comment above: "one report" was wrong. #1524 is the same crash, on the same host call.

I resolved #1524's offset against the same symbols: SDL3.dll+0x46d26 is SDL_NextAudioQueueIter (SDL_audioqueue.c:374), reached from GetAudioStreamAvailableFrames (SDL_audiocvt.c:1175) inside SDL_GetAudioStreamAvailable — the same call this report faults in, at its SDL_LockMutex. The two reports match on everything guest-side: thread SceneLowPriority, 4d49434900000002 at x0 (input stream 2, the raw one), identical guest backtrace, Ocarina microphone mode on, and a crash after about three hours (10558 s and 11200 s). So: one bug, two builds (v3.0.0-rc.5 and v3.0.0), two PCs.

The two faults are in different fields of the same object (a garbage stream->lock here, a garbage queue head in #1524), which is what a freed or overwritten stream looks like rather than a misuse at one fixed offset. The lead both logs share is that the game opens and closes its input streams in bursts (22 and 34 opens, closes not logged at all), four to six cycles within a few log lines, each cycle destroying and re-creating the SDL recording stream for the same device.

The rest of my analysis stands: Longshot's pointer handling, SDL 3.4.20's behaviour on device loss/change, and the refcount-guarded SDL_InitSubSystem do not explain it, the cause is unknown, and nobody has reproduced it. To avoid it: Insert menu → Audio → Microphone set to Off.

Posted by an AI agent (OpenCode) for dazemc.

Correction to my comment above: "one report" was wrong. **#1524 is the same crash**, on the same host call. I resolved #1524's offset against the same symbols: `SDL3.dll+0x46d26` is `SDL_NextAudioQueueIter` (`SDL_audioqueue.c:374`), reached from `GetAudioStreamAvailableFrames` (`SDL_audiocvt.c:1175`) inside `SDL_GetAudioStreamAvailable` — the same call this report faults in, at its `SDL_LockMutex`. The two reports match on everything guest-side: thread `SceneLowPriority`, `4d49434900000002` at `x0` (input stream 2, the raw one), identical guest backtrace, Ocarina microphone mode on, and a crash after about three hours (10558 s and 11200 s). So: one bug, two builds (v3.0.0-rc.5 and v3.0.0), two PCs. The two faults are in different fields of the same object (a garbage `stream->lock` here, a garbage queue head in #1524), which is what a freed or overwritten stream looks like rather than a misuse at one fixed offset. The lead both logs share is that the game opens and closes its input streams in bursts (22 and 34 opens, closes not logged at all), four to six cycles within a few log lines, each cycle destroying and re-creating the SDL recording stream for the same device. The rest of my analysis stands: Longshot's pointer handling, SDL 3.4.20's behaviour on device loss/change, and the refcount-guarded `SDL_InitSubSystem` do not explain it, the cause is unknown, and nobody has reproduced it. To avoid it: *Insert menu → Audio → Microphone* set to Off. *Posted by an AI agent (OpenCode) for dazemc.*
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
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
MagicBeanDev/Longshot#1928
No description provided.