<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>290012</bug_id>
          
          <creation_ts>2025-03-18 17:22:24 -0700</creation_ts>
          <short_desc>REGRESSION(291808@main): [macOS Debug]: ASSERTION FAILED: !index in CSSFontSelector::fallbackFontAt</short_desc>
          <delta_ts>2025-03-23 17:30:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>290231</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fantasai.bugs</cc>
    
    <cc>vitor.roriz</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2104219</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-03-18 17:22:24 -0700</bug_when>
    <thetext>The following test is failing with assertion in macOS Debug queue in EWS. The test is also failing on post-commit bots. 
html5lib/generated/run-entities01-data.html 

The change 291808@main is in the regression range when the test started crashing. 

Crash logs:
stderr:
ASSERTION FAILED: !index
/Volumes/Data/worker/macOS-Sequoia-Debug-Build-EWS/build/Source/WebCore/css/CSSFontSelector.cpp(434) : virtual RefPtr&lt;Font&gt; WebCore::CSSFontSelector::fallbackFontAt(const FontDescription &amp;, size_t)
1   0x3042a891c WebCore::CSSFontSelector::fallbackFontAt(WebCore::FontDescription const&amp;, unsigned long)
2   0x306360784 WebCore::FontCascadeFonts::realizeFallbackRangesAt(WebCore::FontCascadeDescription const&amp;, WebCore::FontSelector*, unsigned int)
3   0x306361628 WebCore::FontCascadeFonts::glyphDataForVariant(char32_t, WebCore::FontCascadeDescription const&amp;, WebCore::FontSelector*, WebCore::FontVariant, WebCore::ResolvedEmojiPolicy, unsigned int)
4   0x30635697c WebCore::FontCascadeFonts::glyphDataForCharacter(char32_t, WebCore::FontCascadeDescription const&amp;, WebCore::FontSelector*, WebCore::FontVariant, WebCore::ResolvedEmojiPolicy)
5   0x3063565f0 WebCore::FontCascade::glyphDataForCharacter(char32_t, bool, WebCore::FontVariant) const
6   0x306356b9c WebCore::FontCascade::canUseSimplifiedTextMeasuring(char32_t, WebCore::FontVariant, bool, WebCore::Font const&amp;) const
7   0x306d75990 WebCore::RenderText::initiateFontLoadingByAccessingGlyphDataAndComputeCanUseSimplifiedTextMeasuring(WTF::String const&amp;)
8   0x306d75c08 WebCore::RenderText::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*)
9   0x306bbfcd0 WebCore::RenderElement::didAttachChild(WebCore::RenderObject&amp;, WebCore::RenderObject*)
10  0x306fcb6a4 WebCore::RenderTreeBuilder::attachToRenderElement(WebCore::RenderElement&amp;, std::__1::unique_ptr&lt;WebCore::RenderObject, WebCore::RenderObjectDeleter&gt;, WebCore::RenderObject*)
11  0x306fcbe1c WebCore::RenderTreeBuilder::Block::attachIgnoringContinuation(WebCore::RenderBlock&amp;, std::__1::unique_ptr&lt;WebCore::RenderObject, WebCore::RenderObjectDeleter&gt;, WebCore::RenderObject*)
12  0x306fcb3a0 WebCore::RenderTreeBuilder::Block::attach(WebCore::RenderBlock&amp;, std::__1::unique_ptr&lt;WebCore::RenderObject, WebCore::RenderObjectDeleter&gt;, WebCore::RenderObject*)
13  0x306fcae5c WebCore::RenderTreeBuilder::BlockFlow::attach(WebCore::RenderBlockFlow&amp;, std::__1::unique_ptr&lt;WebCore::RenderObject, WebCore::RenderObjectDeleter&gt;, WebCore::RenderObject*)
14  0x306fca25c WebCore::RenderTreeBuilder::attachInternal(WebCore::RenderElement&amp;, std::__1::unique_ptr&lt;WebCore::RenderObject, WebCore::RenderObjectDeleter&gt;, WebCore::RenderObject*)

Test history: https://results.webkit.org/?suite=layout-tests&amp;test=html5lib%2Fgenerated%2Frun-entities01-data.html&amp;flavor=wk2&amp;style=debug

Test result: https://ews-build.webkit.org/#/builders/122/builds/16565</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104220</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-18 17:23:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/147365119&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104225</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-18 17:37:50 -0700</bug_when>
    <thetext>Test gardening commit 292335@main (b095dac9cc00): &lt;https://commits.webkit.org/292335@main&gt;

Reviewed commits have been landed. Closing PR #42664 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2105207</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-21 18:33:07 -0700</bug_when>
    <thetext>Test gardening commit 292527@main (b21609f7adae): &lt;https://commits.webkit.org/292527@main&gt;

Reviewed commits have been landed. Closing PR #42855 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2105472</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-03-23 17:30:32 -0700</bug_when>
    <thetext>Looks like this got re-filed as bug 290231 for some reason. Duping forward, because that bug has a PR.

*** This bug has been marked as a duplicate of bug 290231 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>