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

AGAIN, intentionally leak our App, so that we DON'T crash on exit #15451

Merged
merged 1 commit into from
May 26, 2023

Conversation

zadjii-msft
Copy link
Member

@zadjii-msft zadjii-msft commented May 26, 2023

This is a resurrection of #5629. As it so happens, this crash-on-exit was not specific to my laptop. It's a bug in the XAML platform somewhere, only on Windows 10.

In #14843, we moved this leak into becomeMonarch. Turns out, we don't just need this leak for the monarch process, but for all of them.

It's not a real "leak", because ultimately, our App lives for the entire lifetime of our process, and then gets cleaned up when we do. But dtoring the App - that's apparently a no-no.

Was originally in #15424, but I'm pulling it out for a super-hotfix release.

Closes #15410

MSFT:35761869 looks like it was closed as no repro many moons ago. This should close out our hits there (firmly 40% of the crashes we've gotten on 1.18)

@microsoft-github-policy-service microsoft-github-policy-service bot added the Issue-Bug It either shouldn't be doing this or needs an investigation. label May 26, 2023
@zadjii-msft zadjii-msft requested review from lhecker and DHowett May 26, 2023 10:21
Copy link
Member

@lhecker lhecker left a comment

Choose a reason for hiding this comment

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

edgy meme kermit noose

@DHowett DHowett merged commit aa8ed8c into main May 26, 2023
@DHowett DHowett deleted the dev/migrie/b/15410-yikes-it-wasnt-just-my-laptop branch May 26, 2023 18:09
DHowett pushed a commit that referenced this pull request May 26, 2023
…5451)

This is a resurrection of #5629. As it so happens, this crash-on-exit
was _not_ specific to my laptop. It's a bug in the XAML platform
somewhere, only on Windows 10.

In #14843, we moved this leak into `becomeMonarch`. Turns out, we don't
just need this leak for the monarch process, but for all of them.

It's not a real "leak", because ultimately, our `App` lives for the
entire lifetime of our process, and then gets cleaned up when we do. But
`dtor`ing the `App` - that's apparently a no-no.

Was originally in #15424, but I'm pulling it out for a super-hotfix
release.

Closes #15410

MSFT:35761869 looks like it was closed as no repro many moons ago. This
should close out our hits there (firmly **40% of the crashes we've
gotten on 1.18**)

(cherry picked from commit aa8ed8c)
Service-Card-Id: 89332890
Service-Version: 1.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
Development

Successfully merging this pull request may close these issues.

Additional instances of WT crash on exit
3 participants