Closed Bug 1604137 Opened 9 months ago Closed 8 days ago

Crash in [@ core::option::expect_failed | webrender::resource_cache::ResourceCache::update_blob_image]

Categories

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

Unspecified
All
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gsvelto, Assigned: nical)

Details

(Keywords: crash)

Crash Data

This bug is for crash report bp-024abbe3-41b1-471b-b714-0900a0191207.

Top 10 frames of crashing thread:

0 libxul.so RustMozCrash mozglue/static/rust/wrappers.cpp:17
1 libxul.so mozglue_static::panic_hook mozglue/static/rust/lib.rs:89
2 libxul.so core::ops::function::Fn::call src/libcore/ops/function.rs:69
3 libxul.so std::panicking::rust_panic_with_hook src/libstd/panicking.rs:477
4 libxul.so std::panicking::continue_panic_fmt src/libstd/panicking.rs:380
5 libxul.so rust_begin_unwind src/libstd/panicking.rs:307
6 libxul.so core::panicking::panic_fmt src/libcore/panicking.rs:85
7 libxul.so core::option::expect_failed src/libcore/option.rs:1190
8 libxul.so webrender::resource_cache::ResourceCache::update_blob_image gfx/wr/webrender/src/resource_cache.rs:1007
9 libxul.so webrender::resource_cache::ResourceCache::pre_scene_building_update gfx/wr/webrender/src/resource_cache.rs

This seems to be happening to both Linux and macOS. The raw crash reason is:

Attempt to update non-existent blob image

Flags: needinfo?(jmuizelaar)
Flags: needinfo?(nical.bugzilla)
Priority: -- → P3

This assert means the content process has not been good at doing the bookkeeping of blob image keys. Unfortunately the stack of the assertion doesn't help. I'm thinking of adding some nightly-only checks in the content process, keeping a hash map of live keys to move the assertion closer to the source of the issue. This will probably have a negative performance impact, though.

Assignee: nobody → nical.bugzilla
Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(jmuizelaar)

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.