New issue
Advanced search Search tips

Issue 679316 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Leaking of android.view.Surface instances in global reference table

Reported by lzaval...@gmail.com, Jan 9 2017

Issue description

Device name: Odroid C2
Android version: 6.0.1
WebView version (from system settings -> Apps -> Android System WebView): 52.0.2743.100
Application: SurfaceLeakTest
Application version: 1.0

URLs (if applicable): n/a



Steps to reproduce:
(1) unzip surfaceleak.zip and install surfaceleak_debug.apk
(2) tap on 'dumprefs' button
(3) check android.view.Surface count in global reference table either via logcat or on screen, repeat from step #2 after the video had played

Expected result:

number of android.view.Surface instances remains the same, since only a single <video> element is at all times in the DOM.

Actual result:

android.view.Surface count keeps increasing until eventually the app crashes with the JNI error : global reference table overflow.
 
surfaceleak.zip
9.7 MB Download
Labels: Needs-Feedback
Does it also reproduce with a more recent webview version?
Yes. Tested on additional devices (with newer Android versions and WebViews) as well as various versions of CrossWalk that are based on more recent versions of Chromium.
Project Member

Comment 3 by sheriffbot@chromium.org, Jan 16 2017

Labels: -Needs-Feedback Needs-Review
Owner: tobiasjs@chromium.org
Thank you for providing more feedback. Adding requester "tobiasjs@chromium.org" for another review and adding "Needs-Review" label for tracking.

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

Comment 4 by cda...@chromium.org, Mar 13 2017

Cleaning up "Needs-Review" label as we are not using this label for triage. Ref  bug 684919 

Comment 5 by cda...@chromium.org, Mar 13 2017

Labels: -Needs-Review
Status: WontFix (was: Unconfirmed)
Effort from the triage Team:
There is no active investigation / updates since the last couple months,closing the issue.

Feel free to reopen if needed.

Sign in to add a comment