Bug 255103 - REGRESSION (iOS 16.4): WASM Out Of Memory with shared=true
Summary: REGRESSION (iOS 16.4): WASM Out Of Memory with shared=true
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebAssembly (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-06 11:18 PDT by Alex Bor
Modified: 2024-05-09 18:44 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)