Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0] Properly handle debugger-enumerating interior pointers and enregistered refs #92360

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 20, 2023

Backport of #92313 to release/8.0

/cc @hoyosjs @leculver

Customer Impact

Due to a rewrite of enumeration logic, users of ICorDebug will see long standing bugs surface more often than before. Now, users would get silently incomplete heap reports as the walks are halted eagerly on errors.

Testing

Manual testing of simple scenarios. Waiting on results from more thorough testing.

Risk

Low - debugger enumeration only scenarios. Lock usage may raise the risk, but it's a reliability issue that reflect on an assert when running canonical debugger scenarios.

@ghost
Copy link

ghost commented Sep 20, 2023

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

Issue Details

Backport of #92313 to release/8.0

/cc @hoyosjs @leculver

Customer Impact

Testing

Risk

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.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-Diagnostics-coreclr

Milestone: -

@hoyosjs hoyosjs changed the base branch from release/8.0 to release/8.0-rc2 September 20, 2023 18:06
@leculver
Copy link
Contributor

leculver commented Sep 20, 2023

The change to rsclass.cpp with RSLockHolder lockHolder(GetProcess()->GetProcessLock()); is a bit risky for .Net 8-rc, but I leave it up to Juan to manage the risk there.

It seems like the right change long term for .Net 9 though.

@gregg-miskelly @asundheim

@hoyosjs hoyosjs changed the title [release/8.0] ICorDebug: Properly handle interior pointers [release/8.0] Properly handle enumerating interior pointers and enregistered refs Sep 20, 2023
@hoyosjs hoyosjs changed the title [release/8.0] Properly handle enumerating interior pointers and enregistered refs [release/8.0] Properly handle debugger-enumerating interior pointers and enregistered refs Sep 20, 2023
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. we will take for consideration in RC2

@hoyosjs hoyosjs added Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 20, 2023
@hoyosjs hoyosjs force-pushed the backport/pr-92313-to-release/8.0 branch from aa578e3 to 1ac5733 Compare September 21, 2023 02:00
@carlossanlop carlossanlop merged commit 1757497 into release/8.0-rc2 Sep 21, 2023
109 checks passed
@carlossanlop carlossanlop deleted the backport/pr-92313-to-release/8.0 branch September 21, 2023 09:25
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 21, 2023
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