Open Bug 1730467 Opened 3 years ago Updated 3 years ago

Crash in [@ <webrender::platform::unix::font::FontContext as webrender::glyph_rasterizer::AddFont>::add_font]

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- wontfix
firefox94 --- wontfix

People

(Reporter: gsvelto, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/fd0dd008-bde0-4811-84d1-ea5400210911

MOZ_CRASH Reason: adding native font failed

Top 10 frames of crashing thread:

0 libxul.so RustMozCrash mozglue/static/rust/wrappers.cpp:18
1 libxul.so mozglue_static::panic_hook mozglue/static/rust/lib.rs:91
2 libxul.so core::ops::function::Fn::call library/core/src/ops/function.rs:70
3 libxul.so std::panicking::rust_panic_with_hook library/std/src/panicking.rs:626
4 libxul.so std::panicking::begin_panic::{{closure}} library/std/src/panicking.rs:542
5 libxul.so std::sys_common::backtrace::__rust_end_short_backtrace library/std/src/sys_common/backtrace.rs:141
6 libxul.so std::panicking::begin_panic library/std/src/panicking.rs:541
7 libxul.so <webrender::platform::unix::font::FontContext as webrender::glyph_rasterizer::AddFont>::add_font gfx/wr/webrender/src/glyph_rasterizer/mod.rs:1107
8 libxul.so <rayon_core::job::HeapJob<BODY> as rayon_core::job::Job>::execute third_party/rust/rayon-core/src/job.rs:167
9 libxul.so rayon_core::registry::WorkerThread::wait_until_cold third_party/rust/rayon-core/src/registry.rs:726

This seems to have started in buildid 20210907094849. One installation is responsible for almost all of the crashes but there's at least another user experiencing the same problem so this looks like a valid crash. Here's a bunch of URLs from the crash reports:

My bad, there were crashes in the past w/ this signature but they seem to have stopped for a while before restarting recently.

Jeff, maybe you could take a look?

Component: Layout: Text and Fonts → Graphics: WebRender
Flags: needinfo?(jmuizelaar)
Regressed by: 1728662
Has Regression Range: --- → yes

We should add the file name of the failing font to the panic message.

Depends on: 1730575
Flags: needinfo?(jmuizelaar)
Severity: S2 → S4

One of the crashes is failing with msyh.ttc which is Microsoft YaHei

You need to log in before you can comment on or make changes to this bug.