-
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
Concurrent exceptions might cause createdump to fail #82989
Comments
Tagging subscribers to this area: @tommcdon Issue DetailsDiscovered while reviewing #82449. If there's a flurry of exceptions we may get many threads here:
The problem is if two threads get to this state, both launch createdump and one is able to ptrace, the other one fails and potentially takes down the process before createdump gets to freeze threads.
|
Only allow one thread at a time to generate a core dump. Issue: dotnet#82989
* Serialize createdump core dump generation Only allow one thread at a time to generate a core dump. Issue: #82989 * Code review feedback. Move serializing code into PROCCreateCrashDump * Code review feedback - put while (true) around poll()'s
Discovered while reviewing #82449. If there's a flurry of exceptions we may get many threads here:
The problem is if two threads get to this state, both launch createdump and one is able to ptrace, the other one fails and potentially takes down the process before createdump gets to freeze threads.
The text was updated successfully, but these errors were encountered: