-
-
Notifications
You must be signed in to change notification settings - Fork 987
Skip wasm-gc on iOS Safari where it's borked #5445
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
Conversation
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
6324ebd to
3432a3b
Compare
agriyakhetarpal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cpython/patches/0009-Skip-wasm-gc-on-iOS-Safari-where-it-s-broken.patch
Outdated
Show resolved
Hide resolved
|
We will need to update the patch here once @freakboy3742's upstream review is addressed. |
e586391 to
cb7e0de
Compare
|
Okay merging since upstream pr was merged. Thanks @freakboy3742 and @ambv! |
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418. macOS Safari 18.3 does not surface the issue. Confirmed on device that disabling this restores interpreter function. Resolves pyodide#5428.
| -addOnPreRun(() => { | ||
| + | ||
| +function getPyEMCountArgsPtr() { | ||
| + let isIOS = globalThis.navigator && /iPad|iPhone|iPod/.test(navigator.platform); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ouch ... was this really an iOS only thing? I understand the ugly workaround but I wonder how comes iOS would branch that much from iPad and I had a honest little laugh at reading iPod in there 😁 (nostalgic personal hysterical laugh I believe)
This also won't play well at all once they fix their issue ... UA sniffing demands maintenance, which is why is usually, and rightly so, discouraged (sometimes inevitable though).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So - it's been reported on iOS 18.3.1; iPads running it (or... in theory, iPods, but I don't know if there's any actually still supported that could run iPod) should also be affected, but I can't say I've tried personally.
And I completely agree that UA sniffing isn't an ideal solution - but the perfect is the enemy of the good until we're able to determine a better underlying fix based on sniffing specific behavior. At this point, all we know is "iOS 18.3.1(+?) bad", and we have a fallback.
As of iOS 18.3.1, enabling wasm-gc is making the interpreter fail to load. Upstream pull request: python/cpython#130418.
macOS Safari 18.3 does not surface the issue.
Confirmed on device that disabling this restores interpreter function.
Resolves #5428.