-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
EventPipe sessions can leak the EventPipeThreadSessionState* associated with them #76430
Comments
Sample app that will hit this reliably:
|
Fixed in main and 6.0, closing |
ghost
locked as resolved and limited conversation to collaborators
Dec 30, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
As reported by a partner team, we have a latent bug in EventPipe where the session can leak the associated thread session state. The EventPipeThreadSessionStates are freed when the buffer for that thread is exhausted, so if a buffer is never created the state is never freed.
The sequence of events:
The text was updated successfully, but these errors were encountered: