Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 9, 2025

Backport of #119396 to release/10.0

/cc @max-charlamb

Customer Impact

  • Customer reported
  • Found internally

Found while working on #119324. Improper dereferencing of a DAC variable leads to GetHeapAnalyzeStaticData returning garbage data. This impacts CLRMD and SOS. In particular the SOS !findroots command is broken without this fix on workstation mode GC.

Regression

  • Yes
  • No

Unknown when introduced.

Testing

Fix was verified by adding a test to the SOS test suite in the diagnostics repo dotnet/diagnostics#5562.

Successful test run with fix: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1143226&view=results

Risk

Low. This change does not modify the runtime, only the DAC build.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

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. please get a code review. we can merge when ready

@jeffschwMSFT jeffschwMSFT added Servicing-approved Approved for servicing release area-Diagnostics-coreclr and removed Servicing-consider Issue for next servicing release review labels Sep 14, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@steveisok steveisok enabled auto-merge (squash) September 15, 2025 14:08
@agocke agocke disabled auto-merge September 22, 2025 23:00
@agocke agocke merged commit b5331b4 into release/10.0 Sep 22, 2025
103 of 105 checks passed
@agocke agocke deleted the backport/pr-119396-to-release/10.0 branch September 22, 2025 23:00
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants