Bug 181598

Summary: iOS 11.2.2 update breaks WebAssembly
Product: WebKit Reporter: Ashley Gullen <ashley>
Component: WebAssemblyAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Critical CC: fpizlo, jfbastien, keith_miller
Priority: P1    
Version: Safari 11   
Hardware: iPhone / iPad   
OS: iOS 11   

Description Ashley Gullen 2018-01-12 10:13:59 PST
Test URL: https://www.scirra.com/labs/bugs/safariwasmissue/

We use a WebAssembly build of ffmpeg to decode WebM Opus audio. (Side note: please support it built-in!)

In Safari on iOS 11.2, everything worked OK. After updating to iOS 11.2.2, the page no longer loads. The WebAssembly module fails to decode the audio. Errors relating to "Cannot enlarge memory arrays" are logged to the console. We are pretty sure the page is not using too much memory, especially since the only thing we changed was updating iOS.

Safari on macOS does not appear to be affected.
Comment 1 JF Bastien 2018-01-12 13:15:04 PST
Might be rdar:://problem/36236004 which is fixed in trunk?
Comment 2 Ashley Gullen 2018-01-29 04:04:05 PST
This still reproduces in Safari 11.2.5! This is a critical issue for us, currently none of our software's content can load in Safari on iOS. Can I have some kind of update with what's going on with this bug?
Comment 3 JF Bastien 2018-01-29 08:53:21 PST
I believe this is a dulicate of 181781.

*** This bug has been marked as a duplicate of bug 181781 ***