Intermittent image/test/reftest/jpeg/webcam-simulacrum.mjpg == image/test/reftest/jpeg/blue.jpg | image comparison, max difference: 224, number of differing pixels: 799999
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: emilio)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell needswork:owner])
Attachments
(1 file)
Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=305950490&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FnHi0npYSiK3CO0VVREf1w/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FnHi0npYSiK3CO0VVREf1w/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1
Comment hidden (Intermittent Failures Robot) |
Comment 2•4 years ago
|
||
Anyone able to pull an approximate regression range for this from treeherder results?
Comment 3•4 years ago
|
||
Actually, this is probably bug 1641682. It landed on the 11th but was backed out, then relanded on the 14th late in the day, and the intermittent started on the 11th before stopping and then starting again on the 15th.
Comment hidden (Intermittent Failures Robot) |
Comment 5•4 years ago
|
||
Not bug 1641682. Get about the same amount of failures with bug 1641682 backed out.
Comment 6•4 years ago
|
||
Bug 1599160 landed at both starts and touches image loader.
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
Hmm, there's no stylesheets involved in those test-cases though. Only ImageDocument.css
and TopLevelImageDocument.css
, which don't load any image whatsoever... Plus the mjpg file is served with Cache-Control: no-cache
.
Though I guess it could potentially make the "resource" URI for the image document fire the load event faster? The mjpg should block the load event anyhow... Aryx, is there a way to confirm that this is caused by bug 1599160? I'd find it a bit surprising / it'd seem it's a pre-existing bug if anything.
Comment 9•4 years ago
|
||
I've pushed a couple of try pushes checking asan reftests where I've been able to reproduce pretty easily to see if bug 1599160 is involved.
One thing to note about this test that is unlike almost every other reftest: the image is a multipart image and loading multipart images toplevel means we create a new (image) document for every frame/part of the multipart image.
Comment 10•4 years ago
|
||
Try results do strongly suggest that bug 1599160 is to blame. Using Windows Asan builds (which seem the most reliable for me)
0/19 failures with base revision 3ce9af6580b2748bd34837cb3d1aa074c6f76436 (changeset immediately before bug 1599160)
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5fa54a13959beeec49640df043bfec7414d238ff
4/19 failures with base revision 419a897d7e4b9489ad51b51044f154e5bcbb605e (first with changeset with bug 1599160 landed)
https://treeherder.mozilla.org/#/jobs?repo=try&revision=092e01a3718f54c7f4bbc81586751d7a7640e1a9
Emilio is there logging we can turn on to maybe shed more light on this?
Assignee | ||
Comment 11•4 years ago
|
||
If two loading documents hit the sheet cache and we coalesce the
resource load, there's nothing that prevents the load event on the
second document from firing right now, and there should be.
While at it, also fix the handling of the pending load count, though
it has no correctness impact on the particular test we're fixing here...
We were never decrementing it, which is of course wrong. However it
kinda ended up working because it just causes us to not defer more
loads.
The new assertions and responsibility of the counter should ensure it
stays correct.
Updated•4 years ago
|
Assignee | ||
Comment 12•4 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #9)
I've pushed a couple of try pushes checking asan reftests where I've been able to reproduce pretty easily to see if bug 1599160 is involved.
One thing to note about this test that is unlike almost every other reftest: the image is a multipart image and loading multipart images toplevel means we create a new (image) document for every frame/part of the multipart image.
So I loaded the reftest with MOZ_LOG=nsCSSLoader:5
and I saw them coalesce various loads across the ImageDocument.css
. I dug a bit and I think we were not properly blocking onload for these, so I sent a patch to do that.
Tim, is there any chance you can confirm that patch fixes the issue?
Comment 13•4 years ago
|
||
Sure, I pushed it to try
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9c079da2742f3c276ce5a9f404eb56d2d423de4c
a few retriggers should confirm.
Comment hidden (Intermittent Failures Robot) |
Comment 15•4 years ago
|
||
I confirm that your patch looks to fix the problem on my try push. Thanks!
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Description
•