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

Issue 768074 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 702980
Owner:
OOO until 2019-01-24
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocked on:
issue 702980



Sign in to add a comment

Unhandled gl errors: DCHECK(GL_NO_ERROR == glGetError()) when GPUTracer::ProcessTraces() is called

Project Member Reported by offenwanger@chromium.org, Sep 22 2017

Issue description

Chrome Version: 63.0.3222.0. (Official Build) canary (64-bit)
OS: Android 6.0.1 Samsung Galaxy S6

What steps will reproduce the problem?
Go to https://sketchfab.com/models/83ced347037f47aba8473147d65df074

What is the expected result? 
Application runs

What happens instead?
Application runs, but spits out 

[.Offscreen-For-WebGL-0x7f724f4a00]GL ERROR :GL_OUT_OF_MEMORY : GetShaderiv: <- error from previous GL command

Followed by a whole swath of these:

[.Offscreen-For-WebGL-0x7f724f4a00]GL ERROR :GL_INVALID_OPERATION : GetShaderiv: <- error from previous GL command

When running a debug build, this issue seems to cause this DCHECK to fail. 
https://cs.chromium.org/chromium/src/gpu/command_buffer/service/gpu_tracer.cc?q=gpu_tracer.cc&sq=package:chromium&dr&l=339

So far the issue seems confined to the Galaxy S6

 
Tried a quick check to make sure this wasn't the function itself, if the DCHECK is moved to the top of the function it still fails, so the failure occurs somewhere outside that code.
Not a duplicate of issue 682482?

It's also not super surprising that we might run out of memory on large sketchfab models.
I don't think it is a duplicate. issue 682482 causes chrome to crash in production versions, whereas the only crash in this instance is when the DCHECK fails on debug versions. It might, however, be related. 
Cc: kbr@chromium.org zmo@chromium.org
Status: Available (was: Untriaged)
zmo@, do you think this is a related issue?

Comment 5 by kbr@chromium.org, Oct 20 2017

Cc: bajones@chromium.org
Labels: OS-Android
Summary: Unhandled gl errors: DCHECK(GL_NO_ERROR == glGetError()) when GPUTracer::ProcessTraces() is called (was: Sketchfab triggering DCHECK on Samsung Galaxy S6)

Comment 7 by kbr@chromium.org, Nov 14 2017

Blockedon: 702980
Components: -Blink>WebVR Blink>WebGL
I think this is caused by a bug in the implementation of the EXT_disjoint_timer_query extension on the Samsung Galaxy S6 and that we should disable this extension on that device. See  Issue 702980 .

Comment 8 by kbr@chromium.org, Nov 18 2017

Mergedinto: 702980
Owner: kbr@chromium.org
Status: Duplicate (was: Available)
 Issue 702980  has just been closed as fixed by virtue of disabling the EXT_disjoint_timer_query extension on this device. This should cause Sketchfab to no longer attempt to use it and the problem to go away. I'm duplicating this into the other report. Please test with Chrome Canary once it contains the fix and reopen this bug if it's still happening. Thanks.

Sign in to add a comment