Skip to content

Conversation

@janvorli
Copy link
Member

@janvorli janvorli commented Sep 13, 2021

The pthread_kill can fail with ENOTSUP on macOS when the target thread
is a dispatch queue thread. Instead of aborting the process, it is
better to fail to inject the activation and rely on return address
hijacking and other means of syncing with GC.

Close #58111

The pthread_kill can fail with ENOTSUP on macOS when the target thread
is a dispatch queue thread. Instead of aborting the process, it is
better to fail to inject the activation and rely on return address
hijacking and other means of syncing with GC.
@janvorli janvorli added this to the 6.0.0 milestone Sep 13, 2021
@janvorli janvorli requested a review from jkotas September 13, 2021 17:34
@janvorli janvorli self-assigned this Sep 13, 2021
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@janvorli janvorli merged commit dc678c8 into dotnet:main Sep 14, 2021
@janvorli janvorli deleted the change-osx-pthread-kill-failure-handling branch September 14, 2021 20:00
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
@janvorli
Copy link
Member Author

janvorli commented Jan 4, 2022

/backport to release/6.0

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.

[MacOS] EXC_CRASH (SIGABRT) when GC occurs from within a callback made out of an Dispatch queue: com.apple.root.default-qos thread

2 participants