New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 627607 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug

Blocking:
issue 625107



Sign in to add a comment

false. Invalid first_layout (unset) for first_paint 3.153s in metrics_web_conten

Project Member Reported by ClusterFuzz, Jul 12 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5180168197111808

Fuzzer: inferno_twister
Job Type: linux_debug_chrome
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  false. Invalid first_layout (unset) for first_paint 3.153s in metrics_web_conten
  page_load_metrics::IsValidPageLoadTiming
  page_load_metrics::PageLoadTracker::UpdateTiming
  

Minimized Testcase (0.02 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv94hcWHzb9MZ1BcPtujJSgCmpipFxbzpMrhLgyjQAQ2Txj5f70f5MzstJp3r0YHpSYr2NRFJWZ5wc7X57nowAONjD1fRu9fC913-3a7IB7vSOvZoOv8TrhdBWQUrgBAQYLOq3Zgf29UjSOSTn3b6jfhUqIwmVQ?testcase_id=5180168197111808

  <title id="tCF1">


Additional requirements: Requires HTTP

Filer: mmohammad

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Owner: bmcquade@chromium.org
Status: Assigned (was: Available)
suspected https://chromium.googlesource.com/chromium/src/+/ca0d79a9d1a89f6c56ab4533a924e919e388c31c%5E%21/components/page_load_metrics/browser/metrics_web_contents_observer.cc

bmcquade@ could you please look into this. feel free re-assigned back if needed. Thank you 
Sure - this is code I own. This is a dcheck (will not fire in release), and its failure doesn't cause any bad browser behavior, so I see this is somewhat low priority, but I will take a look when I get a chance.
Cc: bmcquade@chromium.org
 Issue 628771  has been merged into this issue.

Comment 4 by sigbjo...@opera.com, Jul 27 2016

Blocking: 625107

Comment 5 by sigbjo...@opera.com, Jul 27 2016

Cc: keishi@chromium.org
 Issue 628145  has been merged into this issue.

Comment 6 by sigbjo...@opera.com, Jul 27 2016

Cc: mummare...@chromium.org
 Issue 629309  has been merged into this issue.
Project Member

Comment 7 by ClusterFuzz, Jul 28 2016

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5350013492527104

Fuzzer: inferno_twister
Job Type: linux_debug_chrome
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  false. Invalid first_layout (unset) for first_paint 5.161s in metrics_web_conten
  page_load_metrics::IsValidPageLoadTiming
  page_load_metrics::PageLoadTracker::UpdateTiming
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_chrome&range=136954:136987

Minimized Testcase (0.09 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv979CE_tCZBuWCla0bfXa3eqgPw82GsAxw-iEwL6auPBz28bvsKA92ytBIrgxE8B5cgigdTmEbT2k3tBC2YKYsREY3zKi1A38Eek1kxDWmvN0kUUqOIpTLGauSi4F4vKW4j6mrvbvI6Tk72eQeW9u0Ic6_Slsg?testcase_id=5350013492527104
<html xmlns="http://www.w3.org/1999/xhtml" xlink="http://www.w3.org/1999/xlink"><head id="tCF0">


Additional requirements: Requires HTTP

Filer: rnimmagadda

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
Labels: -Pri-1 Pri-3
I took a look. This appears to happen for any XHTML page that generates an XML parsing error. Such pages display a warning message on the screen, which seems to cause a paint without a layout.

To clarify, this poses no issues in release - we gracefully recover from the error case in a release build. So I'm marking as P3.

I'm going to change the code so that this DCHECK no longer fires and add some code to track how often this happens in the field. Based on that data, we'll make a decision on how we want to handle this issue.
Note that, if we decide to explicitly detect this case in the render process, Docment::wellFormed() will report false for these documents. This gets set right before the parser is detached (right before we record parse stop time).

Labels: -Pri-3 Pri-1
This is not P3. This is P1 since it blocks finding other real bugs with fuzzing on debug builds. Please remove the spurious DCHECK.
 Issue 627267  has been merged into this issue.
Sure, sent a CL your way. Note that this is an interim fix to remove the DCHECK. The proper fix will special case non-well formed XHTML documents, but that's more involved.
Status: Fixed (was: Assigned)
Project Member

Comment 15 by ClusterFuzz, Jul 31 2016

ClusterFuzz has detected this issue as fixed in range 408765:408781.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5350013492527104

Fuzzer: inferno_twister
Job Type: linux_debug_chrome
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  false. Invalid first_layout (unset) for first_paint 5.161s in metrics_web_conten
  page_load_metrics::IsValidPageLoadTiming
  page_load_metrics::PageLoadTracker::UpdateTiming
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_chrome&range=136954:136987
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_chrome&range=408765:408781

Minimized Testcase (0.09 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv979CE_tCZBuWCla0bfXa3eqgPw82GsAxw-iEwL6auPBz28bvsKA92ytBIrgxE8B5cgigdTmEbT2k3tBC2YKYsREY3zKi1A38Eek1kxDWmvN0kUUqOIpTLGauSi4F4vKW4j6mrvbvI6Tk72eQeW9u0Ic6_Slsg?testcase_id=5350013492527104
<html xmlns="http://www.w3.org/1999/xhtml" xlink="http://www.w3.org/1999/xlink"><head id="tCF0">


Additional requirements: Requires HTTP

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

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 16 by ClusterFuzz, Jul 31 2016

ClusterFuzz has detected this issue as fixed in range 408765:408781.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5180168197111808

Fuzzer: inferno_twister
Job Type: linux_debug_chrome
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  false. Invalid first_layout (unset) for first_paint 3.153s in metrics_web_conten
  page_load_metrics::IsValidPageLoadTiming
  page_load_metrics::PageLoadTracker::UpdateTiming
  
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_chrome&range=408765:408781

Minimized Testcase (0.02 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv94hcWHzb9MZ1BcPtujJSgCmpipFxbzpMrhLgyjQAQ2Txj5f70f5MzstJp3r0YHpSYr2NRFJWZ5wc7X57nowAONjD1fRu9fC913-3a7IB7vSOvZoOv8TrhdBWQUrgBAQYLOq3Zgf29UjSOSTn3b6jfhUqIwmVQ?testcase_id=5180168197111808

  <title id="tCF1">


Additional requirements: Requires HTTP

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

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 17 by sheriffbot@chromium.org, Nov 22 2016

Labels: -Restrict-View-EditIssue
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment