Closed Bug 1375843 Opened 7 years ago Closed 7 years ago

Lots and lots of "WARN:webrender::clip_scroll_node: Tried to scroll a non-scroll node." in automation

Categories

(Core :: Graphics: WebRender, defect, P3)

Other Branch
defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

There are recent spikes in bug 1206887 and bug 1204281 on linux64-qr. If you look at the logs you'll see reams and reams of this warning:

  WARN:webrender::clip_scroll_node: Tried to scroll a non-scroll node.

Seems like a bug. Note that is a regression from enabling APZ on webrender, but it might be triggered by other factors (that seems to be the case for bug 1204281 at least).
Assignee: nobody → bugmail
I reproduced this locally. The warning that's getting hit is the one at [1]. The clip_id at the call site [2] is something like DynamicallyAddedNode(1, PipelineId(1, 1)) which is something we never try to set a scroll offset on from the gecko side. So this is probably something that needs to be fixed internally in webrender. For now I can silence the warning since it seems to be benign (other than causing timeouts in automation).

[1] http://searchfox.org/mozilla-central/rev/ae94cfb36d804727dfb38f2750bfcaab4621df6e/gfx/webrender/src/clip_scroll_node.rs#196
[2] http://searchfox.org/mozilla-central/rev/ae94cfb36d804727dfb38f2750bfcaab4621df6e/gfx/webrender/src/clip_scroll_tree.rs#310
For posterity, I reproduced this by doing a mozilla-central opt build, replacing the warn! line with println! so that it would get printed unconditionally. Then I just ran |MOZ_WEBRENDER=1 mach reftest layout/reftests/reftest-sanity| and saw the spew.
Comment on attachment 8880834 [details]
Bug 1375843 - Temporarily silence warning being generated incorrectly.

https://reviewboard.mozilla.org/r/152180/#review157244

Thanks!
Attachment #8880834 - Flags: review?(gbrown) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78f2464c6c1f
Temporarily silence warning being generated incorrectly. r=gbrown
https://hg.mozilla.org/mozilla-central/rev/78f2464c6c1f
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Blocks: 1411358
No longer blocks: 1411358
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: