High CPU and memory consumption
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: tsmith, Assigned: alaskanemily)
References
(Blocks 2 open bugs)
Details
(Keywords: csectype-oom, testcase)
Attachments
(2 files)
Found while fuzzing m-c 20221101-d0fd41bff926 (--enable-address-sanitizer --enable-fuzzing)
To reproduce via Grizzly Replay:
$ pip install fuzzfetch grizzly-framework
$ python -m fuzzfetch -a --fuzzing -n firefox
$ ASAN_OPTIONS=hard_rss_limit_mb=6144 python -m grizzly.replay ./firefox/firefox testcase.html
NOTE: Set a reasonable memory limit via ASAN_OPTIONS=hard_rss_limit_mb=# to avoid system OOMs.
When the test case is opened high CPU usage and memory consumption is triggered. Even if the tab running the test case is closed the issue persists.
This might not necessarily be a bug, instead it may highlight an area that could benefit from optimization. The test case may be magnifying an issue that would otherwise go unnoticed. Addressing this would help make the browser more fuzzing friendly.
This test case does not trigger high CPU usage or increased memory consumption on Chrome.
This heap profile was collected when the memory limit was reached.
HEAP PROFILE at RSS 6147Mb
Live Heap Allocations: 2579987763 bytes in 106308980 chunks; quarantined: 16961734 bytes in 72462 chunks; 32807 other chunks; total chunks: 106414249; showing top 90% (at most 20 unique contexts)
754560000 byte(s) (29%) in 4716 allocation(s)
#0 0x55970375df3e in __interceptor_malloc /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:69:3
#1 0x7f0b7389058a in alloc::alloc::alloc::h69b8de495984f0bf /builds/worker/fetches/rust/library/alloc/src/alloc.rs:95:14
#2 0x7f0b7389058a in alloc::alloc::Global::alloc_impl::h8778dcfa578b0d6e /builds/worker/fetches/rust/library/alloc/src/alloc.rs:177:73
#3 0x7f0b7389058a in _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::allocate::h77e13c75d69636a4 /builds/worker/fetches/rust/library/alloc/src/alloc.rs:237:9
#4 0x7f0b7389058a in alloc::raw_vec::RawVec$LT$T$C$A$GT$::allocate_in::hf7b37fd85dfb8966 /builds/worker/fetches/rust/library/alloc/src/raw_vec.rs:185:45
#5 0x7f0b7389058a in alloc::raw_vec::RawVec$LT$T$C$A$GT$::with_capacity_in::h993448689fc9eab8 /builds/worker/fetches/rust/library/alloc/src/raw_vec.rs:131:9
#6 0x7f0b7389058a in alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in::h280c509240a718e4 /builds/worker/fetches/rust/library/alloc/src/vec/mod.rs:641:20
#7 0x7f0b7389058a in _$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$::to_vec::h2c760cc2fb408dc4 /builds/worker/fetches/rust/library/alloc/src/slice.rs:206:27
#8 0x7f0b7389058a in alloc::slice::hack::to_vec::h5b8ff67ac3ad0dc5 /builds/worker/fetches/rust/library/alloc/src/slice.rs:178:9
#9 0x7f0b7389058a in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec_in::h2fcd118b538ad14f /builds/worker/fetches/rust/library/alloc/src/slice.rs:508:9
#10 0x7f0b7389058a in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec::hb7251e707e0fe92a /builds/worker/fetches/rust/library/alloc/src/slice.rs:483:9
#11 0x7f0b7389058a in style_traits::owned_slice::OwnedSlice$LT$T$GT$::from_slice::hf75d13e3ba3ab635 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:102:20
#12 0x7f0b7389058a in _$LT$style_traits..owned_slice..OwnedSlice$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$::clone::h8c7f6df1e2cbcff6 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:63:9
#13 0x7f0b741e2374 in _$LT$style..values..generics..grid..LineNameList$u20$as$u20$core..clone..Clone$GT$::clone::h0f5bef715956a873 /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:657:5
#14 0x7f0b741e2374 in _$LT$style..values..generics..grid..LineNameList$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::h2b31beab68956574 /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:650:5
#15 0x7f0b741e2374 in _$LT$alloc..boxed..Box$LT$T$GT$$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::hfea9dc6e39ed37bf /builds/worker/checkouts/gecko/servo/components/style/values/computed/mod.rs:562:18
#16 0x7f0b741e2374 in _$LT$style..values..generics..grid..GenericGridTemplateComponent$LT$L$C$I$GT$$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::heae241353cf2689e /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:768:5
#17 0x7f0b7483e92d in style::properties::longhands::grid_template_rows::cascade_property::h5c49e9e1ffbd0a46 /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/build/style-d283cc85f8e2fffb/out/longhands/position.rs:4695:32
#18 0x7f0b73282f02 in style::properties::cascade::Cascade::apply_declaration::ha35eeb5b0e650506 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:594:9
#19 0x7f0b73282f02 in style::properties::cascade::Cascade::apply_properties::hce8a80f770a718c9 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:699:13
#20 0x7f0b7328084a in style::properties::cascade::apply_declarations::he107d8b7f3d7ea32 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:361:5
#21 0x7f0b7328084a in style::properties::cascade::cascade_rules::h8640c13353c0ce27 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:194:5
#22 0x7f0b7331343d in style::properties::cascade::cascade::h7c0afd2c7f141ea5 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:72:5
#23 0x7f0b7331343d in style::stylist::Stylist::cascade_style_and_visited::h965fde7ba5d09f53 /builds/worker/checkouts/gecko/servo/components/style/stylist.rs:1082:9
#24 0x7f0b732bd127 in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_style_and_visited::hccfa5a4afd2a68dd /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:347:22
#25 0x7f0b732ba32d in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_primary_style::hb2198b423050a310 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:244:20
#26 0x7f0b732bc989 in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_primary_style::hd671c96537d5e703 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:203:9
#27 0x7f0b732b925e in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_style::h8370bd68fa6c1081 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:260:29
#28 0x7f0b73331a4e in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_style_with_default_parents::_$u7b$$u7b$closure$u7d$$u7d$::hfbb257df02730a3e /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:295:13
#29 0x7f0b73331a4e in style::style_resolver::with_default_parent_styles::h4da48fa6f3cc400d /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:117:5
#30 0x7f0b73331a4e in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_style_with_default_parents::hd2c39e753c9c6aab /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:294:9
#31 0x7f0b73331a4e in style::traversal::compute_style::h06697853f0736501 /builds/worker/checkouts/gecko/servo/components/style/traversal.rs:609:25
#32 0x7f0b73194c90 in style::traversal::recalc_style_at::h4237cdea91cd2355 /builds/worker/checkouts/gecko/servo/components/style/traversal.rs:429:37
#33 0x7f0b73194c90 in _$LT$style..gecko..traversal..RecalcStyleOnly$u20$as$u20$style..traversal..DomTraversal$LT$style..gecko..wrapper..GeckoElement$GT$$GT$::process_preorder::hfa342274a425015d /builds/worker/checkouts/gecko/servo/components/style/gecko/traversal.rs:37:13
#34 0x7f0b73393ec7 in style::parallel::top_down_dom::ha7bb3907335e9de5 /builds/worker/checkouts/gecko/servo/components/style/parallel.rs:194:13
#35 0x7f0b73393ec7 in style::parallel::traverse_nodes::_$u7b$$u7b$closure$u7d$$u7d$::h45a893cf0065e873 /builds/worker/checkouts/gecko/servo/components/style/parallel.rs:289:17
#36 0x7f0b73393ec7 in rayon_core::scope::ScopeFifo::spawn_fifo::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3706ff0a5c7e58aa /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:585:47
#37 0x7f0b73393ec7 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h2c135541ed9cd41e /builds/worker/fetches/rust/library/core/src/panic/unwind_safe.rs:271:9
#38 0x7f0b73393ec7 in std::panicking::try::do_call::h4d506ed619f678b9 /builds/worker/fetches/rust/library/std/src/panicking.rs:492:40
#39 0x7f0b73393ec7 in std::panicking::try::hec8980b0095ffbf0 /builds/worker/fetches/rust/library/std/src/panicking.rs:456:19
#40 0x7f0b73393ec7 in std::panic::catch_unwind::hc7b81d3b257ff087 /builds/worker/fetches/rust/library/std/src/panic.rs:137:14
#41 0x7f0b73393ec7 in rayon_core::unwind::halt_unwinding::h80568287e857d45f /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/unwind.rs:17:5
#42 0x7f0b73393ec7 in rayon_core::scope::ScopeBase::execute_job_closure::h218dbde4976f222d /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:650:15
#43 0x7f0b73393ec7 in rayon_core::scope::ScopeBase::execute_job::h896c2605217594ca /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:640:29
#44 0x7f0b73393ec7 in rayon_core::scope::ScopeFifo::spawn_fifo::_$u7b$$u7b$closure$u7d$$u7d$::h6dbc421fd17e979b /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:585:17
#45 0x7f0b73393ec7 in _$LT$rayon_core..job..HeapJob$LT$BODY$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::hf42c3d9a5d6c878a /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:167:9
#46 0x7f0b74c7ce3e in rayon_core::job::JobRef::execute::h052a2368ed1fd312 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:59:9
#47 0x7f0b74c7ce3e in _$LT$rayon_core..job..JobFifo$u20$as$u20$rayon_core..job..Job$GT$::execute::h73b9b6fd6f16d2aa /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:211:50
#48 0x7f0b5cdbee0f in rayon_core::job::JobRef::execute::h052a2368ed1fd312 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:59:9
#49 0x7f0b5cdbee0f in rayon_core::registry::WorkerThread::execute::h3cb77758ea60aecb /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:752:9
#50 0x7f0b5cdbee0f in rayon_core::registry::WorkerThread::wait_until_cold::h77c5bbfacaa7b910 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:729:17
#51 0x7f0b74c7f360 in rayon_core::registry::WorkerThread::wait_until::hf79ec000ec269415 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:703:13
#52 0x7f0b74c7f360 in rayon_core::registry::main_loop::he27bd32711f1cb18 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:836:5
#53 0x7f0b74c7f360 in rayon_core::registry::ThreadBuilder::run::hcf78d8456b26788e /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:55:18
#54 0x7f0b73670016 in style::global_style_data::thread_spawn::_$u7b$$u7b$closure$u7d$$u7d$::h62d6ac1c6fbbf43b /builds/worker/checkouts/gecko/servo/components/style/global_style_data.rs:65:34
#55 0x7f0b73670016 in std::sys_common::backtrace::__rust_begin_short_backtrace::h7f0a768beee9a285 /builds/worker/fetches/rust/library/std/src/sys_common/backtrace.rs:122:18
#56 0x7f0b73747d38 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h6d5841b0898f301c /builds/worker/fetches/rust/library/std/src/thread/mod.rs:505:17
#57 0x7f0b73747d38 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hf6c0a3ed0427cf3f /builds/worker/fetches/rust/library/core/src/panic/unwind_safe.rs:271:9
#58 0x7f0b73747d38 in std::panicking::try::do_call::h285aad85760f42a1 /builds/worker/fetches/rust/library/std/src/panicking.rs:492:40
#59 0x7f0b73747d38 in std::panicking::try::h02ec83c0e2021b2b /builds/worker/fetches/rust/library/std/src/panicking.rs:456:19
#60 0x7f0b73747d38 in std::panic::catch_unwind::h20b2b651d70a4fab /builds/worker/fetches/rust/library/std/src/panic.rs:137:14
#61 0x7f0b73747d38 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::hcf997befa3e291f4 /builds/worker/fetches/rust/library/std/src/thread/mod.rs:504:30
#62 0x7f0b73747d38 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hbb2d865888303c19 /builds/worker/fetches/rust/library/core/src/ops/function.rs:248:5
#63 0x7f0b74f04b42 in std::sys::unix::thread::Thread::new::thread_start::h1d59faf2361746e5 std.fd78a544-cgu.13
662880000 byte(s) (25%) in 4143 allocation(s)
#0 0x55970375df3e in __interceptor_malloc /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:69:3
#1 0x7f0b7389058a in alloc::alloc::alloc::h69b8de495984f0bf /builds/worker/fetches/rust/library/alloc/src/alloc.rs:95:14
#2 0x7f0b7389058a in alloc::alloc::Global::alloc_impl::h8778dcfa578b0d6e /builds/worker/fetches/rust/library/alloc/src/alloc.rs:177:73
#3 0x7f0b7389058a in _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::allocate::h77e13c75d69636a4 /builds/worker/fetches/rust/library/alloc/src/alloc.rs:237:9
#4 0x7f0b7389058a in alloc::raw_vec::RawVec$LT$T$C$A$GT$::allocate_in::hf7b37fd85dfb8966 /builds/worker/fetches/rust/library/alloc/src/raw_vec.rs:185:45
#5 0x7f0b7389058a in alloc::raw_vec::RawVec$LT$T$C$A$GT$::with_capacity_in::h993448689fc9eab8 /builds/worker/fetches/rust/library/alloc/src/raw_vec.rs:131:9
#6 0x7f0b7389058a in alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in::h280c509240a718e4 /builds/worker/fetches/rust/library/alloc/src/vec/mod.rs:641:20
#7 0x7f0b7389058a in _$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$::to_vec::h2c760cc2fb408dc4 /builds/worker/fetches/rust/library/alloc/src/slice.rs:206:27
#8 0x7f0b7389058a in alloc::slice::hack::to_vec::h5b8ff67ac3ad0dc5 /builds/worker/fetches/rust/library/alloc/src/slice.rs:178:9
#9 0x7f0b7389058a in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec_in::h2fcd118b538ad14f /builds/worker/fetches/rust/library/alloc/src/slice.rs:508:9
#10 0x7f0b7389058a in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec::hb7251e707e0fe92a /builds/worker/fetches/rust/library/alloc/src/slice.rs:483:9
#11 0x7f0b7389058a in style_traits::owned_slice::OwnedSlice$LT$T$GT$::from_slice::hf75d13e3ba3ab635 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:102:20
#12 0x7f0b7389058a in _$LT$style_traits..owned_slice..OwnedSlice$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$::clone::h8c7f6df1e2cbcff6 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:63:9
#13 0x7f0b741e2374 in _$LT$style..values..generics..grid..LineNameList$u20$as$u20$core..clone..Clone$GT$::clone::h0f5bef715956a873 /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:657:5
#14 0x7f0b741e2374 in _$LT$style..values..generics..grid..LineNameList$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::h2b31beab68956574 /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:650:5
#15 0x7f0b741e2374 in _$LT$alloc..boxed..Box$LT$T$GT$$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::hfea9dc6e39ed37bf /builds/worker/checkouts/gecko/servo/components/style/values/computed/mod.rs:562:18
#16 0x7f0b741e2374 in _$LT$style..values..generics..grid..GenericGridTemplateComponent$LT$L$C$I$GT$$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::heae241353cf2689e /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:768:5
#17 0x7f0b7483e92d in style::properties::longhands::grid_template_rows::cascade_property::h5c49e9e1ffbd0a46 /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/build/style-d283cc85f8e2fffb/out/longhands/position.rs:4695:32
#18 0x7f0b73282f02 in style::properties::cascade::Cascade::apply_declaration::ha35eeb5b0e650506 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:594:9
#19 0x7f0b73282f02 in style::properties::cascade::Cascade::apply_properties::hce8a80f770a718c9 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:699:13
#20 0x7f0b7328084a in style::properties::cascade::apply_declarations::he107d8b7f3d7ea32 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:361:5
#21 0x7f0b7328084a in style::properties::cascade::cascade_rules::h8640c13353c0ce27 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:194:5
#22 0x7f0b7331343d in style::properties::cascade::cascade::h7c0afd2c7f141ea5 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:72:5
#23 0x7f0b7331343d in style::stylist::Stylist::cascade_style_and_visited::h965fde7ba5d09f53 /builds/worker/checkouts/gecko/servo/components/style/stylist.rs:1082:9
#24 0x7f0b732bd127 in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_style_and_visited::hccfa5a4afd2a68dd /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:347:22
#25 0x7f0b732ba32d in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_primary_style::hb2198b423050a310 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:244:20
#26 0x7f0b732be296 in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_styles_with_default_parents::_$u7b$$u7b$closure$u7d$$u7d$::h6510417aed1fcc4c /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:376:17
#27 0x7f0b732bdba1 in style::style_resolver::with_default_parent_styles::h5253eb23c08d4bc3 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:117:5
#28 0x7f0b732bdba1 in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_styles_with_default_parents::hab7ee920125c4764 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:374:9
#29 0x7f0b7332fd02 in style::traversal::compute_style::h06697853f0736501 /builds/worker/checkouts/gecko/servo/components/style/traversal.rs:650:17
#30 0x7f0b73194c90 in style::traversal::recalc_style_at::h4237cdea91cd2355 /builds/worker/checkouts/gecko/servo/components/style/traversal.rs:429:37
#31 0x7f0b73194c90 in _$LT$style..gecko..traversal..RecalcStyleOnly$u20$as$u20$style..traversal..DomTraversal$LT$style..gecko..wrapper..GeckoElement$GT$$GT$::process_preorder::hfa342274a425015d /builds/worker/checkouts/gecko/servo/components/style/gecko/traversal.rs:37:13
#32 0x7f0b73393ec7 in style::parallel::top_down_dom::ha7bb3907335e9de5 /builds/worker/checkouts/gecko/servo/components/style/parallel.rs:194:13
#33 0x7f0b73393ec7 in style::parallel::traverse_nodes::_$u7b$$u7b$closure$u7d$$u7d$::h45a893cf0065e873 /builds/worker/checkouts/gecko/servo/components/style/parallel.rs:289:17
#34 0x7f0b73393ec7 in rayon_core::scope::ScopeFifo::spawn_fifo::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3706ff0a5c7e58aa /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:585:47
#35 0x7f0b73393ec7 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h2c135541ed9cd41e /builds/worker/fetches/rust/library/core/src/panic/unwind_safe.rs:271:9
#36 0x7f0b73393ec7 in std::panicking::try::do_call::h4d506ed619f678b9 /builds/worker/fetches/rust/library/std/src/panicking.rs:492:40
#37 0x7f0b73393ec7 in std::panicking::try::hec8980b0095ffbf0 /builds/worker/fetches/rust/library/std/src/panicking.rs:456:19
#38 0x7f0b73393ec7 in std::panic::catch_unwind::hc7b81d3b257ff087 /builds/worker/fetches/rust/library/std/src/panic.rs:137:14
#39 0x7f0b73393ec7 in rayon_core::unwind::halt_unwinding::h80568287e857d45f /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/unwind.rs:17:5
#40 0x7f0b73393ec7 in rayon_core::scope::ScopeBase::execute_job_closure::h218dbde4976f222d /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:650:15
#41 0x7f0b73393ec7 in rayon_core::scope::ScopeBase::execute_job::h896c2605217594ca /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:640:29
#42 0x7f0b73393ec7 in rayon_core::scope::ScopeFifo::spawn_fifo::_$u7b$$u7b$closure$u7d$$u7d$::h6dbc421fd17e979b /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:585:17
#43 0x7f0b73393ec7 in _$LT$rayon_core..job..HeapJob$LT$BODY$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::hf42c3d9a5d6c878a /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:167:9
#44 0x7f0b74c7ce3e in rayon_core::job::JobRef::execute::h052a2368ed1fd312 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:59:9
#45 0x7f0b74c7ce3e in _$LT$rayon_core..job..JobFifo$u20$as$u20$rayon_core..job..Job$GT$::execute::h73b9b6fd6f16d2aa /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:211:50
#46 0x7f0b5cdbee0f in rayon_core::job::JobRef::execute::h052a2368ed1fd312 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:59:9
#47 0x7f0b5cdbee0f in rayon_core::registry::WorkerThread::execute::h3cb77758ea60aecb /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:752:9
#48 0x7f0b5cdbee0f in rayon_core::registry::WorkerThread::wait_until_cold::h77c5bbfacaa7b910 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:729:17
#49 0x7f0b74c7f360 in rayon_core::registry::WorkerThread::wait_until::hf79ec000ec269415 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:703:13
#50 0x7f0b74c7f360 in rayon_core::registry::main_loop::he27bd32711f1cb18 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:836:5
#51 0x7f0b74c7f360 in rayon_core::registry::ThreadBuilder::run::hcf78d8456b26788e /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:55:18
#52 0x7f0b73670016 in style::global_style_data::thread_spawn::_$u7b$$u7b$closure$u7d$$u7d$::h62d6ac1c6fbbf43b /builds/worker/checkouts/gecko/servo/components/style/global_style_data.rs:65:34
#53 0x7f0b73670016 in std::sys_common::backtrace::__rust_begin_short_backtrace::h7f0a768beee9a285 /builds/worker/fetches/rust/library/std/src/sys_common/backtrace.rs:122:18
#54 0x7f0b73747d38 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h6d5841b0898f301c /builds/worker/fetches/rust/library/std/src/thread/mod.rs:505:17
#55 0x7f0b73747d38 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hf6c0a3ed0427cf3f /builds/worker/fetches/rust/library/core/src/panic/unwind_safe.rs:271:9
#56 0x7f0b73747d38 in std::panicking::try::do_call::h285aad85760f42a1 /builds/worker/fetches/rust/library/std/src/panicking.rs:492:40
#57 0x7f0b73747d38 in std::panicking::try::h02ec83c0e2021b2b /builds/worker/fetches/rust/library/std/src/panicking.rs:456:19
#58 0x7f0b73747d38 in std::panic::catch_unwind::h20b2b651d70a4fab /builds/worker/fetches/rust/library/std/src/panic.rs:137:14
#59 0x7f0b73747d38 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::hcf997befa3e291f4 /builds/worker/fetches/rust/library/std/src/thread/mod.rs:504:30
#60 0x7f0b73747d38 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hbb2d865888303c19 /builds/worker/fetches/rust/library/core/src/ops/function.rs:248:5
#61 0x7f0b74f04b42 in std::sys::unix::thread::Thread::new::thread_start::h1d59faf2361746e5 std.fd78a544-cgu.13
377280000 byte(s) (14%) in 47160000 allocation(s)
#0 0x55970375df3e in __interceptor_malloc /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:69:3
#1 0x7f0b73890682 in alloc::alloc::alloc::h69b8de495984f0bf /builds/worker/fetches/rust/library/alloc/src/alloc.rs:95:14
#2 0x7f0b73890682 in alloc::alloc::Global::alloc_impl::h8778dcfa578b0d6e /builds/worker/fetches/rust/library/alloc/src/alloc.rs:177:73
#3 0x7f0b73890682 in _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::allocate::h77e13c75d69636a4 /builds/worker/fetches/rust/library/alloc/src/alloc.rs:237:9
#4 0x7f0b73890682 in alloc::raw_vec::RawVec$LT$T$C$A$GT$::allocate_in::hfdab6a55f2ff7953 /builds/worker/fetches/rust/library/alloc/src/raw_vec.rs:185:45
#5 0x7f0b73890682 in alloc::raw_vec::RawVec$LT$T$C$A$GT$::with_capacity_in::hbb7ef25cb9c504a4 /builds/worker/fetches/rust/library/alloc/src/raw_vec.rs:131:9
#6 0x7f0b73890682 in alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in::hec1300507a0dd59a /builds/worker/fetches/rust/library/alloc/src/vec/mod.rs:641:20
#7 0x7f0b73890682 in _$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$::to_vec::he6f63926e315de06 /builds/worker/fetches/rust/library/alloc/src/slice.rs:206:27
#8 0x7f0b73890682 in alloc::slice::hack::to_vec::h34ffe4d1f92055ae /builds/worker/fetches/rust/library/alloc/src/slice.rs:178:9
#9 0x7f0b73890682 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec_in::h6528b01f6d4309ef /builds/worker/fetches/rust/library/alloc/src/slice.rs:508:9
#10 0x7f0b73890682 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec::h2fd78e9949fd66a7 /builds/worker/fetches/rust/library/alloc/src/slice.rs:483:9
#11 0x7f0b73890682 in style_traits::owned_slice::OwnedSlice$LT$T$GT$::from_slice::h3525ba4cc6e98f41 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:102:20
#12 0x7f0b73890682 in _$LT$style_traits..owned_slice..OwnedSlice$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$::clone::h3a1f2c7169e75ea8 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:63:9
#13 0x7f0b73890682 in _$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$::to_vec::h2c760cc2fb408dc4 /builds/worker/fetches/rust/library/alloc/src/slice.rs:213:32
#14 0x7f0b73890682 in alloc::slice::hack::to_vec::h5b8ff67ac3ad0dc5 /builds/worker/fetches/rust/library/alloc/src/slice.rs:178:9
#15 0x7f0b73890682 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec_in::h2fcd118b538ad14f /builds/worker/fetches/rust/library/alloc/src/slice.rs:508:9
#16 0x7f0b73890682 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec::hb7251e707e0fe92a /builds/worker/fetches/rust/library/alloc/src/slice.rs:483:9
#17 0x7f0b73890682 in style_traits::owned_slice::OwnedSlice$LT$T$GT$::from_slice::hf75d13e3ba3ab635 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:102:20
#18 0x7f0b73890682 in _$LT$style_traits..owned_slice..OwnedSlice$LT$T$GT$$u20$as$u20$core..clone..Clone$GT$::clone::h8c7f6df1e2cbcff6 /builds/worker/checkouts/gecko/servo/components/style_traits/owned_slice.rs:63:9
#19 0x7f0b741e2374 in _$LT$style..values..generics..grid..LineNameList$u20$as$u20$core..clone..Clone$GT$::clone::h0f5bef715956a873 /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:657:5
#20 0x7f0b741e2374 in _$LT$style..values..generics..grid..LineNameList$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::h2b31beab68956574 /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:650:5
#21 0x7f0b741e2374 in _$LT$alloc..boxed..Box$LT$T$GT$$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::hfea9dc6e39ed37bf /builds/worker/checkouts/gecko/servo/components/style/values/computed/mod.rs:562:18
#22 0x7f0b741e2374 in _$LT$style..values..generics..grid..GenericGridTemplateComponent$LT$L$C$I$GT$$u20$as$u20$style..values..computed..ToComputedValue$GT$::to_computed_value::heae241353cf2689e /builds/worker/checkouts/gecko/servo/components/style/values/generics/grid.rs:768:5
#23 0x7f0b7483e92d in style::properties::longhands::grid_template_rows::cascade_property::h5c49e9e1ffbd0a46 /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/build/style-d283cc85f8e2fffb/out/longhands/position.rs:4695:32
#24 0x7f0b73282f02 in style::properties::cascade::Cascade::apply_declaration::ha35eeb5b0e650506 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:594:9
#25 0x7f0b73282f02 in style::properties::cascade::Cascade::apply_properties::hce8a80f770a718c9 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:699:13
#26 0x7f0b7328084a in style::properties::cascade::apply_declarations::he107d8b7f3d7ea32 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:361:5
#27 0x7f0b7328084a in style::properties::cascade::cascade_rules::h8640c13353c0ce27 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:194:5
#28 0x7f0b7331343d in style::properties::cascade::cascade::h7c0afd2c7f141ea5 /builds/worker/checkouts/gecko/servo/components/style/properties/cascade.rs:72:5
#29 0x7f0b7331343d in style::stylist::Stylist::cascade_style_and_visited::h965fde7ba5d09f53 /builds/worker/checkouts/gecko/servo/components/style/stylist.rs:1082:9
#30 0x7f0b732bd127 in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_style_and_visited::hccfa5a4afd2a68dd /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:347:22
#31 0x7f0b732ba32d in style::style_resolver::StyleResolverForElement$LT$E$GT$::cascade_primary_style::hb2198b423050a310 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:244:20
#32 0x7f0b732bc989 in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_primary_style::hd671c96537d5e703 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:203:9
#33 0x7f0b732b925e in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_style::h8370bd68fa6c1081 /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:260:29
#34 0x7f0b73331a4e in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_style_with_default_parents::_$u7b$$u7b$closure$u7d$$u7d$::hfbb257df02730a3e /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:295:13
#35 0x7f0b73331a4e in style::style_resolver::with_default_parent_styles::h4da48fa6f3cc400d /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:117:5
#36 0x7f0b73331a4e in style::style_resolver::StyleResolverForElement$LT$E$GT$::resolve_style_with_default_parents::hd2c39e753c9c6aab /builds/worker/checkouts/gecko/servo/components/style/style_resolver.rs:294:9
#37 0x7f0b73331a4e in style::traversal::compute_style::h06697853f0736501 /builds/worker/checkouts/gecko/servo/components/style/traversal.rs:609:25
#38 0x7f0b73194c90 in style::traversal::recalc_style_at::h4237cdea91cd2355 /builds/worker/checkouts/gecko/servo/components/style/traversal.rs:429:37
#39 0x7f0b73194c90 in _$LT$style..gecko..traversal..RecalcStyleOnly$u20$as$u20$style..traversal..DomTraversal$LT$style..gecko..wrapper..GeckoElement$GT$$GT$::process_preorder::hfa342274a425015d /builds/worker/checkouts/gecko/servo/components/style/gecko/traversal.rs:37:13
#40 0x7f0b73393ec7 in style::parallel::top_down_dom::ha7bb3907335e9de5 /builds/worker/checkouts/gecko/servo/components/style/parallel.rs:194:13
#41 0x7f0b73393ec7 in style::parallel::traverse_nodes::_$u7b$$u7b$closure$u7d$$u7d$::h45a893cf0065e873 /builds/worker/checkouts/gecko/servo/components/style/parallel.rs:289:17
#42 0x7f0b73393ec7 in rayon_core::scope::ScopeFifo::spawn_fifo::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3706ff0a5c7e58aa /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:585:47
#43 0x7f0b73393ec7 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h2c135541ed9cd41e /builds/worker/fetches/rust/library/core/src/panic/unwind_safe.rs:271:9
#44 0x7f0b73393ec7 in std::panicking::try::do_call::h4d506ed619f678b9 /builds/worker/fetches/rust/library/std/src/panicking.rs:492:40
#45 0x7f0b73393ec7 in std::panicking::try::hec8980b0095ffbf0 /builds/worker/fetches/rust/library/std/src/panicking.rs:456:19
#46 0x7f0b73393ec7 in std::panic::catch_unwind::hc7b81d3b257ff087 /builds/worker/fetches/rust/library/std/src/panic.rs:137:14
#47 0x7f0b73393ec7 in rayon_core::unwind::halt_unwinding::h80568287e857d45f /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/unwind.rs:17:5
#48 0x7f0b73393ec7 in rayon_core::scope::ScopeBase::execute_job_closure::h218dbde4976f222d /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:650:15
#49 0x7f0b73393ec7 in rayon_core::scope::ScopeBase::execute_job::h896c2605217594ca /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:640:29
#50 0x7f0b73393ec7 in rayon_core::scope::ScopeFifo::spawn_fifo::_$u7b$$u7b$closure$u7d$$u7d$::h6dbc421fd17e979b /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/scope/mod.rs:585:17
#51 0x7f0b73393ec7 in _$LT$rayon_core..job..HeapJob$LT$BODY$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::hf42c3d9a5d6c878a /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:167:9
#52 0x7f0b74c7ce3e in rayon_core::job::JobRef::execute::h052a2368ed1fd312 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:59:9
#53 0x7f0b74c7ce3e in _$LT$rayon_core..job..JobFifo$u20$as$u20$rayon_core..job..Job$GT$::execute::h73b9b6fd6f16d2aa /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:211:50
#54 0x7f0b5cdbee0f in rayon_core::job::JobRef::execute::h052a2368ed1fd312 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:59:9
#55 0x7f0b5cdbee0f in rayon_core::registry::WorkerThread::execute::h3cb77758ea60aecb /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:752:9
#56 0x7f0b5cdbee0f in rayon_core::registry::WorkerThread::wait_until_cold::h77c5bbfacaa7b910 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:729:17
#57 0x7f0b74c7f360 in rayon_core::registry::WorkerThread::wait_until::hf79ec000ec269415 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:703:13
#58 0x7f0b74c7f360 in rayon_core::registry::main_loop::he27bd32711f1cb18 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:836:5
#59 0x7f0b74c7f360 in rayon_core::registry::ThreadBuilder::run::hcf78d8456b26788e /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:55:18
#60 0x7f0b73670016 in style::global_style_data::thread_spawn::_$u7b$$u7b$closure$u7d$$u7d$::h62d6ac1c6fbbf43b /builds/worker/checkouts/gecko/servo/components/style/global_style_data.rs:65:34
#61 0x7f0b73670016 in std::sys_common::backtrace::__rust_begin_short_backtrace::h7f0a768beee9a285 /builds/worker/fetches/rust/library/std/src/sys_common/backtrace.rs:122:18
#62 0x7f0b73747d38 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h6d5841b0898f301c /builds/worker/fetches/rust/library/std/src/thread/mod.rs:505:17
#63 0x7f0b73747d38 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hf6c0a3ed0427cf3f /builds/worker/fetches/rust/library/core/src/panic/unwind_safe.rs:271:9
#64 0x7f0b73747d38 in std::panicking::try::do_call::h285aad85760f42a1 /builds/worker/fetches/rust/library/std/src/panicking.rs:492:40
#65 0x7f0b73747d38 in std::panicking::try::h02ec83c0e2021b2b /builds/worker/fetches/rust/library/std/src/panicking.rs:456:19
#66 0x7f0b73747d38 in std::panic::catch_unwind::h20b2b651d70a4fab /builds/worker/fetches/rust/library/std/src/panic.rs:137:14
#67 0x7f0b73747d38 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::hcf997befa3e291f4 /builds/worker/fetches/rust/library/std/src/thread/mod.rs:504:30
#68 0x7f0b73747d38 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hbb2d865888303c19 /builds/worker/fetches/rust/library/core/src/ops/function.rs:248:5
#69 0x7f0b74f04b42 in std::sys::unix::thread::Thread::new::thread_start::h1d59faf2361746e5 std.fd78a544-cgu.13
| Assignee | ||
Comment 1•3 years ago
|
||
This helps avoid OOM with very large repeats.
| Assignee | ||
Comment 2•3 years ago
|
||
This is largely as a result of bug 1583429, though I can simply limit the size of the subgrid name list because we currently just fully construct the list and then truncate it later if it's past our limit which does mean we can store any size of list while constructing the list initially.
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•