WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
277244
ASSERT_NOT_REACHED in CSSCalcPrimitiveValueNode::doubleValue() after import
webkit.org/b/277239
https://bugs.webkit.org/show_bug.cgi?id=277244
Summary
ASSERT_NOT_REACHED in CSSCalcPrimitiveValueNode::doubleValue() after import w...
Gerald Squelart
Reported
2024-07-28 21:37:19 PDT
The WPT import in
bug 277239
is bringing some small changes to LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-color-mix-function.html, which now trigger ASSERT_NOT_REACHED in CSSCalcPrimitiveValueNode::doubleValue(). To be investigated... (This test is skipped for now.) ``` --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-color-mix-function.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-color-mix-function.html @@ -14,6 +14,11 @@ <script src="/css/support/color-testcommon.js"></script> </head> <body> +<style> + #target { + font-size: 10px; + } +</style> <div id="target"></div> <script> //
https://github.com/w3c/csswg-drafts/issues/7302
: Specified values shouldn't resolve keyword colors or calc values @@ -27,6 +32,7 @@ fuzzy_test_valid_color(`color-mix(in hsl, red 50%, blue)`, `color-mix(in hsl, red, blue)`); fuzzy_test_valid_color(`color-mix(in hsl, red, blue 50%)`, `color-mix(in hsl, red, blue)`); fuzzy_test_valid_color(`color-mix(in lch decreasing hue, red, hsl(120, 100%, 50%))`, `color-mix(in lch decreasing hue, red, rgb(0, 255, 0))`); + fuzzy_test_valid_color(`color-mix(in hsl, red calc(50% * sign(100em - 1px)), blue)`, `color-mix(in hsl, red calc(50% * sign(100em - 1px)), blue)`); ```
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-07-28 21:37:37 PDT
<
rdar://problem/132697998
>
Gerald Squelart
Comment 2
2024-07-28 21:46:44 PDT
Crash stack: SHOULD NEVER BE REACHED /Volumes/WebKit/OpenSource/Source/WebCore/css/calc/CSSCalcPrimitiveValueNode.cpp(188) : virtual double WebCore::CSSCalcPrimitiveValueNode::doubleValue(CSSUnitType, const CSSCalcSymbolTable &) const 1 0x3041a7a70 WebCore::CSSCalcPrimitiveValueNode::doubleValue(WebCore::CSSUnitType, WebCore::CSSCalcSymbolTable const&) const 2 0x3041bfaac _ZZNK7WebCore20CSSCalcOperationNode11doubleValueENS_11CSSUnitTypeERKNS_18CSSCalcSymbolTableEENK3$_0clIKN3WTF3RefINS_21CSSCalcExpressionNodeENS7_12RawPtrTraitsIS9_EENS7_21DefaultRefDerefTraitsIS9_EEEEEEDaRT_ 3 0x3041bf888 WTF::Vector<double, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> WTF::Vector<WTF::Ref<WebCore::CSSCalcExpressionNode, WTF::RawPtrTraits<WebCore::CSSCalcExpressionNode>, WTF::DefaultRefDerefTraits<WebCore::CSSCalcExpressionNode>>, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>::map<WTF::Vector<double, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, WebCore::CSSCalcOperationNode::doubleValue(WebCore::CSSUnitType, WebCore::CSSCalcSymbolTable const&) const::$_0>(WebCore::CSSCalcOperationNode::doubleValue(WebCore::CSSUnitType, WebCore::CSSCalcSymbolTable const&) const::$_0 const&) const 4 0x3041a9bd8 WTF::Vector<std::__1::invoke_result<WebCore::CSSCalcOperationNode::doubleValue(WebCore::CSSUnitType, WebCore::CSSCalcSymbolTable const&) const::$_0, WTF::Ref<WebCore::CSSCalcExpressionNode, WTF::RawPtrTraits<WebCore::CSSCalcExpressionNode>, WTF::DefaultRefDerefTraits<WebCore::CSSCalcExpressionNode>> const&>::type, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> WTF::Vector<WTF::Ref<WebCore::CSSCalcExpressionNode, WTF::RawPtrTraits<WebCore::CSSCalcExpressionNode>, WTF::DefaultRefDerefTraits<WebCore::CSSCalcExpressionNode>>, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>::map<WebCore::CSSCalcOperationNode::doubleValue(WebCore::CSSUnitType, WebCore::CSSCalcSymbolTable const&) const::$_0>(WebCore::CSSCalcOperationNode::doubleValue(WebCore::CSSUnitType, WebCore::CSSCalcSymbolTable const&) const::$_0 const&) const 5 0x3041a6960 WebCore::CSSCalcOperationNode::doubleValue(WebCore::CSSUnitType, WebCore::CSSCalcSymbolTable const&) const 6 0x3041aeb04 WebCore::CSSCalcValue::doubleValue(WebCore::CSSCalcSymbolTable const&) const 7 0x304404624 WebCore::evaluateCalc(WebCore::UnevaluatedCalc<WebCore::PercentRaw> const&, WebCore::CSSCalcSymbolTable const&) 8 0x304294e60 WebCore::PercentRaw WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)::operator()<WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(auto) const 9 0x304294e14 decltype(std::declval<auto>()(std::declval<WebCore::UnevaluatedCalc<WebCore::PercentRaw> const&>())) std::__1::__invoke[abi:sn180100]<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>, WebCore::UnevaluatedCalc<WebCore::PercentRaw> const&>(auto&&, WebCore::UnevaluatedCalc<WebCore::PercentRaw> const&) 10 0x304294dc0 decltype(auto) std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>>::operator()[abi:sn180100]<std::__1::__variant_detail::__alt<1ul, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&>(WebCore::PercentRaw&&, WebCore::UnevaluatedCalc<WebCore::PercentRaw>&&) const 11 0x304294d78 decltype(std::declval<auto>()(std::declval<std::__1::__variant_detail::__alt<1ul, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&>())) std::__1::__invoke[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>>, std::__1::__variant_detail::__alt<1ul, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&>(auto&&, std::__1::__variant_detail::__alt<1ul, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 12 0x304294c04 decltype(auto) std::__1::__variant_detail::__visitation::__base::__dispatcher<1ul>::__dispatch[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>>&&, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&>(auto, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 13 0x304294b74 decltype(auto) std::__1::__variant_detail::__visitation::__base::__visit_alt[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>>, std::__1::__variant_detail::__impl<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&>(auto&&, std::__1::__variant_detail::__impl<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 14 0x304294ad8 decltype(auto) std::__1::__variant_detail::__visitation::__variant::__visit_alt[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>>, std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&>(auto&&, std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 15 0x304294a90 decltype(auto) std::__1::__variant_detail::__visitation::__variant::__visit_value[abi:sn180100]<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>, std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&>(auto&&, std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 16 0x304294a10 decltype(auto) std::__1::visit[abi:sn180100]<WTF::Visitor<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>, std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, void>(auto&&, std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 17 0x3042949d0 decltype(std::visit(makeVisitor(std::forward<WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>(fp0)), std::forward<auto>(fp))) WTF::switchOn<std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)>(auto&&, WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&)::'lambda'(auto)&&) 18 0x3041c62ec WebCore::TypesMinusUnevaluatedCalc<brigand::list<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>>::type WebCore::evaluateCalc<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>>(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&, WebCore::CSSCalcSymbolTable const&) 19 0x3041c5340 WebCore::resolveComponentPercentage(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 20 0x3041c52ec WebCore::percentageDoubleValue(std::__1::variant<WebCore::PercentRaw, WebCore::UnevaluatedCalc<WebCore::PercentRaw>> const&) 21 0x3041c63f0 void WebCore::serializationForCSSColorMix<WebCore::CSSUnresolvedColorMix>(WTF::StringBuilder&, WebCore::CSSUnresolvedColorMix const&) 22 0x3041c6324 WebCore::serializationForCSS(WTF::StringBuilder&, WebCore::CSSUnresolvedColorMix const&) 23 0x3041c6634 WebCore::serializationForCSS(WebCore::CSSUnresolvedColorMix const&) 24 0x304243ef4 _ZZNK7WebCore18CSSUnresolvedColor19serializationForCSSEvENK3$_0clIKNS_21CSSUnresolvedColorMixEEEN3WTF6StringERT_ 25 0x304243ec0 decltype(std::declval<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>()(std::declval<WebCore::CSSUnresolvedColorMix const&>())) std::__1::__invoke[abi:sn180100]<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>, WebCore::CSSUnresolvedColorMix const&>(WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>&&, WebCore::CSSUnresolvedColorMix const&) 26 0x304243e84 decltype(auto) std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>::operator()[abi:sn180100]<std::__1::__variant_detail::__alt<3ul, WebCore::CSSUnresolvedColorMix> const&>(std::__1::__variant_detail::__alt<3ul, WebCore::CSSUnresolvedColorMix> const&) const 27 0x304243e38 decltype(std::declval<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>>()(std::declval<std::__1::__variant_detail::__alt<3ul, WebCore::CSSUnresolvedColorMix> const&>())) std::__1::__invoke[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>, std::__1::__variant_detail::__alt<3ul, WebCore::CSSUnresolvedColorMix> const&>(std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>&&, std::__1::__variant_detail::__alt<3ul, WebCore::CSSUnresolvedColorMix> const&) 28 0x304243630 decltype(auto) std::__1::__variant_detail::__visitation::__base::__dispatcher<3ul>::__dispatch[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>&&, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&>(std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>&&, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&) 29 0x304243500 decltype(auto) std::__1::__variant_detail::__visitation::__base::__visit_alt[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>, std::__1::__variant_detail::__impl<WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&>(std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>&&, std::__1::__variant_detail::__impl<WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&) 30 0x304243460 decltype(auto) std::__1::__variant_detail::__visitation::__variant::__visit_alt[abi:sn180100]<std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>, std::__1::variant<WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&>(std::__1::__variant_detail::__visitation::__variant::__value_visitor<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>>&&, std::__1::variant<WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&) 31 0x304243414 decltype(auto) std::__1::__variant_detail::__visitation::__variant::__visit_value[abi:sn180100]<WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>, std::__1::variant<WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&>(WTF::Visitor<WebCore::CSSUnresolvedColor::serializationForCSS() const::$_0>&&, std::__1::variant<WebCore::CSSUnresolvedAbsoluteColor, WebCore::CSSUnresolvedColorKeyword, WebCore::CSSUnresolvedColorHex, WebCore::CSSUnresolvedColorMix, WebCore::CSSUnresolvedLightDark, WebCore::CSSUnresolvedRelativeColor<WebCore::RGBFunctionModernRelative>, WebCore::CSSUnresolvedRelativeColor<WebCore::HSLFunctionModern>, WebCore::CSSUnresolvedRelativeColor<WebCore::HWBFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::LCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLabFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::OKLCHFunction>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::A98RGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::DisplayP3Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::ProPhotoRGBDescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::Rec2020Descriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedGammaEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorRGBFunction<WebCore::ExtendedLinearEncoded<float, WebCore::SRGBADescriptor>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)0>>>, WebCore::CSSUnresolvedRelativeColor<WebCore::ColorXYZFunction<WebCore::XYZA<float, (WebCore::WhitePoint)1>>>> const&) com.apple.WebKit.WebContent.Development terminated (pid 28180) for reason: crash LEAK: 1 WebPageProxy It looks like the stack is actually deeper than the trace recorded. Also, nice templates!
Sam Weinig
Comment 3
2024-07-30 09:33:05 PDT
Going to grab this.
Sam Weinig
Comment 4
2024-09-02 11:34:31 PDT
This was fixed in the calc re-write.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug