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

[NativeAOT/x86] Fix null check in RhpLockCmpXchg64 #99934

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

filipnavara
Copy link
Member

The AV is processed with UnwindSimpleHelperToCaller which expects no temporary variables on the stack. We could either special case it there or do an explicit null check. ARM also does the explicit null check so align with that.

Fixes crash in System.Threading library tests.

Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 18, 2024
@jkotas jkotas merged commit c27c66d into dotnet:main Mar 19, 2024
84 of 90 checks passed
@filipnavara filipnavara deleted the win-x86-RhpLockCmpXchg64-null branch March 19, 2024 03:51
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x86 area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants