Regression on 0a4f361: title crashes (null/out-of-range reads) and the indirect clamp reports garbage DrawIndexed/DispatchMesh records #274
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory#274
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@viktorsparda on GitHub · 2026-12-02 20:32 UTC · original
Regression on
0a4f361: title crashes (null/out-of-range reads) and the indirect clamp reports garbage DrawIndexed/DispatchMesh recordsSummary
After updating from
9f73c39to0a4f361, the title crashes in every run: twicewhile still loading, and once after about 2½ minutes in the world. The
crashes are at different addresses, always access violations inside the title's
own code. In the longer run, vkback's indirect clamp also reported two kinds of
rule-32 errors that no TASKS item or issue covers, both about GPU-built command
records containing invalid data.
The same machine, title and settings ran without a crash on every earlier build
today, including 12 minutes on
9f73c39.Environment
vulkan-radeon 26.3.1-5), Vulkan 1.4.363Host { lanes: 64, rdna: true, min_lanes: 32, denorm: [true, true] }7.3.6-3-cachyos, KDE Plasma on Wayland11.0-20261015tools/play.shwith default settingstr-bf272f27731b8bff, fully retranslated after the updateRuns
b447925,87ab180,88d66ae,4a9dbe59f73c39(#169)good-9f73c39.zip0a4f361, run 1crash1-0a4f361.zip0a4f361, run 2crash2-0a4f361.zip0a4f361, run 3crash3-0a4f361.zipCrash signatures (only on
0a4f361)Runs 1 and 2:
Run 3:
The first is a read through a null pointer plus
0xc. The second isrdi + r9,a large offset past a valid base. Neither address shows up in any earlier run.
New rule-32 errors with no owner (run 3)
The DrawIndexed words decode as floats:
0.0157, -inf, -inf, +inf, +inf. Thatlooks like a freshly reset bounding box, not draw arguments. It suggests a GPU
pass wrote other data where the indirect arguments go, or that the arguments are
read from the wrong buffer.
Suspected cause
Only two commits between
9f73c39and0a4f361change behaviour:9c21137) changes the typed and raw-twin view index clamps andreserves a null slot per binding. It applies on every host, so it's my main
suspect.
733f8e0) adds wave64 lane pairing. It's described as targeting32-lane hosts and leaving the default host unchanged, but it also bumped
TRANSLATOR_VERSION.Not bisected yet. Next step: run
733f8e0(#180 without #206).Unrelated noise
The 10
pipeline … lane branches stayed per lanerule-32 errors at startup alsoappear in the runs that worked, so they aren't related.
Attachments
One zip per run listed above (
crash1-0a4f361.zip,crash2-0a4f361.zip,crash3-0a4f361.zip,good-9f73c39.zip). Each holds that run'slog.txt,vk.log,loud.txtandbuild.txt, with terminal colour codes removed.crash1-0a4f361.zip
crash2-0a4f361.zip
crash3-0a4f361.zip
good-9f73c39.zip