Game: FATAL corrupt NVN recording at submit after extended play near Lake Hylia (RX 6800) #2406

Open
opened 2026-11-23 20:57:53 +00:00 by BeanBot · 3 comments
Member

Reported on Discord

Longshot version and channel

Longshot v3.1.1 (source 63363428), stable.

What happened and steps

After about 40 minutes of normal play (~109,600 frames), the game crashed while running around Lake Hylia. There was no stutter or warning beforehand. The log's final status reports 109,560 presents and 40.6 fps; the reporter described a steady 40–47 fps.

Exact fatal output:

[hos Presentation Thread] FATAL: native NVN: corrupt recording at submit (op 1 size 0) (lr 0x80590358 sp 0x10073c9f70)
[hos] guest backtrace: lr 0x80590358 0x80df26c0 0x834a2ec8 0

Where / frequency

Lake Hylia, running around; one crash after approximately 40 minutes.

GPU and driver

AMD Radeon RX 6800, AMD driver 26.11.2, Vulkan 1.4.

CPU, RAM and OS

6-core CPU, 32 GB RAM, Windows 11.

Settings / controller

2560x1440 output, fullscreen; 8BitDo Ultimate 2 Wireless controller (SDL).

Log

Attached longshot_log.txt from the reporter's Discord post. The log identifies run_id 11446f1d16d6becfd021097df38a5bfa. It ends with the fatal lines quoted above. The final renderer summary reports 3,614 textures / 6,531 MB, GPU time 14.2 ms/frame, 109,560 presents, and 40.6 fps. It does not indicate a GPU hang or memory exhaustion immediately before the fatal.

Related but distinct: #333 concerns host allocations failing at Windows' commit limit; this run's log does not show that condition and the fatal message differs.

Reported on [Discord](https://discord.com/channels/1569849200047427645/1574529277972447252/1574529277972447252) ## Longshot version and channel Longshot v3.1.1 (source 63363428), stable. ## What happened and steps After about 40 minutes of normal play (~109,600 frames), the game crashed while running around Lake Hylia. There was no stutter or warning beforehand. The log's final status reports 109,560 presents and 40.6 fps; the reporter described a steady 40–47 fps. Exact fatal output: ```text [hos Presentation Thread] FATAL: native NVN: corrupt recording at submit (op 1 size 0) (lr 0x80590358 sp 0x10073c9f70) [hos] guest backtrace: lr 0x80590358 0x80df26c0 0x834a2ec8 0 ``` ## Where / frequency Lake Hylia, running around; one crash after approximately 40 minutes. ## GPU and driver AMD Radeon RX 6800, AMD driver 26.11.2, Vulkan 1.4. ## CPU, RAM and OS 6-core CPU, 32 GB RAM, Windows 11. ## Settings / controller 2560x1440 output, fullscreen; 8BitDo Ultimate 2 Wireless controller (SDL). ## Log Attached `longshot_log.txt` from the reporter's Discord post. The log identifies run_id `11446f1d16d6becfd021097df38a5bfa`. It ends with the fatal lines quoted above. The final renderer summary reports 3,614 textures / 6,531 MB, GPU time 14.2 ms/frame, 109,560 presents, and 40.6 fps. It does not indicate a GPU hang or memory exhaustion immediately before the fatal. Related but distinct: #333 concerns host allocations failing at Windows' commit limit; this run's log does not show that condition and the fatal message differs.
Author
Member

Files from the Discord report:

Files from the Discord report: - [longshot_log.txt](https://git.magicbean.dev/attachments/880c9d61-d81d-4c98-acdc-9c7351dc90dc)
Contributor

Triage only (no work claimed).

Where it dies. resolve_deferred(), host/nvn_native.c:2496-2511, called for each handle from
nvnQueueSubmitCommands (host/nvn_native.c:2513-2535) on the game's own thread, before the submit reaches Vulkan. It
walks a private host copy of the finished recording (flatten(), host/nvn_native.c:1703-1716). So this is not the GPU
replay or a submit worker: #2156 (RX_VK_SUBMIT_WORKER) is an unmerged, off-by-default vk change that does not touch this
walk, #2210/#2211/#2212 are elsewhere in the vk layer, and nothing hands that copy to the driver.

What op 1 size 0 says. Op 1 is NOP_JUMP (gpu/render/rx_nvn.h:152), which the recorder never writes: put_hdr
and rec are called only with the other ops, and NOP_JUMP/NOP_CALL appear nowhere but the enum and the vk replay's
read side. #1237 died in this same walk, from the same guest lr 0x80590358 on the Presentation Thread, with op 8213 size 40 (past NOP_COUNT_), so also not a header we wrote. In both, the bytes at the stop were not a recorded header, which
puts the walk outside the recording at that point: past its NOP_END, or on a block that no longer held the copy. The log
carries no handle, copy length or offset, so it cannot tell which.

host/nvn_native.c is identical at v3.1.1 and on current main, so this is not a fixed regression.

What would place it: the text crash report the crash window offered (not HOS_CRASH_MINIDUMP's minidump, which holds
game data and must not be shared), and, above all, a fatal that also logs the handle, the copy's length and first 16 bytes,
and the offset the walk stopped at. As it stands the line cannot be tied to a specific recording.

Triage only (no work claimed). **Where it dies.** `resolve_deferred()`, `host/nvn_native.c:2496-2511`, called for each handle from `nvnQueueSubmitCommands` (`host/nvn_native.c:2513-2535`) on the game's own thread, before the submit reaches Vulkan. It walks a private host copy of the finished recording (`flatten()`, `host/nvn_native.c:1703-1716`). So this is not the GPU replay or a submit worker: #2156 (`RX_VK_SUBMIT_WORKER`) is an unmerged, off-by-default vk change that does not touch this walk, #2210/#2211/#2212 are elsewhere in the vk layer, and nothing hands that copy to the driver. **What `op 1 size 0` says.** Op 1 is `NOP_JUMP` (`gpu/render/rx_nvn.h:152`), which the recorder never writes: `put_hdr` and `rec` are called only with the other ops, and `NOP_JUMP`/`NOP_CALL` appear nowhere but the enum and the vk replay's read side. #1237 died in this same walk, from the same guest `lr 0x80590358` on the Presentation Thread, with `op 8213 size 40` (past `NOP_COUNT_`), so also not a header we wrote. In both, the bytes at the stop were not a recorded header, which puts the walk outside the recording at that point: past its `NOP_END`, or on a block that no longer held the copy. The log carries no handle, copy length or offset, so it cannot tell which. `host/nvn_native.c` is identical at v3.1.1 and on current main, so this is not a fixed regression. **What would place it:** the text crash report the crash window offered (not `HOS_CRASH_MINIDUMP`'s minidump, which holds game data and must not be shared), and, above all, a fatal that also logs the handle, the copy's length and first 16 bytes, and the offset the walk stopped at. As it stands the line cannot be tied to a specific recording.
Contributor

Short, and not repeating the triage note above: the two things it names still stand, and neither has an answer yet.

  1. The text crash report the crash window saved for you — not the minidump, which is game data. That report is the input the failing code was walking.

  2. A build whose fatal says which recording broke. Today it prints op 1 size 0 and stops there; the logging change we would add prints the handle, the copy's length, the first 16 bytes and the offset where the walk stopped. Can you run a Windows build with that? If building it yourself is awkward, we can put one on the Test Farm for this issue (@Beanstalk with a few words; a BigBean approves it).

  3. On current main: how many crashes out of how many attempts, and does it follow time played (~40 minutes) or a particular area?

Already ruled out, so it does not need re-testing: the Vulkan submit lane, and host/nvn_native.c has not changed since v3.1.1.

Short, and not repeating the triage note above: the two things it names still stand, and neither has an answer yet. 1. The **text** crash report the crash window saved for you — not the minidump, which is game data. That report is the input the failing code was walking. 2. A build whose fatal says which recording broke. Today it prints `op 1 size 0` and stops there; the logging change we would add prints the handle, the copy's length, the first 16 bytes and the offset where the walk stopped. Can you run a Windows build with that? If building it yourself is awkward, we can put one on the Test Farm for this issue (`@Beanstalk` with a few words; a BigBean approves it). 3. On current main: how many crashes out of how many attempts, and does it follow time played (~40 minutes) or a particular area? Already ruled out, so it does not need re-testing: the Vulkan submit lane, and `host/nvn_native.c` has not changed since v3.1.1.
Sign in to join this conversation.
No milestone
No project
No assignees
2 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#2406
No description provided.