<?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>272288</bug_id>
          
          <creation_ts>2024-04-06 17:26:41 -0700</creation_ts>
          <short_desc>Regression(276859@main): Crashes in ~GlyphDisplayListCacheEntry() on the bots</short_desc>
          <delta_ts>2024-04-06 17:57:24 -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>FIXED</resolution>
          
          
          <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="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>fantasai.bugs</cc>
    
    <cc>vitor.roriz</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2026571</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-04-06 17:26:41 -0700</bug_when>
    <thetext>We see crashes in ~GlyphDisplayListCacheEntry() on the bots and on https://brutalisthackernews.com/top since 276859@main:
```
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   WebCore                       	       0x329da10b4 WTFCrashWithInfo(int, char const*, char const*, int) + 132 (Assertions.h:851)
1   WebCore                       	       0x32c440e98 WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;::get() const + 136 (WeakRef.h:87)
2   WebCore                       	       0x32c441f78 WebCore::GlyphDisplayListCacheKeyTranslator::equal(WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt; const&amp;, WebCore::GlyphDisplayListCacheKey const&amp;) + 32 (GlyphDisplayListCache.cpp:54)
3   WebCore                       	       0x32c4416c8 bool WTF::HashSetTranslatorAdapter&lt;WebCore::GlyphDisplayListCacheKeyTranslator&gt;::equal&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WebCore::GlyphDisplayListCacheKey&gt;(WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt; const&amp;, WebCore::GlyphDisplayListCacheKey const&amp;) + 36 (HashSet.h:213)
4   WebCore                       	       0x32c4414dc WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;* WTF::HashTable&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::IdentityExtractor, WTF::DefaultHash&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;&gt;::inlineLookup&lt;WTF::HashSetTranslatorAdapter&lt;WebCore::GlyphDisplayListCacheKeyTranslator&gt;, WebCore::GlyphDisplayListCacheKey&gt;(WebCore::GlyphDisplayListCacheKey const&amp;) + 224 (HashTable.h:704)
5   WebCore                       	       0x32c441338 WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;* WTF::HashTable&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::IdentityExtractor, WTF::DefaultHash&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;&gt;::lookup&lt;WTF::HashSetTranslatorAdapter&lt;WebCore::GlyphDisplayListCacheKeyTranslator&gt;, WebCore::GlyphDisplayListCacheKey&gt;(WebCore::GlyphDisplayListCacheKey const&amp;) + 36 (HashTable.h:663)
6   WebCore                       	       0x32c441210 WTF::HashTableConstIterator&lt;WTF::HashTable&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::IdentityExtractor, WTF::DefaultHash&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::IdentityExtractor, WTF::DefaultHash&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;&gt; WTF::HashTable&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::IdentityExtractor, WTF::DefaultHash&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;&gt;::find&lt;WTF::HashSetTranslatorAdapter&lt;WebCore::GlyphDisplayListCacheKeyTranslator&gt;, WebCore::GlyphDisplayListCacheKey&gt;(WebCore::GlyphDisplayListCacheKey const&amp;) const + 92 (HashTable.h:1029)
7   WebCore                       	       0x32c440c98 WTF::HashTableConstIteratorAdapter&lt;WTF::HashTable&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::IdentityExtractor, WTF::DefaultHash&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;&gt;, WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt; WTF::HashSet&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;, WTF::DefaultHash&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTraits&lt;WTF::WeakRef&lt;WebCore::GlyphDisplayListCacheEntry, WTF::SingleThreadWeakPtrImpl&gt;&gt;, WTF::HashTableTraits&gt;::find&lt;WebCore::GlyphDisplayListCacheKeyTranslator, WebCore::GlyphDisplayListCacheKey&gt;(WebCore::GlyphDisplayListCacheKey const&amp;) const + 52 (HashSet.h:288)
8   WebCore                       	       0x32c42c1e0 WebCore::DisplayList::DisplayList* WebCore::GlyphDisplayListCache::getDisplayList&lt;WebCore::InlineDisplay::Box&gt;(WebCore::InlineDisplay::Box const*, WebCore::FontCascade const&amp;, WebCore::GraphicsContext&amp;, WebCore::TextRun const&amp;) + 356 (GlyphDisplayListCache.cpp:96)
9   WebCore                       	       0x32c42c070 WebCore::GlyphDisplayListCache::get(WebCore::InlineDisplay::Box const&amp;, WebCore::FontCascade const&amp;, WebCore::GraphicsContext&amp;, WebCore::TextRun const&amp;) + 60 (GlyphDisplayListCache.cpp:119)
10  WebCore                       	       0x32c79a9d8 void WebCore::TextPainter::setGlyphDisplayListIfNeeded&lt;WebCore::InlineDisplay::Box&gt;(WebCore::InlineDisplay::Box const&amp;, WebCore::PaintInfo const&amp;, WebCore::TextRun const&amp;) + 96 (TextPainter.h:69)
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2026572</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-04-06 17:26:51 -0700</bug_when>
    <thetext>&lt;rdar://125823370&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2026573</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-04-06 17:32:40 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/26946</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2026574</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-04-06 17:57:22 -0700</bug_when>
    <thetext>Committed 277168@main (23935509223c): &lt;https://commits.webkit.org/277168@main&gt;

Reviewed commits have been landed. Closing PR #26946 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>