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-rc2] Do not call SignalSession on invalid session IDs #92444

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #92431 to release/8.0-rc2

/cc @davmason

Customer Impact

Since we call EventPipeInternal.SignalSession on each SetStopDispatchTask call, we can end up calling it on a session that is in the middle of freeing. If we catch it at just the right time the session could still be active but with a freed handle for the wait event. We have seen asserts in testing, but it would also be possible to AV in release builds.

Testing

Running the failing test in a loop.

Risk

Low

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.

@ghost
Copy link

ghost commented Sep 21, 2023

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

Issue Details

Backport of #92431 to release/8.0-rc2

/cc @davmason

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-System.Diagnostics.Tracing

Milestone: -

@davmason davmason requested review from lateralusX, tommcdon and a team September 21, 2023 23:56
@davmason davmason requested a review from a team September 22, 2023 00:04
@davmason davmason self-assigned this Sep 22, 2023
@davmason davmason added this to the 9.0.0 milestone Sep 22, 2023
@carlossanlop
Copy link
Member

@tommcdon @davmason please send an email to Tactics requesting approval.

@carlossanlop carlossanlop modified the milestones: 9.0.0, 8.0.0 Sep 22, 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

@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Sep 22, 2023
@carlossanlop
Copy link
Member

@davmason @tommcdon please send an email to Tactics requesting approval. Today EOD is the deadline to merge RC2 backports.

@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 22, 2023
@carlossanlop
Copy link
Member

Approved by Tactics via email.
Test failure is a timeout.

@carlossanlop carlossanlop merged commit 873b3cc into release/8.0-rc2 Sep 22, 2023
170 of 175 checks passed
@carlossanlop carlossanlop deleted the backport/pr-92431-to-release/8.0-rc2 branch September 22, 2023 17:16
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 22, 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.

4 participants