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

Issue 605346 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Feature

Blocked on:
issue 673002
issue 586183



Sign in to add a comment

Create better stress test for image elements being too eagerly GC'd

Project Member Reported by kbr@chromium.org, Apr 21 2016

Issue description

 Issue 586183  describes a bug where image elements allocated via "new Image()" and not part of the document's hierarchy are being GC'd before their onload handlers are called.

This problem has surfaced a couple of times before in Chrome, and there aren't enough stress tests which can catch it. It has manifested itself as random failures of image- and texture-related WebGL conformance tests in the past.

A stress test is needed which will catch the bug more reliably.  Issue 604844  contains a JSFiddle that with appropriate modification seems to catch the bug about 50% of the time.

 
Components: -Blink>JavaScript Blink>MemoryAllocator>GarbageCollection
Owner: haraken@chromium.org
Status: Assigned (was: Untriaged)

Comment 2 by kbr@chromium.org, May 5 2016

Labels: -Pri-2 Pri-1
Raising to P1.  Issue 586183  was a major problem that affected many web sites and it's critical that a better stress test be added so it doesn't regress again.

Comment 3 by kbr@chromium.org, Dec 9 2016

Blockedon: 673002
Labels: -Pri-1 -OS-All OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows Pri-2
Reducing priority. Right now this is not something we want to gate a release on.

Sign in to add a comment