[Webkit-unassigned] [Bug 247212] imported/w3c/web-platform-tests/css/css-properties-values-api/unit-cycles.html hits an assertion in debug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 31 07:55:03 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=247212

--- Comment #1 from Chris Dumez <cdumez at apple.com> ---
In release, the test is also crashing, with a null-deference of FontCascades::m_fonts:
```
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   WebCore                                    0x10b498310 WebCore::FontCascadeFonts::primaryFont(WebCore::FontCascadeDescription const&) + 28 (FontCascadeFonts.h:132)
1   WebCore                                    0x10c34f798 WebCore::FontCascade::primaryFont() const + 16 (FontCascade.h:364) [inlined]
2   WebCore                                    0x10c34f798 WebCore::FontCascade::metricsOfPrimaryFont() const + 16 (FontCascade.h:173) [inlined]
3   WebCore                                    0x10c34f798 WebCore::CSSPrimitiveValue::computeNonCalcLengthDouble(WebCore::CSSToLengthConversionData const&, WebCore::CSSUnitType, double) + 552 (CSSPrimitiveValue.cpp:861)
4   WebCore                                    0x10c34f798 WebCore::FontCascade::primaryFont() const + 16 (FontCascade.h:364) [inlined]
5   WebCore                                    0x10c34f798 WebCore::FontCascade::metricsOfPrimaryFont() const + 16 (FontCascade.h:173) [inlined]
6   WebCore                                    0x10c34f798 WebCore::CSSPrimitiveValue::computeNonCalcLengthDouble(WebCore::CSSToLengthConversionData const&, WebCore::CSSUnitType, double) + 552 (CSSPrimitiveValue.cpp:861)
7   WebCore                                    0x10c34f464 WebCore::Length WebCore::CSSPrimitiveValue::computeLength<WebCore::Length>(WebCore::CSSToLengthConversionData const&) const + 24 (CSSPrimitiveValue.cpp:657)
8   WebCore                                    0x10bd917e4 WebCore::Style::BuilderConverter::convertLength(WebCore::Style::BuilderState const&, WebCore::CSSValue const&) + 132 (StyleBuilderConverter.h:214)
9   WebCore                                    0x10c3eef4c WebCore::CSSPropertyParser::parseTypedCustomPropertyValue(WTF::AtomString const&, WTF::String const&, WebCore::Style::BuilderState const&) + 372 (CSSPropertyParser.cpp:4972)
10  WebCore                                    0x10c3eed88 WebCore::CSSPropertyParser::parseTypedCustomPropertyValue(WTF::AtomString const&, WTF::String const&, WebCore::CSSParserTokenRange const&, WebCore::Style::BuilderState const&, WebCore::CSSParserContext const&) + 60 (CSSPropertyParser.cpp:307)
11  WebCore                                    0x10c3d9184 WebCore::CSSParser::parseValueWithVariableReferences(WebCore::CSSPropertyID, WebCore::CSSValue const&, WebCore::Style::BuilderState&) + 916 (CSSParser.cpp:243)
12  WebCore                                    0x10d03cc64 WebCore::Style::Builder::resolvedVariableValue(WebCore::CSSPropertyID, WebCore::CSSValue const&) + 124 (StyleBuilder.cpp:379)
13  WebCore                                    0x10d03c794 WebCore::Style::Builder::applyCustomProperty(WTF::AtomString const&) + 584 (StyleBuilder.cpp:195)
14  WebCore                                    0x10d03c054 WebCore::Style::Builder::applyCustomProperties() + 12 (StyleBuilder.cpp:166) [inlined]
15  WebCore                                    0x10d03c054 WebCore::Style::Builder::applyNonHighPriorityProperties() + 280 (StyleBuilder.cpp:111)
16  WebCore                                    0x10d04a0bc WebCore::Style::Resolver::applyMatchedProperties(WebCore::Style::Resolver::State&, WebCore::Style::MatchResult const&) + 436 (StyleResolver.cpp:638)
17  WebCore                                    0x10d049934 WebCore::Style::Resolver::styleForElement(WebCore::Element const&, WebCore::Style::ResolutionContext const&, WebCore::RuleMatchingBehavior) + 360 (StyleResolver.cpp:266)
18  WebCore                                    0x10d058894 WebCore::Style::TreeResolver::styleForStyleable(WebCore::Styleable const&, WebCore::Style::TreeResolver::ResolutionType, WebCore::Style::ResolutionContext const&) + 168 (StyleTreeResolver.cpp:153)
19  WebCore                                    0x10d058d24 WebCore::Style::TreeResolver::resolveElement(WebCore::Element&, WebCore::Style::TreeResolver::ResolutionType) + 248 (StyleTreeResolver.cpp:226)
20  WebCore                                    0x10d05b238 WebCore::Style::TreeResolver::resolveComposedTree() + 1008 (StyleTreeResolver.cpp:832)
21  WebCore                                    0x10d05c2a8 WebCore::Style::TreeResolver::resolve() + 460 (StyleTreeResolver.cpp:932)
22  WebCore                                    0x10c4d711c WebCore::Document::resolveStyle(WebCore::Document::ResolveStyleType) + 408 (Document.cpp:2114)
23  WebCore                                    0x10c4d796c WebCore::Document::updateStyleIfNeeded() + 224 (Document.cpp:2250)
24  WebCore                                    0x10c370978 WebCore::ComputedStyleExtractor::updateStyleIfNeededForProperty(WebCore::Element&, WebCore::CSSPropertyID) + 172 (ComputedStyleExtractor.cpp:2553)
25  WebCore                                    0x10c370308 WebCore::ComputedStyleExtractor::propertyValue(WebCore::CSSPropertyID, WebCore::ComputedStyleExtractor::UpdateLayout, WebCore::ComputedStyleExtractor::PropertyValueType) + 116 (ComputedStyleExtractor.cpp:2803)
26  WebCore                                    0x10c322cd0 WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue(WebCore::CSSPropertyID, WebCore::ComputedStyleExtractor::UpdateLayout) const + 44 (CSSComputedStyleDeclaration.cpp:99) [inlined]
27  WebCore                                    0x10c322cd0 WebCore::CSSComputedStyleDeclaration::getPropertyValue(WebCore::CSSPropertyID) const + 72 (CSSComputedStyleDeclaration.cpp:119)
28  WebCore                                    0x10b61835c WebCore::jsCSSStyleDeclarationPrototypeFunction_getPropertyValueBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSCSSStyleDeclaration*) + 128 (JSCSSStyleDeclaration.cpp:2406)

```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221031/31fde09c/attachment-0001.htm>


More information about the webkit-unassigned mailing list