Bug 173958 - Crash in WebCore::ScrollingTreeFixedNode::updateLayersAfterAncestorChange
Summary: Crash in WebCore::ScrollingTreeFixedNode::updateLayersAfterAncestorChange
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
Keywords: InRadar
Depends on:
Reported: 2017-06-28 20:25 PDT by Ryosuke Niwa
Modified: 2017-06-28 20:58 PDT (History)
8 users (show)

See Also:

Fixes the crash (2.29 KB, patch)
2017-06-28 20:42 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2017-06-28 20:25:32 PDT
We're crashing inside CALayer sometimes:

              24 QuartzCore: -[CALayer setPosition:]
         ==> 24 WebCore: WebCore::ScrollingTreeFixedNode::updateLayersAfterAncestorChange(WebCore::ScrollingTreeNode const&, WebCore::FloatRect const&, WebCore::FloatSize const&) <==
                  24 WebCore: WebCore::ScrollingTreeFrameScrollingNodeIOS::updateLayersAfterViewportChange(WebCore::FloatRect const&, double)
                    24 WebKit: -[WKContentView didUpdateVisibleRect:unobscuredRect:unobscuredRectInScrollViewCoordinates:obscuredInset:inputViewBounds:scale:minimumScale:inStableState:isChangingObscuredInsetsInteractively:enclosedInScrollableAncestorView:]
Comment 1 Ryosuke Niwa 2017-06-28 20:25:44 PDT
Comment 2 Ryosuke Niwa 2017-06-28 20:42:32 PDT
Created attachment 314104 [details]
Fixes the crash
Comment 3 Ryosuke Niwa 2017-06-28 20:58:18 PDT
Comment on attachment 314104 [details]
Fixes the crash

Clearing flags on attachment: 314104

Committed r218915: <http://trac.webkit.org/changeset/218915>
Comment 4 Ryosuke Niwa 2017-06-28 20:58:20 PDT
All reviewed patches have been landed.  Closing bug.