Skip to content

Conversation

@github-actions
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
@ghost ghost added the area-VM-meta-mono label Oct 20, 2022
@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
Contributor

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.

6 participants