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

Issue 648133 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Crash in gpu::gles2::RenderbufferAttachment::IsSameAttachment

Project Member Reported by ClusterFuzz, Sep 19 2016

Issue description

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

Fuzzer: afl_gpu_fuzzer
Job Type: afl_chrome_asan
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  gpu::gles2::RenderbufferAttachment::IsSameAttachment
  gpu::gles2::GLES2DecoderImpl::DoBlitFramebufferCHROMIUM
  gpu::gles2::GLES2DecoderImpl::HandleBlitFramebufferCHROMIUM
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=afl_chrome_asan&range=417884:417900

Minimized Testcase (14.00 Kb): https://cluster-fuzz.appspot.com/download/AMIfv97ffq9wYCIyzjoM1RqUt3xviGXmUUpa6G3fNDt8PdFoDhVEzeTOdEkNi2We7vFHqGFCCxpIH_px5xi2pISNvdG0kkBm8mXqwj_l7FfNHq0GGwZA418QSCYBEwkt2ibz8pwzV9X0PFzhtYV1suze3Du9gb6Wqg?testcase_id=5593947630206976

Issue manually filed by: mmoroz

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

Comment 1 by mmoroz@chromium.org, Sep 19 2016

Cc: mmoroz@chromium.org kcc@chromium.org aizatsky@chromium.org
Components: Internals>GPU
Owner: piman@chromium.org
piman@, assigning to you as an author of the fuzzer. Could you please help to find an owner for this?

Comment 2 by piman@chromium.org, Sep 19 2016

Status: Started (was: Untriaged)
One more case along the lines of  bug 648058 . On it.

Comment 3 by piman@chromium.org, Sep 20 2016

Cc: kbr@chromium.org
https://codereview.chromium.org/2351093002/ should take care of this.
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 22 2016

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

commit 72e9876bdadd8cb4df5e813d03b5ca8d966d214f
Author: piman <piman@chromium.org>
Date: Thu Sep 22 00:03:58 2016

Fix crash in BlitFramebufferCHROMIUM if a read or draw depth/stencil buffer is not present

From ES3 spec: "If a buffer is specified in mask and does not exist in both the read and draw
framebuffers, the corresponding bit is silently ignored."

BUG= 648133 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2351093002
Cr-Commit-Position: refs/heads/master@{#420207}

[modify] https://crrev.com/72e9876bdadd8cb4df5e813d03b5ca8d966d214f/gpu/command_buffer/service/framebuffer_manager.cc
[modify] https://crrev.com/72e9876bdadd8cb4df5e813d03b5ca8d966d214f/gpu/command_buffer/service/framebuffer_manager.h
[modify] https://crrev.com/72e9876bdadd8cb4df5e813d03b5ca8d966d214f/gpu/command_buffer/service/gles2_cmd_decoder.cc
[modify] https://crrev.com/72e9876bdadd8cb4df5e813d03b5ca8d966d214f/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
[modify] https://crrev.com/72e9876bdadd8cb4df5e813d03b5ca8d966d214f/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc

Project Member

Comment 5 by ClusterFuzz, Sep 22 2016

ClusterFuzz has detected this issue as fixed in range 420121:420217.

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

Fuzzer: afl_gpu_fuzzer
Job Type: afl_chrome_asan
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  gpu::gles2::RenderbufferAttachment::IsSameAttachment
  gpu::gles2::GLES2DecoderImpl::DoBlitFramebufferCHROMIUM
  gpu::gles2::GLES2DecoderImpl::HandleBlitFramebufferCHROMIUM
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=afl_chrome_asan&range=417884:417900
Fixed: https://cluster-fuzz.appspot.com/revisions?job=afl_chrome_asan&range=420121:420217

Minimized Testcase (14.00 Kb): https://cluster-fuzz.appspot.com/download/AMIfv97ffq9wYCIyzjoM1RqUt3xviGXmUUpa6G3fNDt8PdFoDhVEzeTOdEkNi2We7vFHqGFCCxpIH_px5xi2pISNvdG0kkBm8mXqwj_l7FfNHq0GGwZA418QSCYBEwkt2ibz8pwzV9X0PFzhtYV1suze3Du9gb6Wqg?testcase_id=5593947630206976

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.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, Sep 22 2016

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

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

Comment 7 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