[Webkit-unassigned] [Bug 182872] New: IPad / Safari crash, when zooming a page with an IFrame on IOS 11+

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 16 05:36:09 PST 2018


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

            Bug ID: 182872
           Summary: IPad / Safari crash, when zooming a page with an
                    IFrame on IOS 11+
           Product: WebKit
           Version: Safari 11
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: telman.agababov at sigma.software
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 334035

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

test page for the crash reproducing

Summary:
Safari crashes, when zooming a page with an IFrame inside it, on IOS 11+
The crash logs shows, that crash was connected to excessive usage of the memory. 
Web developer tools shows, that IFrame elements have own layout, which allocates huge amount of memory, while zooming it (about 1gb of memory per IFrame layout)

Steps to Reproduce:
1. Create an html page with a IFrame
2. Ensure that IFrame page has some animation or 3d options, to force layout creation
3. Pinch-zoom the page several times

Example:
I also added an example with an empty page, that includes several Iframes (for easier reproduction). Where the last Iframe page has some simple animation, to force layouts creation.
You can easily achieve a crash with this example, just opening "index.html" page from the example and doing pinch-zoom actions several times (like 3 times should be enough).

Expected Results:
Pinch-zoom should work without any crashes.

Actual Results:
After several pinch to zoom actions, the page crashes.
There are 3 possible crashes, that occur when zooming :
1. page reloads, with a message - "A problem occurred with this web page so it was reloaded"
2. safari browser closes
3. IPad just turns off

Version/Build:
The last tested safari version (info from user agent) :
AppleWebKit/605.1.15 Version/11.0 Mobile/15E148 Safari/604.1

Configuration:
IPad Pro 9.7
IOS 11.1, IOS 11.2.5, IOS 11.3

I'm not sure whether it's a Webkit bug or Safari issue, so I duplicated the issue at Apple bugreport also - https://bugreport.apple.com/web/?problemID=37602027

-- 
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/20180216/e7c2f134/attachment.html>


More information about the webkit-unassigned mailing list