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

Fix intermittent crash in comhost tests #31762

Merged
merged 1 commit into from
Feb 5, 2020

Conversation

elinor-fung
Copy link
Member

Comhost tests intermittently hit an AV in the nativehost test executable itself when the thread local stringstream used for error redirection was being initialized while the process was exiting. This change moves the thread local such that it won't be initialized until it is needed (the comhost tests aren't actually using the redirection).

Fixes #2320

@elinor-fung elinor-fung merged commit eed80d9 into dotnet:master Feb 5, 2020
@elinor-fung elinor-fung deleted the nativeHostCrash branch February 5, 2020 04:26
@ghost ghost added the will_lock_this label Dec 6, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test flakiness: HostActivation.NativeHosting.Comhost.ActivateClass
2 participants