native: note_written reads descriptor tables with plain loads on every dispatch #449
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#449
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?
@lautarocherro on GitHub · 2026-11-27 19:48 UTC · original
Since
95627c66,NativeHost::note_writtenruns for every dispatch the native host prepares, with or without copy-back. It reads each record of the bound resource tables throughdescriptor::view, a plainread_unalignedof title memory.remirror_tablesandresources_namedread the same spans withsafe_read, because part of a span can be unreadable. When it is,note_writtenfaults the process instead of skipping those entries.Plan: read the span with
safe_read(entry by entry if that fails, asremirror_tablesdoes) and look the views up from those records with one lock per table. Test: a dispatch whose bound table runs into an unreadable page.@lautarocherro on GitHub · 2026-11-27 19:48 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 19:48 UTC · original
Claimed by @lautarocherro. Open a draft pull request with
Refs #445in its description within 24 hours, or the claim expires.@LakshanSivakumar on GitHub · 2026-11-28 00:36 UTC · original
Thank you for this. It is fixed on main by #451. I have not checked every case from this report in the game myself, so please retest on main
a6a58361and reopen this if you still see it. Closing as fixed.