Bug 255103

Summary: REGRESSION (iOS 16.4): WASM Out Of Memory with shared=true
Product: WebKit Reporter: Alex Bor <serebniti>
Component: WebAssemblyAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: alonzakai, jaffathecake, mark.lam, merlemitchell6779, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: iPhone / iPad   
OS: iOS 16   
See Also: https://bugs.webkit.org/show_bug.cgi?id=272813

Description Alex Bor 2023-04-06 11:18:42 PDT
We update iPhone from iOS 16.2 to 16.4 and get "Out Of Memory" in the console from code that was working before. We have localized the problem.

Try to put this part of code in safari iOS 16.4 console to reproduce:


      wasmMemory = new WebAssembly.Memory({
                          "initial": 205520896 / 65536,
                          "maximum": 2147483648 / 65536,
                          "shared": true
                      });

You will get "Out Of memory".

Now to set  "shared": false and WebAssembly object will be created.
Comment 1 Alexey Proskuryakov 2023-04-06 13:02:43 PDT
Thank you for the report! Which iPhone and/or iPad models is this reproducing with?
Comment 2 Radar WebKit Bug Importer 2023-04-06 13:02:53 PDT
<rdar://problem/107723604>
Comment 3 Alex Bor 2023-04-06 23:58:32 PDT
(In reply to Alexey Proskuryakov from comment #1)
> Thank you for the report! Which iPhone and/or iPad models is this
> reproducing with?

14 pro max
Comment 4 Jake Archibald 2023-06-05 07:30:11 PDT
Possibly https://bugs.webkit.org/show_bug.cgi?id=250569
Comment 5 RalphSchoonover 2024-05-09 18:44:40 PDT Comment hidden (spam)