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/8.0-staging] [mono][jit] Fix passing of byref arguments in m… #97850

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Feb 2, 2024

Backport of #97721 to release/8.0-staging

Customer Impact

  • Customer reported
  • Found internally

A customer reported an issue where they were calling Sum or Average on a List type of ~20K items resulting in a crash with an unclear stacktrace. After triaging, we noticed the runtime was not properly dereferencing byref values. We went in and fixed the glitch.

Regression

  • Yes
  • No

Testing

Regression test added on CI to make sure this usage passes.

Also manually tested .Sum in a foreach and it works as expected.

Risk

Low

@vargaz
Copy link
Contributor Author

vargaz commented Feb 2, 2024

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek
Copy link
Member

@vargaz will you backport the test to 8.0, also?

@lambdageek lambdageek requested review from steveisok and removed request for SamMonoRT February 2, 2024 18:49
@lambdageek lambdageek added the Servicing-consider Issue for next servicing release review label Feb 2, 2024
@lambdageek lambdageek added this to the 8.0.x milestone Feb 2, 2024
@vargaz
Copy link
Contributor Author

vargaz commented Feb 2, 2024

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. we will take for consideration in 8.0.x

@rbhanda rbhanda modified the milestones: 8.0.x, 8.0.3 Feb 8, 2024
@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 8, 2024
@vargaz
Copy link
Contributor Author

vargaz commented Feb 9, 2024

/azp run runtime

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jeffschwMSFT jeffschwMSFT merged commit ef1b0d6 into dotnet:release/8.0-staging Feb 9, 2024
160 checks passed
@vargaz vargaz deleted the backport-97721 branch February 9, 2024 22:17
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-JIT-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants