Skip to content

Allow 0xDEAD exitcode on windows guard page tests#1515

Merged
ludfjig merged 1 commit into
hyperlight-dev:mainfrom
ludfjig:fix_guardpage_dead_exitcode
Jun 5, 2026
Merged

Allow 0xDEAD exitcode on windows guard page tests#1515
ludfjig merged 1 commit into
hyperlight-dev:mainfrom
ludfjig:fix_guardpage_dead_exitcode

Conversation

@ludfjig
Copy link
Copy Markdown
Contributor

@ludfjig ludfjig commented Jun 5, 2026

Closes #1507

Copilot AI review requested due to automatic review settings June 5, 2026 16:47
@ludfjig ludfjig added the kind/bugfix For PRs that fix bugs label Jun 5, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the Windows guard page subprocess test more tolerant of an intermittent CI-specific termination code (0xDEAD / 57005), treating it as an acceptable alternative to STATUS_ACCESS_VIOLATION when verifying that guard pages still trap as expected.

Changes:

  • On Windows, accept exit code 0xDEAD in addition to STATUS_ACCESS_VIOLATION when determining whether the guard-page subprocess died due to the expected fault.
  • Add inline commentary linking the behavior to issue #1507 for traceability.

Comment thread src/hyperlight_host/src/mem/shared_mem.rs Outdated
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig force-pushed the fix_guardpage_dead_exitcode branch from 77cb15f to 413dd62 Compare June 5, 2026 16:59
@ludfjig ludfjig merged commit 3ab9f3d into hyperlight-dev:main Jun 5, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bugfix For PRs that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Guard test fails on windows CI

3 participants