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

Audit + investigate use of withCheckedContinuation and withCheckedThrowingContinuation #23621

Open
data-sync-user opened this issue Dec 6, 2024 · 2 comments
Assignees

Comments

@data-sync-user
Copy link
Collaborator

data-sync-user commented Dec 6, 2024

Related to 12/5/24 incident.

We should audit our use of withCheckedContinuation in Firefox iOS. We have some Sentry crashes which may be related, example: https://mozilla.sentry.io/issues/6115735470/?environment=Production&environment=production&project=6176941&query=is%3Aunresolved withCheckedContinuation&referrer=issue-stream&statsPeriod=7d&stream_index=0

These crashes only appear to impact iOS 18.x users so far.

For additional context also please see onboarding crash incident doc: https://docs.google.com/document/d/1DL5vMCO-g9z0ezoVfbm4WSd2p-6dMpybwUXjGmWXF3k/edit?tab=t.0

Related PRs:

Related Tickets:

┆Issue is synchronized with this Jira Task

@data-sync-user
Copy link
Collaborator Author

➤ Isabella commented:

This is a very strange bug that makes me think there’s something wrong on Apple’s side that suddenly our code is not working for iOS 18 users. The crashes are only on iOS18 devices.

FYI we’re not the only people running into issues with iOS18 global with* methods:

Some people worked around an earlier similar issue by changing to use unsafe version (e.g. withUnsafeContinuation)

Reference: swiftlang/swift#76218 (comment) ( https://github.com/swiftlang/swift/pull/76218#issuecomment-2375423832|smart-link )

@data-sync-user
Copy link
Collaborator Author

➤ Isabella commented:

QA Test Notes:

A few fixes lumped under this ticket. Please test for regressions in the following areas:

@data-sync-user data-sync-user changed the title Audit + investigate use of withCheckedContinuation Audit + investigate use of withCheckedContinuation and withCheckedThrowingContinuation Dec 18, 2024
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

No branches or pull requests

2 participants