Tidy-ups: replay event, timeline after end, VICTORY_WATCH, validator status (port of VIctory-7900XTX #319) #56

Closed
github-bot wants to merge 1 commit from github-bot/gh-56 into main AGit
Owner

@⁠illuminatedfellow on GitHub · 2026-11-27 15:06 UTC · original
illuminatedfellow:port-tidy → main · +28 −3 · 4 files · 1 commits · closed without merging

Port of avatarmanz/VIctory-7900XTX#319 (its issue #227). Four small fixes:

  • Replay: a Worker closes its fence event when dropped (one handle leaked per 256 MiB upload batch in diagnostics builds).
  • Timeline: put_of and stack write nothing once recording has ended, so events that straddle end() no longer land in the next recording.
  • VICTORY_WATCH: rva + 4 is checked, as VICTORY_CRASH_SAVE's ranges are. A huge RVA in the list wrapped around instead of being dropped.
  • Validator: a failed GetStatus is an error, not a pass, and an error blob with a null pointer reads as empty instead of building a slice from null.

The watch.rs change from the original is left out: here open() takes &mut Guards, so that call is already right.

All four hunks apply unchanged to this fork. These files build only on Windows, so this was checked by reading, not by a build here.

**@⁠illuminatedfellow** on GitHub · 2026-11-27 15:06 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/56) `illuminatedfellow:port-tidy` → `main` · +28 −3 · 4 files · 1 commits · closed without merging Port of avatarmanz/VIctory-7900XTX#319 (its issue #227). Four small fixes: - **Replay:** a `Worker` closes its fence event when dropped (one handle leaked per 256 MiB upload batch in diagnostics builds). - **Timeline:** `put_of` and `stack` write nothing once recording has ended, so events that straddle `end()` no longer land in the next recording. - **VICTORY_WATCH:** `rva + 4` is checked, as VICTORY_CRASH_SAVE's ranges are. A huge RVA in the list wrapped around instead of being dropped. - **Validator:** a failed `GetStatus` is an error, not a pass, and an error blob with a null pointer reads as empty instead of building a slice from null. The `watch.rs` change from the original is left out: here `open()` takes `&mut Guards`, so that call is already right. All four hunks apply unchanged to this fork. These files build only on Windows, so this was checked by reading, not by a build here.
- Replay: a Worker closes its fence event when dropped (one leaked per
  256 MiB upload batch in diagnostics builds).
- Timeline: put_of and stack write nothing once recording has ended, so
  events that straddle end() no longer land in the next recording.
- VICTORY_WATCH: rva + 4 is checked, as VICTORY_CRASH_SAVE's ranges are
  (a huge RVA in the list wrapped instead of being dropped).
- Validator: a failed GetStatus is an error, not a pass, and an error blob
  with a null pointer reads as empty instead of building a slice from null.

Port of avatarmanz/VIctory-7900XTX#319 (its issue #227).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 15:08:46 +00:00
github-bot closed this pull request 2026-11-28 02:54:13 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-28 02:48 UTC · original

Merged into main (8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

**@⁠trustno1-coder** on GitHub · 2026-11-28 02:48 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/56#issuecomment-7232610491) Merged into main (8fc2254) and shipped in [v2026.11.27.10](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.10). The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.