Bug 242912

Summary: REGRESSION (iOS 16 beta) WASM crash
Product: WebKit Reporter: Brendan Duncan <brendanduncan>
Component: WebAssemblyAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Blocker CC: alonzakai, carlo, dino, justin_michaud, kbr, ysuzuki
Priority: P1    
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Other   
Bug Depends on: 237180    
Bug Blocks:    
Attachments:
Description Flags
Unity project build triggering WASM crash on iOS 16 none

Description Brendan Duncan 2022-07-19 11:56:38 PDT
Created attachment 461016 [details]
Unity project build triggering WASM crash on iOS 16

Testing Unity WebGL builds on iOS 16 beta, all projects above a certain WASM size crash on load. I can make a small project that runs correctly, and add a small amount to the project to trigger the crash. So it does not appear to be WebGL / ANGLE related, but specifically WASM related. It resembles the WASM crash from 15.4 (https://bugs.webkit.org/show_bug.cgi?id=237180), but it's not the same since the work-arounds we used for that issue did not work here.

This is a critical ship-stopper issue for Unity, we do not want to be in the situation we were in with iOS 15.4 shipping with the critical failure.

I attached a minimal Unity project build that triggers the crash.

I tested MacOS Safari Tech Preview 16 and it does not have the crash, so it seems specific to iOS Webkit.
Comment 1 Kenneth Russell 2022-07-19 21:47:07 PDT
Justin or anyone who worked on Bug 237180 - would it be possible for you to triage this? This sounds like a recent regression and it'll break Unity's content exported to the mobile web. Thanks.
Comment 2 Yusuke Suzuki 2022-07-19 22:30:28 PDT
This is very likely the same to bug 242294
Comment 3 Yusuke Suzuki 2022-07-19 23:52:25 PDT
OK, ensured that this is dupe of bug 242294. Thank you for your report!

*** This bug has been marked as a duplicate of bug 242294 ***
Comment 4 Brendan Duncan 2022-07-20 00:16:38 PDT
That's great, thanks!