Closed
Bug 1474180
Opened 6 years ago
Closed 6 years ago
Crash in static union webrender_api::font::FontTemplate* webrender::resource_cache::{{impl}}::get_font_data
Categories
(Core :: Graphics: WebRender, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox62 | --- | unaffected |
firefox63 | --- | disabled |
firefox64 | --- | fixed |
People
(Reporter: jseward, Assigned: lsalzman)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(1 obsolete file)
This bug was filed from the Socorro interface and is report bp-ad55538b-fe8a-4f83-8306-b0d930180706. ============================================================= This is topcrash #19 in the Windows nightly 20180705100105. It's not a high roller, but it did occur in two different installations, which suggests it might be real. Crash reason is "called `Option::unwrap()` on a `None` value". Top 10 frames of crashing thread: 0 xul.dll static void std::panicking::rust_panic_with_hook src/libstd/panicking.rs:521 1 xul.dll static void std::panicking::continue_panic_fmt src/libstd/panicking.rs:426 2 xul.dll static void std::panicking::rust_begin_panic src/libstd/panicking.rs:337 3 xul.dll static void core::panicking::panic_fmt src/libcore/panicking.rs:92 4 xul.dll static void core::panicking::panic src/libcore/panicking.rs:53 5 xul.dll static union webrender_api::font::FontTemplate* webrender::resource_cache::{{impl}}::get_font_data gfx/webrender/src/resource_cache.rs:276 6 xul.dll static void webrender_bindings::moz2d_renderer::{{impl}}::request gfx/webrender_bindings/src/moz2d_renderer.rs:426 7 xul.dll static void webrender::resource_cache::ResourceCache::request_image gfx/webrender/src/resource_cache.rs:685 8 xul.dll static void webrender::prim_store::PrimitiveStore::prepare_prim_for_render_inner gfx/webrender/src/prim_store.rs:1783 9 xul.dll static union core::option::Option<euclid::rect::TypedRect<f32, webrender_api::units::LayoutPixel>> webrender::prim_store::PrimitiveStore::prepare_prim_for_render gfx/webrender/src/prim_store.rs:2611 =============================================================
Reporter | ||
Updated•6 years ago
|
Flags: needinfo?(bugmail)
Updated•6 years ago
|
Blocks: wr-stability
Comment 1•6 years ago
|
||
I think this has been bug 1413571, but it came back in May.
Comment 2•6 years ago
|
||
/cc Lee since it seems possibly font-related. But it's not high volume so I'm fine with it sitting on the back burner for now. We'll want want to fix it before WR riding the trains, though.
Updated•6 years ago
|
Assignee: nobody → lsalzman
Assignee | ||
Comment 3•6 years ago
|
||
This is based on a patch idea Jeff proposed in bug 1413571. It makes sure the WR user data points to the UnscaledFonts while the blob image is alive. Once the WR user data goes away and its associated RefPtrs go with it, the weak pointer tracking will pick up on this and happily automatically discard things as normal.
Attachment #9003680 -
Flags: review?(jmuizelaar)
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 9003680 [details] [diff] [review] keep track of UnscaledFonts in blob image user data This should be fixed by bug 1480615.
Attachment #9003680 -
Attachment is obsolete: true
Attachment #9003680 -
Flags: review?(jmuizelaar)
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
status-firefox62:
--- → unaffected
status-firefox63:
--- → disabled
status-firefox64:
--- → fixed
status-firefox-esr60:
--- → unaffected
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•