Skip to content

Comments

[cDAC] UEWatsonBucketTrackerBuckets is not available on non-windows platforms#124657

Merged
max-charlamb merged 1 commit intodotnet:mainfrom
max-charlamb:cdac-xplat-fix
Feb 20, 2026
Merged

[cDAC] UEWatsonBucketTrackerBuckets is not available on non-windows platforms#124657
max-charlamb merged 1 commit intodotnet:mainfrom
max-charlamb:cdac-xplat-fix

Conversation

@max-charlamb
Copy link
Member

Found as part of creating cDAC dump test framework

The UEWatsonBucketTrackerBuckets datadescriptor is only expected on windows platforms.

@dotnet-policy-service
Copy link
Contributor

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a platform compatibility issue in the cDAC framework where UEWatsonBucketTrackerBuckets is only available on Windows platforms. The change prevents crashes when reading thread data on non-Windows platforms by using conditional field access.

Changes:

  • Modified Thread data reader to use TryGetValue pattern for UEWatsonBucketTrackerBuckets field, matching the existing pattern used for the TEB field

@max-charlamb max-charlamb merged commit c802860 into dotnet:main Feb 20, 2026
54 of 56 checks passed
@max-charlamb max-charlamb deleted the cdac-xplat-fix branch February 20, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants