Closed Bug 1494720 Opened 6 years ago Closed 5 years ago

Crash in webrender::prim_store::Primitive::prepare_prim_for_render_inner: assertion failed: self.font_contexts.lock_shared_context().has_font(&font.font_key)

Categories

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

64 Branch
Unspecified
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr60 --- unaffected
firefox62 --- unaffected
firefox63 --- unaffected
firefox64 --- disabled
firefox65 --- wontfix

People

(Reporter: calixte, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

Crash Data

This bug was filed from the Socorro interface and is
report bp-3fec9a58-a230-4afe-a07a-1c1040180927.
=============================================================

Top 10 frames of crashing thread:

0 xul.dll static void std::panicking::rust_panic_with_hook src/libstd/panicking.rs:485
1 xul.dll static <NoType> std::panicking::begin_panic<str*> src/libstd/panicking.rs:409
2 xul.dll static void webrender::prim_store::Primitive::prepare_prim_for_render_inner gfx/webrender/src/prim_store.rs:2738
3 xul.dll static bool webrender::prim_store::PrimitiveStore::prepare_prim_for_render gfx/webrender/src/prim_store.rs:1812
4 xul.dll static void webrender::prim_store::PrimitiveStore::prepare_primitives gfx/webrender/src/prim_store.rs:1904
5 xul.dll static bool webrender::prim_store::PrimitiveStore::prepare_prim_for_render gfx/webrender/src/prim_store.rs:1639
6 xul.dll static void webrender::prim_store::PrimitiveStore::prepare_primitives gfx/webrender/src/prim_store.rs:1904
7 xul.dll static bool webrender::prim_store::PrimitiveStore::prepare_prim_for_render gfx/webrender/src/prim_store.rs:1639
8 xul.dll static void webrender::prim_store::PrimitiveStore::prepare_primitives gfx/webrender/src/prim_store.rs:1904
9 xul.dll static bool webrender::prim_store::PrimitiveStore::prepare_prim_for_render gfx/webrender/src/prim_store.rs:1639

=============================================================

There are 4 crashes (from 1 installation) in nightly 64 with buildid 20180926220146. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1494042.

[1] https://hg.mozilla.org/mozilla-central/rev?node=3122696fa3fa
Flags: needinfo?(jan)
The crash reason is: assertion failed: self.font_contexts.lock_shared_context().has_font(&font.font_key)
This happens every few weeks and could be a duplicate of bug 1425181.

> by patch [1] to fix bug 1494042
https://github.com/servo/webrender/compare/2549b791abb3a24c115d03616ddd82e14727b5a1...43e8d85789efb95099affe3257a9c254ef3d2f4c
Flags: needinfo?(jan)
Priority: -- → P4
See Also: → 1425181
Blocks: wr-67
No longer blocks: stage-wr-trains
Priority: P4 → P3
Summary: Crash in webrender::prim_store::Primitive::prepare_prim_for_render_inner → Crash in webrender::prim_store::Primitive::prepare_prim_for_render_inner: assertion failed: self.font_contexts.lock_shared_context().has_font(&font.font_key)
Blocks: wr-68
No longer blocks: wr-67
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.