Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #119965 to release/10.0

/cc @steveisok @max-charlamb

Customer Impact

  • Customer reported
  • Found internally

When debugging a mini dump w/o a heap, we fail to properly stackwalk and return with zero frames. The fix updates EnumMemoryRegions to account for uninstrumented bounds and adds padding to end of enumerated DebugInfo stream. The latter change accounts for the nibblereader reading in data in platform pointer sized increments. Previously, if the debuginfo was not aligned the last read would end up partially failing.

Regression

  • Yes
  • No

Introduced by #116031 sometime around P5.

Testing

Manual testing of a minidump

Risk

Low

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

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.

@steveisok steveisok changed the title [release/10.0] properly enumerate uninstrumented bounds [release/10.0] Properly enumerate uninstrumented bounds when stackwalking in minidump w/o heap Sep 24, 2025
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 added the Servicing-consider Issue for next servicing release review label Sep 25, 2025
@steveisok steveisok added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 30, 2025
@steveisok steveisok merged commit 9c2d0e1 into release/10.0 Sep 30, 2025
106 of 111 checks passed
@steveisok steveisok deleted the backport/pr-119965-to-release/10.0 branch September 30, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants