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

Sleep infinitely on secondary crashing threads #72618

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jul 21, 2022

Sleeping infinitely instead of continuing should be better for crash reporting reliability.

Also, change the crashing thread detection to use thread ID instead of Thread*. It is fixing bogus "Fatal error while logging another fatal error." message when the crash occurs without Thread* being setup.

@jkotas jkotas requested a review from trylek July 21, 2022 15:36
@ghost ghost assigned jkotas Jul 21, 2022
@jkotas jkotas requested review from mangod9 and noahfalk July 21, 2022 15:36
@jkotas jkotas force-pushed the failfast-sleep branch 2 times, most recently from 6a645de to 8743905 Compare July 21, 2022 15:43
@jkotas jkotas changed the title Sleep infinititely on secondary crashing threads Sleep infinitively on secondary crashing threads Jul 21, 2022
Sleeping infinitely instead of continuing should be better for crash reporting reliability.

Also, change the crashing thread detection to use thread ID instead of Thread*. It is fixing bogus "Fatal error while logging another fatal error." message when the crash occurs without Thread* being setup.
@jkotas jkotas changed the title Sleep infinitively on secondary crashing threads Sleep infinitely on secondary crashing threads Jul 21, 2022
Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@jkotas
Copy link
Member Author

jkotas commented Jul 21, 2022

Failures are known issues:
#70969
#72585

@jkotas jkotas merged commit 5b8d9eb into dotnet:main Jul 21, 2022
@jkotas jkotas deleted the failfast-sleep branch July 21, 2022 18:20
@ghost ghost locked as resolved and limited conversation to collaborators Aug 20, 2022
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.

4 participants