Skip to content

[release/10.0] Add proper locking in TranslateSigHelper - #120158

Merged
agocke merged 3 commits into
release/10.0from
backport/pr-120143-to-release/10.0
Oct 6, 2025
Merged

agocke merged 3 commits into
release/10.0from
backport/pr-120143-to-release/10.0

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 26, 2025 •

Copy link
Copy Markdown
Contributor

Backport of #120143 to release/10.0

/cc @jkotas @kevingosse

Customer Impact

  • Customer reported
  • Found internally

Missing lock in metadata emitter leads to intermittent crashes when Reflection.Emit is used on multiple threads.

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

Customer provided test that reproduces the failure reliably

Risk

Low. The same lock is taken on other similar path.

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@JulieLeeMSFT JulieLeeMSFT added the Servicing-consider Issue for next servicing release review label Sep 26, 2025
@JulieLeeMSFT JulieLeeMSFT added this to the 10.0.0 milestone Sep 26, 2025
@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 2, 2025
@agocke

agocke commented Oct 6, 2025

Copy link
Copy Markdown
Member

/ba-g All failures are known

@agocke
agocke merged commit c605463 into release/10.0 Oct 6, 2025
102 of 109 checks passed
@jkotas
jkotas deleted the backport/pr-120143-to-release/10.0 branch October 6, 2025 18:41
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-TypeSystem-coreclr Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants