Skip to content

Conversation

@janvorli
Copy link
Member

When multiple threads crash with hardware unhandled exceptions at the same time, the fact that we were uninstalling async signal handlers at process exit caused crashes when some thread reached the signal handler after .NET handler was removed.

This change fixes it by not restoring the signal handlers during process exit. It actually stops restoring any signal handlers except for SIGABRT that has to be restored to actually enable the process exit with abort().

Close #46175

When multiple threads crash with hardware unhandled exceptions at the
same time, the fact that we were uninstalling async signal handlers
at process exit caused crashes when some thread reached the signal
handler after .NET handler was removed.

This change fixes it by not restoring the signal handlers during
process exit. It actually stops restoring any signal handlers except
for SIGABRT that has to be restored to actually enable the process
exit with abort().

Close dotnet#46175
@janvorli
Copy link
Member Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkotas
Copy link
Member

jkotas commented Jul 27, 2024

Known failures (#105441)

@jkotas jkotas merged commit 4c3edd5 into dotnet:main Jul 27, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2024
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.

baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester fails on Linux

2 participants