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

fix(signals) Fix MacOS signal handling, especialy for M1 machines (fo… #2560

Merged
merged 3 commits into from
Sep 8, 2021

Conversation

ptitSeb
Copy link
Contributor

@ptitSeb ptitSeb commented Sep 8, 2021

…r #2553)

Description

Fixed signal handling on macOS. need to use siglongjmp when restauring context after the signal is processed (with signal mask handling)
This fix the crash of some of the tests on m1 macs

@syrusakbary
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Sep 8, 2021
2560: fix(signals) Fix MacOS signal handling, especialy for M1 machines (fo… r=syrusakbary a=ptitSeb

…r #2553)

# Description
Fixed signal handling on macOS. need to use `siglongjmp` when restauring context after the signal is processed (with signal mask handling)
This fix the crash of some of the tests on m1 macs

Co-authored-by: ptitSeb <[email protected]>
Co-authored-by: Syrus Akbary <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 8, 2021

Build failed:

@ptitSeb
Copy link
Contributor Author

ptitSeb commented Sep 8, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 8, 2021

@bors bors bot merged commit f0542c1 into master Sep 8, 2021
@bors bors bot deleted the fix-m1_signals branch September 8, 2021 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants