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 stack overflow createdump triggering on Windows #40869

Merged
1 commit merged into from
Aug 15, 2020

Conversation

mikem8361
Copy link
Member

Stack overflow on background or on a task (via Task.Run) didn't trigger createdump because it crashed in the CreateProcess attempting to launch it.

This fix does the createdump launch in the stack overflow thread that gets created for logging. Also made sure only one dump is generated for the process.

@ghost
Copy link

ghost commented Aug 15, 2020

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

@mikem8361 mikem8361 requested a review from hoyosjs August 15, 2020 00:19
Copy link
Member

@janvorli janvorli 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!

@ghost
Copy link

ghost commented Aug 15, 2020

Hello @hoyosjs!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@danmoseley
Copy link
Member

Unix works fine in this scenario?

@mikem8361
Copy link
Member Author

mikem8361 commented Aug 15, 2020 via email

@ghost ghost merged commit 1d6fc68 into dotnet:master Aug 15, 2020
@mikem8361 mikem8361 deleted the fixstackover branch August 17, 2020 03:00
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
This pull request was closed.
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.

5 participants