NEW 256876
Webkit crashes when pinch-to-zooming with 50MB allocated for compositing layers
https://bugs.webkit.org/show_bug.cgi?id=256876
Summary Webkit crashes when pinch-to-zooming with 50MB allocated for compositing layers
Tomas Brambora
Reported 2023-05-16 22:35:45 PDT
Created attachment 466376 [details] crash video Pinch to zoom reliably crashes webkit process running the tiny react app available here: https://prismatic-pudding-dceafa.netlify.app/ even when the memory allocated to compositing layers is ~50MB only. Each red rectangle is an absolutely positioned 1000px div with `will-change: transform` CSS rule, scaled down to 0.01 with a CSS scale transform. The app crashes quite reliably when pinching to zoom on my iPhone 13 running iOS 16.1 even with only 3 divs rendered (which according to WebInspector allocates roughly 50MB for compositing layers). When allocating 400+MB the app crashes immediately (i.e., just by adding the divs using the slider, without any zooming).
Attachments
crash video (367.96 KB, video/mp4)
2023-05-16 22:35 PDT, Tomas Brambora
no flags
Radar WebKit Bug Importer
Comment 1 2023-05-17 09:39:24 PDT
Simon Fraser (smfr)
Comment 2 2023-05-17 09:40:55 PDT
"scaled down to 0.01 with a CSS scale transform" That's not ideal. It makes this related to 27684.
Note You need to log in before you can comment on or make changes to this bug.