[Webkit-unassigned] [Bug 256876] New: Webkit crashes when pinch-to-zooming with 50MB allocated for compositing layers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 16 22:35:45 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256876

            Bug ID: 256876
           Summary: Webkit crashes when pinch-to-zooming with 50MB
                    allocated for compositing layers
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Compositing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tomas.brambora at gmail.com
                CC: simon.fraser at apple.com

Created attachment 466376

  --> https://bugs.webkit.org/attachment.cgi?id=466376&action=review

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230517/a7e083ed/attachment.htm>


More information about the webkit-unassigned mailing list