Geckoview test app generates spurious EGL errors due to GC'd SurfaceTextures
Categories
(GeckoView :: General, defect, P2)
Tracking
(firefox68 wontfix, firefox69 wontfix, firefox70 wontfix, firefox71 wontfix, firefox72 wontfix, firefox73 fixed)
People
(Reporter: kats, Assigned: snorp)
References
Details
Attachments
(1 file)
Spinoff from https://bugzilla.mozilla.org/show_bug.cgi?id=1516298#c28
The Geckoview test app doesn't hold on to the SurfaceTexture instances it creates, so creating a bunch that are active and then triggering a GC will result in Surfaces that are not backed by anything, and causes random test failures.
:snorp wrote a patch that seems to address it, filing this bug to get that landed.
Assignee | ||
Comment 1•5 years ago
|
||
Comment 3•5 years ago
•
|
||
After this bug landed we got a spike in failure rate on tests like css/cssom-view/scroll-behavior-default-css.html | css/cssom-view/scroll-behavior-element.html | css/cssom-view/scroll-behavior-default-css.html
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&searchStr=android%2Cwpt5&tochange=b8f19d6b876273bc08c8e82bf72282d923a97a7d&fromchange=139206811f54376f9c23c4075ff64183aeb8a44a&selectedJob=255792505
Failure logs: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=255792505&repo=autoland&lineNumber=2631
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=255794319&repo=autoland&lineNumber=2623
James, please take a look at this. Thank you.
Comment 4•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Might be related to what I observed about Surface when investigating an older css-backgrounds wpt intermittent: https://bugzilla.mozilla.org/show_bug.cgi?id=1554777#c12
Comment 6•5 years ago
|
||
69=wontfix because James says we don't need to uplift this fix to 69 Beta. We might need to back it out from 70 Nightly for the test issues.
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
The patch here was backed out due to high failure rate in bug 1565072. https://hg.mozilla.org/integration/autoland/rev/16da75efcffe8c6cb038fbd4651c30e6dd79e7f5
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
I'm editing a bunch of GeckoView bugs. If you'd like to filter all this bugmail, search and destroy emails containing this UUID:
e88a5094-0fc0-4b7c-b7c5-aef00a11dbc9
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•5 years ago
|
||
:snorp, I am pretty sure your patch fixes bug 1476893. And the failure tests in bug 1565072 have been disabled for a while. I think we can land your patch now.
Here is a try with the patch.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f115dd5878359a8b6f7c1fcdbd25f24e28def0dd
Updated•5 years ago
|
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 13•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•