Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround ExceptionFlags change in NT #2265

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

CaseyCarter
Copy link
Member

...by allowing flags other than EXCEPTION_NONCONTINUABLE to be set by RaiseException. This should unblock CI on the new Server 2022 VMs, for which RaiseException sets a new flag indicating that the exception originated in software. (This also reproduces locally for me on Windows 11.)

This mirrors the STL changes from the internal MSVC-PR-356899.

(Tagging this as high priority since we already merged the internal PR to unblock CI.)

...by allowing flags other than `EXCEPTION_NONCONTINUABLE` to be set by `RaiseException`. This should unblock CI on the new Server 2022 VMs, for which `RaiseException` sets a new flag indicating that the exception originated in software. (This also reproduces locally for me on Windows 11.)

This mirrors the STL changes from the internal MSVC-PR-356899.
@CaseyCarter CaseyCarter added bug Something isn't working high priority Important! labels Oct 8, 2021
@CaseyCarter CaseyCarter requested a review from a team as a code owner October 8, 2021 20:47
@StephanTLavavej StephanTLavavej added test Related to test code and removed bug Something isn't working labels Oct 8, 2021
@StephanTLavavej
Copy link
Member

Relabeling as test, since product code is unaffected.

@CaseyCarter CaseyCarter merged commit 48ac24c into microsoft:main Oct 8, 2021
@CaseyCarter CaseyCarter deleted the exceptions branch October 8, 2021 22:23
@CaseyCarter
Copy link
Member Author

Merging without Changelog, since (1) this is fairly obscure, and (2) we haven't had contributors on Windows 11 complain about these tests failing.

@CaseyCarter
Copy link
Member Author

Almost forgot the bad pun!

Thank you for this exceptional contribution!

RSilicon pushed a commit to RSilicon/STL that referenced this pull request Nov 4, 2021
...by allowing flags other than `EXCEPTION_NONCONTINUABLE` to be set by `RaiseException`. This should unblock CI on the new Server 2022 VMs, for which `RaiseException` sets a new flag indicating that the exception originated in software. (This also reproduces locally for me on Windows 11.)

This mirrors the STL changes from the internal MSVC-PR-356899.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority Important! test Related to test code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
  翻译: