Crash in [@ webrender::prim_store::PrimitiveStore::update_visibility]
Categories
(Core :: Graphics: WebRender, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | disabled |
firefox69 | --- | wontfix |
firefox70 | --- | wontfix |
firefox71 | --- | fixed |
People
(Reporter: emilio, Assigned: aosmond)
References
(Regression)
Details
(Keywords: crash, regression, regressionwindow-wanted)
Crash Data
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
This bug is for crash report bp-0b64084b-fec2-4ad9-9319-a54380190921.
Top 10 frames of crashing thread:
0 libxul.so gkrust_shared::panic_hook mfbt/Assertions.h:313
1 libxul.so core::ops::function::Fn::call src/libcore/ops/function.rs:69
2 libxul.so std::panicking::rust_panic_with_hook src/libstd/panicking.rs:481
3 libxul.so std::panicking::begin_panic src/libstd/panicking.rs:411
4 libxul.so webrender::prim_store::PrimitiveStore::update_visibility gfx/wr/webrender/src/image.rs:229
5 libxul.so webrender::prim_store::PrimitiveStore::update_visibility gfx/wr/webrender/src/prim_store/mod.rs:1974
6 libxul.so webrender::prim_store::PrimitiveStore::update_visibility gfx/wr/webrender/src/prim_store/mod.rs:1974
7 libxul.so webrender::frame_builder::FrameBuilder::build_layer_screen_rects_and_cull_layers gfx/wr/webrender/src/frame_builder.rs:340
8 libxul.so webrender::frame_builder::FrameBuilder::build gfx/wr/webrender/src/frame_builder.rs:478
9 libxul.so webrender::render_backend::Document::build_frame gfx/wr/webrender/src/render_backend.rs:543
Reporter | ||
Comment 1•5 years ago
|
||
I'm crashing all the time with this when scrolling treeherder, so something like opening this link and scrolling down.
For some reason the url in the crash report is about:newtab. That looks bad.
Message is:
assertion failed: tile_offset.y < self.y.tile_range.end
Maybe the recent snapping changes?
Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
I'm hitting this all the time on Treeherder and it's becoming really annoying (I know I can turn off WebRender..). If we can't fix this week, is there a regressing patch we should consider backing out?
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Looks like the uptick began on September 18/19th, around when bug 1570081 landed, and I see that changed the tile calculations.
Assignee | ||
Comment 5•5 years ago
|
||
Crash reports suggest 20190918100042 is the exact build where the uptick began, same as bug 1570081. Looks like the most likely candidate from the pushlog:
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
I'm guessing https://hg.mozilla.org/mozilla-central/rev/32951c9cc186 specifically is the part that introduced the problem.
Assignee | ||
Comment 7•5 years ago
|
||
This line should prevent the y tile offset from overflowing:
The fact that it didn't save us suggests that the initial current tile is outside the bounds.
Assignee | ||
Comment 8•5 years ago
|
||
The updated visible rect feeds into this calculation:
Maybe the new start/end don't result in a contiguous range.
Assignee | ||
Comment 9•5 years ago
|
||
I managed to reproduce in a CI build with a new assert to confirm my suspicion:
https://crash-stats.mozilla.org/report/index/5022e9b5-8d00-4e80-92cb-bbd4a0190927
Assignee | ||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•3 years ago
|
Description
•