Skip to content

Intermittent font thread panic on macOS #24369

@jdm

Description

@jdm
  ▶ TIMEOUT [expected PASS] /css/css-text/word-break/word-break-break-all-005.html
  │ 
  │ 
  │ 
  │ 
  │ No URL for Core Text font! (thread FontCacheThread, at src/libcore/option.rs:1190)
  │ stack backtrace:
  │    0: backtrace::backtrace::trace::haa6dd3b040c7ddf2 (0x112b39c5c)
  │    1: backtrace::capture::Backtrace::new::h956e08fab8d0a34b (0x112b38eb8)
  │    2: servo::main::{{closure}}::h21d5f00a986eadd1 (0x10fcca237)
  │    3: std::panicking::rust_panic_with_hook::he9c773346a268707 (0x112cef1c2)
  │    4: std::panicking::continue_panic_fmt::h6ce88923515447fe (0x112ceec2d)
  │    5: rust_begin_unwind (0x112ceeb29)
  │    6: core::panicking::panic_fmt::h374d7a5fcdeaf2cf (0x112d0fa8f)
  │    7: core::option::expect_failed::h51d1f592c0e14e9e (0x112d0faee)
  │    8: gfx::platform::macos::font_template::FontTemplateData::bytes::he02fc2d061ee11d5 (0x111e0d119)
  │    9: gfx::font_cache_thread::FontCache::run::hb2476063f0797ad4 (0x111e3d717)
  │   10: std::sys_common::backtrace::__rust_begin_short_backtrace::h0c0250cf0a76eaa1 (0x111e08ca9)
  │   11: _ZN3std9panicking3try7do_call17he40bfd1daf878945E.llvm.1857120271508701687 (0x111e0947e)
  │   12: __rust_maybe_catch_panic (0x112cf740f)
  │   13: core::ops::function::FnOnce::call_once{{vtable.shim}}::h8911130016328187 (0x111e09576)
  │   14: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h05d1dd9ed3001f9a (0x112cdeb9e)
  │   15: std::sys::unix::thread::Thread::new::thread_start::h31206210a464c44a (0x112cf692e)
  │   16: _pthread_body (0x7fff76978661)
  │   17: _pthread_start (0x7fff7697850d)

This looks like it's probably a regression from #24347 :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions