New issue
Advanced search Search tips

Issue 829199 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

CHECK failure: blend_mode_ != static_cast<uint32_t>(SkBlendMode::kLastMode) + 100 in paint_flag

Project Member Reported by ClusterFuzz, Apr 5 2018

Issue description

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

Fuzzer: afl_paint_op_buffer_fuzzer
Job Type: afl_chrome_asan
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  blend_mode_ != static_cast<uint32_t>(SkBlendMode::kLastMode) + 100 in paint_flag
  cc::PaintFlags::~PaintFlags
  cc::DrawIRectOp::Deserialize
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=afl_chrome_asan&range=547825:547838

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

Issue filed automatically.

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md for more information.
 
Project Member

Comment 1 by ClusterFuzz, Apr 5 2018

Components: Internals>Compositing
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Project Member

Comment 2 by ClusterFuzz, Apr 5 2018

Labels: Test-Predator-Auto-Owner
Owner: enne@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/4e8d8031d57ede2c673ae22c7d60cc2ef1cda9b4 (Unroll PaintFlags dtor to investigate crashes).

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label. If you aren't the correct owner for this issue, please unassign yourself as soon as possible so it can be re-triaged.
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 5 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5e2090c028be2f5ecf26e8cf9e4bd9274dcdfa5f

commit 5e2090c028be2f5ecf26e8cf9e4bd9274dcdfa5f
Author: Adrienne Walker <enne@chromium.org>
Date: Thu Apr 05 23:27:23 2018

cc: Remove investigating CHECK

This CHECK was overkill.  Just set something on the object instead to
make sure that the PaintFlags is not bogus.

Bug:  829199 
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I24500c9403959d7861575d368c930c1a2ebcfc74
Reviewed-on: https://chromium-review.googlesource.com/998495
Commit-Queue: enne <enne@chromium.org>
Reviewed-by: Khushal <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548612}
[modify] https://crrev.com/5e2090c028be2f5ecf26e8cf9e4bd9274dcdfa5f/cc/paint/paint_flags.cc

Comment 4 by enne@chromium.org, Apr 5 2018

Status: Fixed (was: Assigned)
Project Member

Comment 5 by ClusterFuzz, Apr 7 2018

ClusterFuzz has detected this issue as fixed in range 548610:548615.

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

Fuzzer: afl_paint_op_buffer_fuzzer
Job Type: afl_chrome_asan
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  blend_mode_ != static_cast<uint32_t>(SkBlendMode::kLastMode) + 100 in paint_flag
  cc::PaintFlags::~PaintFlags
  cc::DrawIRectOp::Deserialize
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=afl_chrome_asan&range=547825:547838
Fixed: https://clusterfuzz.com/revisions?job=afl_chrome_asan&range=548610:548615

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

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md 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 6 by ClusterFuzz, Apr 7 2018

Labels: ClusterFuzz-Verified
Status: Verified (was: Fixed)
ClusterFuzz testcase 4903396969283584 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Sign in to add a comment