hle(host_posix): VICTORY_TRACE_HANDLES watches a set nothing fills, and does not see SetEvent #634

Closed
opened 2026-11-28 17:06:41 +00:00 by github-bot · 3 comments
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 17:01 UTC · original

The switch logged the handles a title makes (and a semaphore's creation), and then never logged a release: watched() only printed for the single handle in VICTORY_WATCH_HANDLE or for a WATCHED set that nothing ever inserts into. SetEvent did not call watched at all, so the events a title's workers wait on — the ones a stuck run never gets — were invisible.

Seen while chasing a title that spins in a retry loop with fifteen workers idle in WaitForSingleObject: the whole run said fourteen lines, and could not say whether any event was set.

**@⁠AnastasisKon** on GitHub · 2026-11-28 17:01 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/630) The switch logged the handles a title makes (and a semaphore's creation), and then never logged a release: `watched()` only printed for the single handle in `VICTORY_WATCH_HANDLE` or for a `WATCHED` set that nothing ever inserts into. `SetEvent` did not call `watched` at all, so the events a title's workers wait on — the ones a stuck run never gets — were invisible. Seen while chasing a title that spins in a retry loop with fifteen workers idle in `WaitForSingleObject`: the whole run said fourteen lines, and could not say whether any event was set.
github-bot 2026-11-28 17:06:41 +00:00
  • closed this issue
  • added the
    claimed
    label
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 17:06:41 +00:00
Author
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 17:01 UTC · original

/claim

**@⁠AnastasisKon** on GitHub · 2026-11-28 17:01 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/630#issuecomment-7242700557) /claim
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 17:02 UTC · original

Claimed by @⁠AnastasisKon. Open a draft pull request with Refs #630 in its description within 24 hours, or the claim expires.

**@⁠github-actions[bot]** on GitHub · 2026-11-28 17:02 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/630#issuecomment-7242702962) Claimed by @⁠AnastasisKon. Open a draft pull request with `Refs #630` in its description within 24 hours, or the claim expires.
Author
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 17:02 UTC · original

Merged in #56.

**@⁠AnastasisKon** on GitHub · 2026-11-28 17:02 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/630#issuecomment-7242705082) Merged in #56.
This discussion has been locked. Commenting is limited to contributors.
No description provided.