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
Debug the test_signal::test_sigsuspend()
test failure in macOS CI
#2336
Comments
I cannot reproduce this on my m1 mac: $ uname -a
Darwin Steves-MacBook-Air.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 arm64 Have no idea why that bool value has not been updated (by the signal handler) to
The macOS manual does not mention this. |
It also failed here: https://github.com/nix-rust/nix/actions/runs/8700433252/job/23860623409?pr=2374 on #2374 I think this test is ok, but sigprocmask races with ALL tests using thread signal masks, as on OSX, sigprocmask sets the mask of all threads. if we don't want to serialize everythhing, we could add a RWLock (writer: sigprocmask, reader: all the tests that use thread masks) EDIT: but this should trigger the
|
maybe #2375 fixes it, but without a reliable way to reproduce it, its hard to tell |
CI log: https://github.com/nix-rust/nix/actions/runs/8306056722/job/22733675051
I can probably do this when I receive my macOS machine.
The text was updated successfully, but these errors were encountered: