Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 6, 2026

Backport of #122902 to release/10.0

/cc @AndyAyersMS

Customer Impact

  • Customer reported
  • Found internally

Customer reported in #122879

Silent bad code in some cases involving calls to SpanHelpers.Fill where the fill value is a GC ref coming from a locally allocated object.

Regression

  • Yes
  • No

This is a bug in a new optimization in .NET 10.

Testing

Verified fix on customer reported case; also added this as regression test. Bug was an oversight; the first argument to SpanHelpers.Fill does not escape, but the other two might. The JIT was assuming none of the arguments escaped.

Risk

Low, we now disable stack allocation in this case.

@JulieLeeMSFT JulieLeeMSFT added the Servicing-consider Issue for next servicing release review label Jan 6, 2026
@AndyAyersMS
Copy link
Member

For the arm64 failure, looks like we should port #120291 to the 10.0 branch.

For OSX, "error : Helix queue osx.13.arm64.open was set for estimated removal date of 2026-01-01". So maybe we need to update the queues we use here?

@AndyAyersMS
Copy link
Member

/ba-g installer tests using deprecated OSX queue, arm64 tests using outdated harness

@rbhanda rbhanda added this to the 10.0.3 milestone Jan 8, 2026
@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jan 8, 2026
@jeffhandley jeffhandley merged commit b50a77a into release/10.0 Jan 8, 2026
106 of 112 checks passed
@jeffhandley jeffhandley deleted the backport/pr-122902-to-release/10.0 branch January 8, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants