Skip to content

Fix possible crash in _dispatch_wait_for_enqueuer on Android armeabi-v7a #590

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

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

triplef
Copy link
Contributor

@triplef triplef commented Dec 10, 2021

Caused by __builtin_arm_wfe() sometimes causing a SIGILL.

For details please see https://bugs.swift.org/browse/SR-15166.

@finagolfin
Copy link
Member

@etcwilde, would you review?

@rokhinip rokhinip self-requested a review December 10, 2021 21:11
The WFE instruction can sometimes cause a SIGILL on these devices, so we use YIELD instead.

https://bugs.swift.org/browse/SR-15166
@triplef triplef force-pushed the fix-dispatch_wait_for_enqueuer branch from 6ffcc3a to 6f715aa Compare December 22, 2021 12:56
@rokhinip
Copy link
Contributor

@swift-ci please test

@rokhinip rokhinip merged commit 3e7c798 into swiftlang:main Feb 21, 2022
@triplef triplef deleted the fix-dispatch_wait_for_enqueuer branch February 21, 2022 16:08
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.

4 participants