Closed Bug 1742403 Opened 4 years ago Closed 1 year ago

Crash in [@ rayon_core::registry::WorkerThread::wait_until_cold]

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 96
Unspecified
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 --- wontfix

People

(Reporter: calixte, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/04d89d4e-a768-4c36-89a0-b72e90211121

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0 xul.dll rayon_core::registry::WorkerThread::wait_until_cold third_party/rust/rayon-core/src/registry.rs:720
1 xul.dll std::sys_common::backtrace::__rust_begin_short_backtrace<rayon_core::registry::impl$2::spawn::closure$0, tuple$<> > ../09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys_common/backtrace.rs:125
2 xul.dll alloc::raw_vec::finish_grow<alloc::alloc::Global> ../09c42c45858d5f3aedfa670698275303a3d19afa/library/alloc/src/raw_vec.rs:507
3  @0x1b49f08a2bf 
4 xul.dll alloc::raw_vec::finish_grow<alloc::alloc::Global> ../09c42c45858d5f3aedfa670698275303a3d19afa/library/alloc/src/raw_vec.rs:513
5 xul.dll alloc::raw_vec::impl$1::reserve::do_reserve_and_handle<tuple$<ptr_mut$<u8>, void  ../09c42c45858d5f3aedfa670698275303a3d19afa/library/alloc/src/raw_vec.rs:334
6 xul.dll std::sys_common::thread_local_dtor::register_dtor_fallback ../09c42c45858d5f3aedfa670698275303a3d19afa//library/std/src/sys_common/thread_local_dtor.rs:32
7 xul.dll std::thread::local::fast::Key::try_initialize<core::cell::RefCell<enum$<core::option::Option<std::sys_common::thread_info::ThreadInfo>, 1, 18446744073709551615, Some> >, core::cell::RefCell<enum$<core::option::Option<std::sys_common::thread_info::ThreadInfo>, 1, 18446744073709551615, Some> >  ../09c42c45858d5f3aedfa670698275303a3d19afa//library/std/src/thread/local.rs:607
8 xul.dll std::sys_common::thread_info::set ../09c42c45858d5f3aedfa670698275303a3d19afa//library/std/src/sys_common/thread_info.rs:40
9 xul.dll core::ops::function::FnOnce::call_once<std::thread::impl$0::spawn_unchecked::closure$0, tuple$<> > ../09c42c45858d5f3aedfa670698275303a3d19afa/library/core/src/ops/function.rs:227

There are 29 crashes (from 17 installations) in nightly 96 with buildid 20211120215911. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1740627.

[1] https://hg.mozilla.org/mozilla-central/rev?node=36e2b3fafc78

Flags: needinfo?(tkikuchi)

It's strange that this crash spiked only on 20211120215911. Every thread starts from BaseThreadInitThunk, so having patched_BaseThreadInitThunk in the crashing stack is nothing special. We need to monitor this and see if another spike happens, but I don't think this was caused by bug 1740627.

Flags: needinfo?(tkikuchi)
Component: DLL Services → CSS Parsing and Computation

I don't see anything obvious here.

Emilio, given that the volume here is pretty low, could you reassess the severity?

Flags: needinfo?(emilio)
Severity: S2 → S3
Flags: needinfo?(emilio)

Closing because no crashes reported for 12 weeks.

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