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

[release/7.0] [mono][ppc64le] Fix wrong implementation of OP_CHECK_THIS #77269

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 20, 2022

Backport of #76990 to release/7.0

/cc @lambdageek @Sapana-Khemkar

Customer Impact

Fixes a crash for customers running .NET on the PowerPC architecture in code that calls CoreLib methods that call SpanHelpers.IndexOfValueType.
In OP_CHECK_THIS access single byte only instead of double word.
This fixes crashes observed in runtime-portable/runtime during source build with rc1 on ppc64le. All these crashes were segmentation faults in SpanHelpers.IndexOfValueType.

Similar issue has been observed on s390 platform as well. Issue was opened https://github.com/dotnet/runtime/issues/76915and fixed by #76916

Testing

Manual testing

Risk

Low. The change is in the PPC-specific part of the mono JIT, and does not affect mobile, WASM or CoreCLR platforms.

@github-actions github-actions bot requested a review from vargaz as a code owner October 20, 2022 14:32
@lambdageek lambdageek added this to the 7.0.x milestone Oct 20, 2022
@lambdageek lambdageek added the Servicing-consider Issue for next servicing release review label Oct 20, 2022
@lambdageek lambdageek self-assigned this Oct 20, 2022
@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 20, 2022
@rbhanda rbhanda modified the milestones: 7.0.x, 7.0.1 Oct 20, 2022
@carlossanlop
Copy link
Member

CI failure is coming from WASM and unrelated, and has just been fixed, so no re-run needed: #76939

Approved by Tactics, signed off by area owner. Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 8d4ac19 into release/7.0 Nov 2, 2022
@carlossanlop carlossanlop deleted the backport/pr-76990-to-release/7.0 branch November 2, 2022 22:08
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants