Hit MOZ_CRASH(We compared center with min and max, how are min / max not comparable with each other?) at servo/components/style/values/generics/calc.rs:1338
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: tsmith, Assigned: emilio)
References
(Blocks 1 open bug, )
Details
(Keywords: assertion, pernosco)
Attachments
(3 files)
Found with m-c 20250313-a1cc47ed2278 (--enable-debug)
This was found by visiting a live website with a debug build.
STR:
- Launch browser and visit site
This issue was triggered by visiting http://subtlbeauty.com/
.
Hit MOZ_CRASH(We compared center with min and max, how are min / max not comparable with each other?) at servo/components/style/values/generics/calc.rs:1338
#0 0x7ffff11d549a in MOZ_CrashSequence /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:267:3
#1 0x7ffff11d549a in MOZ_Crash /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:382:3
#2 0x7ffff11d549a in RustMozCrash /builds/worker/checkouts/gecko/mozglue/static/rust/wrappers.cpp:18:3
#3 0x7ffff11d4fd4 in mozglue_static::panic_hook::h004c6c830efa4545 /builds/worker/checkouts/gecko/mozglue/static/rust/lib.rs:99:9
#4 0x7ffff11d4a8b in core::ops::function::Fn::call::hbce9ba7b6fe0672c /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/ops/function.rs:79:5
#5 0x7ffff2680632 in _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..Fn$LT$Args$GT$$GT$::call::h3af32c23caf5c679 /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9
#6 0x7ffff2680632 in std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13
#7 0x7ffff268043b in std::panicking::begin_panic::_$u7b$$u7b$closure$u7d$$u7d$::ha9082e1930280418 /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:765:9
#8 0x7ffff267f418 in std::sys::backtrace::__rust_end_short_backtrace::h6f7030f97d3faa89 /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18
#9 0x7ffff2680341 in std::panicking::begin_panic::h2d0d20b8df2bfe77 /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:764:5
#10 0x7ffff2253432 in style::values::generics::calc::GenericCalcNode$LT$L$GT$::simplify_and_sort_direct_children::h10afb4a1d4053e97 /builds/worker/checkouts/gecko/servo/components/style/values/generics/calc.rs:1338:29
#11 0x7ffff22b0582 in style::values::generics::calc::GenericCalcNode$LT$L$GT$::visit_depth_first::hc4d4c341dd0bb772 /builds/worker/checkouts/gecko/servo/components/style/values/generics/calc.rs:1231:9
#12 0x7ffff22b0582 in style::values::generics::calc::GenericCalcNode$LT$L$GT$::simplify_and_sort::h5440c82f4b3f8073 /builds/worker/checkouts/gecko/servo/components/style/values/generics/calc.rs:1724:14
#13 0x7ffff22b0582 in style::values::specified::calc::_$LT$impl$u20$style..values..generics..calc..GenericCalcNode$LT$style..values..specified..calc..Leaf$GT$$GT$::into_length_or_percentage::h0878e27db73dc948 /builds/worker/checkouts/gecko/servo/components/style/values/specified/calc.rs:1069:14
#14 0x7ffff22b0582 in style::values::specified::calc::_$LT$impl$u20$style..values..generics..calc..GenericCalcNode$LT$style..values..specified..calc..Leaf$GT$$GT$::parse_length_or_percentage::hb52a1f1e7d8bd12d /builds/worker/checkouts/gecko/servo/components/style/values/specified/calc.rs:1190:9
#15 0x7ffff22e740b in style::values::specified::length::LengthPercentage::parse_internal::hf673aa9fda5d7f25 /builds/worker/checkouts/gecko/servo/components/style/values/specified/length.rs:1726:28
#16 0x7ffff22ea185 in style::values::specified::length::LengthPercentage::parse_quirky_with_anchor_size_function::hed568ec487effafb /builds/worker/checkouts/gecko/servo/components/style/values/specified/length.rs:1758:9
#17 0x7ffff22ea185 in style::values::specified::length::_$LT$impl$u20$style..values..generics..length..GenericMargin$LT$style..values..specified..length..LengthPercentage$GT$$GT$::parse_quirky::_$u7b$$u7b$closure$u7d$$u7d$::h179c607c18eae0fe /builds/worker/checkouts/gecko/servo/components/style/values/specified/length.rs:2155:13
#18 0x7ffff22ea185 in cssparser::parser::Parser::try_parse::h49c9c53c85c7c343 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:583:22
#19 0x7ffff22ea185 in style::values::specified::length::_$LT$impl$u20$style..values..generics..length..GenericMargin$LT$style..values..specified..length..LengthPercentage$GT$$GT$::parse_quirky::h16325dac07bf9d9f /builds/worker/checkouts/gecko/servo/components/style/values/specified/length.rs:2154:24
#20 0x7ffff24d808b in style::properties::generated::shorthands::margin::parse_value::_$u7b$$u7b$closure$u7d$$u7d$::hf652c7d80798c6aa /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/debug/build/style-9641e7573cb4af1d/out/properties.rs:79888:17
#21 0x7ffff24d808b in style::values::generics::rect::Rect$LT$T$GT$::parse_with::_$u7b$$u7b$closure$u7d$$u7d$::h0605eb2c567b54de /builds/worker/checkouts/gecko/servo/components/style/values/generics/rect.rs:60:62
#22 0x7ffff24d808b in cssparser::parser::Parser::try_parse::h572267442ecee761 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:583:22
#23 0x7ffff24d808b in style::values::generics::rect::Rect$LT$T$GT$::parse_with::h00f0803209a22701 /builds/worker/checkouts/gecko/servo/components/style/values/generics/rect.rs:60:42
#24 0x7ffff24d808b in style::properties::generated::shorthands::margin::parse_value::hb0499de6fdc390e9 /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/debug/build/style-9641e7573cb4af1d/out/properties.rs:79884:24
#25 0x7ffff24d808b in style::properties::generated::shorthands::margin::parse_into::_$u7b$$u7b$closure$u7d$$u7d$::h5b3189713180be63 /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/debug/build/style-9641e7573cb4af1d/out/properties.rs:79849:42
#26 0x7ffff24d808b in cssparser::parser::Parser::parse_entirely::h9c42998e7f5946cc /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:693:22
#27 0x7ffff24d808b in style::properties::generated::shorthands::margin::parse_into::hddcb1b20843c491a /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/debug/build/style-9641e7573cb4af1d/out/properties.rs:79849:13
#28 0x7ffff232c83f in style::properties::generated::ShorthandId::parse_into::h2fc27a380bd3f019 /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/debug/build/style-9641e7573cb4af1d/out/properties.rs:132138:9
#29 0x7ffff232c83f in style::properties::_$LT$impl$u20$style..properties..generated..PropertyDeclaration$GT$::parse_into::_$u7b$$u7b$closure$u7d$$u7d$::h7a6cdaa69b803d28 /builds/worker/checkouts/gecko/servo/components/style/properties/mod.rs:897:43
#30 0x7ffff232c83f in style::properties::parse_non_custom_property_declaration_value_into::h80a1208f01c5988b /builds/worker/checkouts/gecko/servo/components/style/properties/mod.rs:728:21
#31 0x7ffff232c83f in style::properties::_$LT$impl$u20$style..properties..generated..PropertyDeclaration$GT$::parse_into::h6e0d8ca74b0ddaad /builds/worker/checkouts/gecko/servo/components/style/properties/mod.rs:890:17
#32 0x7ffff23265cc in style::properties::declaration_block::DeclarationParserState::parse_value::_$u7b$$u7b$closure$u7d$$u7d$::h750d8ebfdc8c8a29 /builds/worker/checkouts/gecko/servo/components/style/properties/declaration_block.rs:1463:13
#33 0x7ffff23265cc in cssparser::parser::Parser::parse_entirely::hb32f93bddd2829b5 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:693:22
#34 0x7ffff23265cc in cssparser::parser::parse_until_before::h04ff935e340c5c25 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:1063:18
#35 0x7ffff23265cc in cssparser::parser::Parser::parse_until_before::hf96f6ac000fda72a /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:801:9
#36 0x7ffff23265cc in style::properties::declaration_block::DeclarationParserState::parse_value::h32fd85167742a8bf /builds/worker/checkouts/gecko/servo/components/style/properties/declaration_block.rs:1462:15
#37 0x7ffff21dc9f1 in _$LT$style..stylesheets..rule_parser..NestedRuleParser$u20$as$u20$cssparser..rules_and_declarations..DeclarationParser$GT$::parse_value::h72783b413b02092f /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:1021:9
#38 0x7ffff21dc9f1 in _$LT$cssparser..rules_and_declarations..RuleBodyParser$LT$P$C$I$C$E$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::_$u7b$$u7b$closure$u7d$$u7d$::h67d5cb61d5828046 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:283:33
#39 0x7ffff21dc9f1 in cssparser::parser::Parser::parse_entirely::h37b9e196f428f0ce /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:693:22
#40 0x7ffff21dc9f1 in cssparser::parser::parse_until_before::hb16486d480260e3d /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:1063:18
#41 0x7ffff21dc9f1 in cssparser::parser::parse_until_after::h3ac8b7cb30448ab7 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:1096:18
#42 0x7ffff21dc9f1 in _$LT$cssparser..rules_and_declarations..RuleBodyParser$LT$P$C$I$C$E$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::haf4a34589c7537ba /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:277:25
#43 0x7ffff21dc9f1 in style::stylesheets::rule_parser::NestedRuleParser::parse_nested::_$u7b$$u7b$closure$u7d$$u7d$::ha9b1fe74a7b4beb8 /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:562:38
#44 0x7ffff21e3e0d in style::stylesheets::rule_parser::NestedRuleParser::nest_for_rule::hb6d903745facc37d /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:535:17
#45 0x7ffff21e3e0d in style::stylesheets::rule_parser::NestedRuleParser::parse_nested::hef80148c1cd4675a /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:556:9
#46 0x7ffff21e3e0d in _$LT$style..stylesheets..rule_parser..NestedRuleParser$u20$as$u20$cssparser..rules_and_declarations..QualifiedRuleParser$GT$::parse_block::he766c5ceb4949591 /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:990:22
#47 0x7ffff210538c in cssparser::rules_and_declarations::parse_qualified_rule::_$u7b$$u7b$closure$u7d$$u7d$::h2c0b9e46f0f9b859 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:539:39
#48 0x7ffff210538c in cssparser::parser::Parser::parse_entirely::hc72e1070463bb09f /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:693:22
#49 0x7ffff20fa774 in cssparser::parser::parse_nested_block::h8402348542f25904 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:1143:18
#50 0x7ffff20fa774 in cssparser::rules_and_declarations::parse_qualified_rule::h2029ce9a1afc6933 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:539:5
#51 0x7ffff21dbe7a in _$LT$cssparser..rules_and_declarations..RuleBodyParser$LT$P$C$I$C$E$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::haf4a34589c7537ba /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:307:25
#52 0x7ffff21dbe7a in style::stylesheets::rule_parser::NestedRuleParser::parse_nested::_$u7b$$u7b$closure$u7d$$u7d$::ha9b1fe74a7b4beb8 /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:562:38
#53 0x7ffff21e0f28 in style::stylesheets::rule_parser::NestedRuleParser::nest_for_rule::hb6d903745facc37d /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:535:17
#54 0x7ffff21e0f28 in style::stylesheets::rule_parser::NestedRuleParser::parse_nested::hef80148c1cd4675a /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:556:9
#55 0x7ffff21e0f28 in style::stylesheets::rule_parser::NestedRuleParser::parse_nested_rules::h81c85de1fa9c5948 /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:545:21
#56 0x7ffff21e0f28 in _$LT$style..stylesheets..rule_parser..NestedRuleParser$u20$as$u20$cssparser..rules_and_declarations..AtRuleParser$GT$::parse_block::hbbd3c69468d5821d /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:809:28
#57 0x7ffff20f91f7 in _$LT$style..stylesheets..rule_parser..TopLevelRuleParser$u20$as$u20$cssparser..rules_and_declarations..AtRuleParser$GT$::parse_block::hc25212d6470479b7 /builds/worker/checkouts/gecko/servo/components/style/stylesheets/rule_parser.rs:398:9
#58 0x7ffff20f91f7 in cssparser::rules_and_declarations::parse_at_rule::_$u7b$$u7b$closure$u7d$$u7d$::hd0cdd9f813289e3d /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:473:55
#59 0x7ffff20f91f7 in cssparser::parser::Parser::parse_entirely::hd02f2433a3408623 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:693:22
#60 0x7ffff20f91f7 in cssparser::parser::parse_nested_block::h623d76ad9a1e886e /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/parser.rs:1143:18
#61 0x7ffff20f91f7 in cssparser::rules_and_declarations::parse_at_rule::h3c6b7791d615e2ed /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:473:21
#62 0x7ffff21e9f52 in _$LT$cssparser..rules_and_declarations..StyleSheetParser$LT$P$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::h0f59f7566b3020e0 /builds/worker/checkouts/gecko/third_party/rust/cssparser/src/rules_and_declarations.rs:383:33
#63 0x7ffff21e9f52 in style::stylesheets::stylesheet::Stylesheet::parse_rules::h99a319745cd5b8d5 /builds/worker/checkouts/gecko/servo/components/style/stylesheets/stylesheet.rs:475:38
#64 0x7ffff21e82ed in style::stylesheets::stylesheet::StylesheetContents::from_str::h6ab5543832bf7781 /builds/worker/checkouts/gecko/servo/components/style/stylesheets/stylesheet.rs:89:63
#65 0x7ffff1fe48e8 in geckoservo::stylesheet_loader::AsyncStylesheetParser::parse::h4107eae3e72ce8e0 /builds/worker/checkouts/gecko/servo/ports/geckolib/stylesheet_loader.rs:135:21
#66 0x7ffff1ee7096 in geckoservo::glue::Servo_StyleSheet_FromUTF8BytesAsync::_$u7b$$u7b$closure$u7d$$u7d$::h3a124f443ba04a50 /builds/worker/checkouts/gecko/servo/ports/geckolib/glue.rs:1697:13
#67 0x7ffff1ee7096 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h2f601d0ed5625acf /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9
#68 0x7ffff1ee7096 in std::panicking::try::do_call::h8db7e8a021376550 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:584:40
#69 0x7ffff1ee7096 in std::panicking::try::h81d5d951b3bfa727 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:547:19
#70 0x7ffff1ee7096 in std::panic::catch_unwind::h9681b244085f8fe9 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:358:14
#71 0x7ffff1ee7096 in rayon_core::unwind::halt_unwinding::hcda2ea554de530c5 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/unwind.rs:17:5
#72 0x7ffff1ee7096 in rayon_core::registry::Registry::catch_unwind::h6220f6894391dd39 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:367:27
#73 0x7ffff1ee7096 in rayon_core::spawn::spawn_job::_$u7b$$u7b$closure$u7d$$u7d$::he2494b206312e7e5 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/spawn/mod.rs:97:13
#74 0x7ffff1ee7096 in _$LT$rayon_core..job..HeapJob$LT$BODY$GT$$u20$as$u20$rayon_core..job..Job$GT$::execute::h60afb5ab2130e7f1 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:169:9
#75 0x7ffff25bc0f6 in rayon_core::job::JobRef::execute::h688a0ba7cc8c3fda /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/job.rs:64:9
#76 0x7ffff25bc0f6 in rayon_core::registry::WorkerThread::execute::h9d74cecdaa1a14bc /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:860:13
#77 0x7ffff25bc0f6 in rayon_core::registry::WorkerThread::wait_until_cold::ha5d7fdea283336e3 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs
#78 0x7ffff25b84e2 in rayon_core::registry::WorkerThread::wait_until::h436c44011d022850 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:769:13
#79 0x7ffff25b84e2 in rayon_core::registry::WorkerThread::wait_until_out_of_work::h3bbf5d234ff96534 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:818:9
#80 0x7ffff25b84e2 in rayon_core::registry::main_loop::h3f0f6f14de20979f /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:923:5
#81 0x7ffff25b84e2 in rayon_core::registry::ThreadBuilder::run::hd184c4e2419b3c56 /builds/worker/checkouts/gecko/third_party/rust/rayon-core/src/registry.rs:53:18
#82 0x7ffff20224ce in style::global_style_data::thread_spawn::_$u7b$$u7b$closure$u7d$$u7d$::h6bf2c922e53ef9b9 /builds/worker/checkouts/gecko/servo/components/style/global_style_data.rs:73:34
#83 0x7ffff20224ce in std::sys::backtrace::__rust_begin_short_backtrace::hbf2f4a8d7b3dcfb9 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:152:18
#84 0x7ffff202fd59 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h471aefe4669e3e9e /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:564:17
#85 0x7ffff202fd59 in _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h24008fe9e7ef19e1 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9
#86 0x7ffff202fd59 in std::panicking::try::do_call::h1d5ec9cfb3a6fe84 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:584:40
#87 0x7ffff202fd59 in std::panicking::try::hd6a4b37557db014c /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panicking.rs:547:19
#88 0x7ffff202fd59 in std::panic::catch_unwind::h7771c0ea6ce8fb4f /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/panic.rs:358:14
#89 0x7ffff202fd59 in std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::hff83217e203b3512 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/std/src/thread/mod.rs:562:30
#90 0x7ffff202fd59 in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb11210b4f92c7410 /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
#91 0x7ffff2683d4a in _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h2649f14f1b1c150d /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9
#92 0x7ffff2683d4a in _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::hb2ade58cb34e1bc4 /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9
#93 0x7ffff2683d4a in std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17
#94 0x7ffff7a85ac2 in start_thread nptl/pthread_create.c:442:8
#95 0x7ffff7b1784f misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Reporter | ||
Comment 1•2 months ago
|
||
A Pernosco session is available here: https://pernos.co/debug/b3PYMiCgV9i0THwWWAClzQ/index.html
Comment 2•2 months ago
|
||
The site seems to load properly in a Nightly build. This crash seems to be a debug-only assertion, for a condition that we handle with graceful fallback for release builds:
https://searchfox.org/mozilla-central/rev/1b79e3d893035e3ab581401bc70f2e5198c2fa73/servo/components/style/values/generics/calc.rs#1335-1344
let max_cmp_min = match max.compare(&min, PositivePercentageBasis::Unknown) {
Some(o) => o,
None => {
debug_assert!(
false,
"We compared center with min and max, how are \
min / max not comparable with each other?"
);
return;
},
Adding dependency on bug 1613491 which is where we added this assertion (years ago), and triaging as S3 given that we handle it gracefully for release builds and this isn't a fuzzblocker or anything at this point.
low-priority ni=emilio who might be interested to take a look at the pernosco session given that he added the assertion here.
Updated•1 months ago
|
Assignee | ||
Comment 3•1 months ago
|
||
Assignee | ||
Comment 4•1 months ago
|
||
Ohh, so I think it's just a bogus assertion. In this case the center is positive, min and max are negative, so we know the center is greater than both, but we still can't compare the min and max because they're different units, so it can't be simplified.
Assignee | ||
Updated•1 months ago
|
Assignee | ||
Comment 5•1 months ago
|
||
In this case the center is positive, min and max are negative, so we
know the center is greater than both.
But we still can't compare the min and max because they're different
units, so it can't be simplified.
Updated•1 months ago
|
Comment 7•1 month ago
|
||
bugherder |
Updated•1 month ago
|
Description
•