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

Patch libunwind to hotfix validation pipe creation race #97817

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

janvorli
Copy link
Member

@janvorli janvorli commented Feb 1, 2024

A change in libunwind 1.8.0 (libunwind/libunwind#536) has introduced a race in one of its commits
(libunwind/libunwind@ec03043) This race causes relatively rare unwind failures when multiple
threads race for an initialization of a pipe that is used to verify that a memory address is accessible.

This change reverts the change in the affected file. Once a proper fix is made in the libunwind, this
patch would be reverted and the real fix applied.

This issue is currently blocking source build and the new exception handling enabling by default.

Copy link
Member

@am11 am11 left a comment

Choose a reason for hiding this comment

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

Thank you! 👍

A change in libunwind 1.8.0
libunwind/libunwind#536 has introduced a race in
one of its commits
(libunwind/libunwind@ec03043)
This race causes relatively rare unwind failures when multiple threads race
for an initialization of a pipe that is used to verify that a memory address is
accessible.

This change reverts the change in the affected file. Once a proper fix
is made in the libunwind, this patch would be reverted and the real fix
applied.

This issue is currently blocking source build and the new exception
handling enabling by default.
@janvorli
Copy link
Member Author

janvorli commented Feb 1, 2024

@AaronRobinsonMSFT could you please approve this PR?

@janvorli janvorli merged commit 5e2e45b into dotnet:main Feb 2, 2024
178 of 180 checks passed
@janvorli janvorli deleted the patch-libunwind-to-fix-pipe-race branch February 2, 2024 00:35
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 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.

3 participants