New issue
Advanced search Search tips

Issue 727277 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

CHECK failure: root_.GetDocument().View()->IsInPerformLayout() in SubtreeLayoutScope.cpp

Project Member Reported by ClusterFuzz, May 29 2017

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=5764487809597440

Fuzzer: ifratric-browserfuzzer-v3
Job Type: mac_asan_chrome
Platform Id: mac

Crash Type: CHECK failure
Crash Address: 
Crash State:
  root_.GetDocument().View()->IsInPerformLayout() in SubtreeLayoutScope.cpp
  blink::SubtreeLayoutScope::SubtreeLayoutScope
  blink::LayoutGrid::UpdateBlockLayout
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_asan_chrome&range=466662:466677

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5764487809597440


Issue filed automatically.

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Components: Blink
Components: -Blink Blink>Layout

Comment 3 by e...@chromium.org, Jun 5 2017

Owner: szager@chromium.org
Status: Assigned (was: Untriaged)
Is this a dup?
Status: WontFix (was: Assigned)
I added the CHECK recently as a diagnostic for another bug.  The CHECK has since been removed.
Isn't it this CHECK?

https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp#39

I'm hitting this on Chromium 59.0.3071.86 (on Arch Linux). What is the significance of it? I've gotten "something went wrong" pages both times this happened. (It occurs very infrequently though.)
Mergedinto: 723406
Status: Duplicate (was: WontFix)
This is actually a duplicate, still working on the original bug.

Comment 7 by szager@chromium.org, Jul 19 2017

Owner: svillar@chromium.org
Status: Assigned (was: Duplicate)
Un-duplicating, this is a different bug.

The problem here appears to be that during preferred with calculation, LayoutGrid calls into the regular layout code.  Preferred widths can be calculated at any time, but UpdateLayout expects to be called only during DocumentLifecycle::kInPerformLayout.

Assigning to svillar@, who is most familiar with the LayoutGrid code.

Comment 8 by e...@chromium.org, Sep 30 2017

Owner: svil...@igalia.com

Comment 9 by svil...@igalia.com, Jan 22 2018

Status: Fixed (was: Assigned)
I think this has been fixed long time ago. Please do reopen if detected again.

Sign in to add a comment