| Summary: | [WinCairo] TextPainter::setGlyphDisplayListIfNeeded → GlyphDisplayListCache::get → WTF::equal → SEGV | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Normal | CC: | heycam | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Fujii Hironori
2022-06-12 13:38:59 PDT
GlyphDisplayListCacheKeyTranslator was added by 251381@main (Bug 240497). https://github.com/WebKit/WebKit/blob/79ad9ed64760e9fb1d02e26be2ff69b849907061/Source/WebCore/rendering/GlyphDisplayListCache.h#L127-L128 > HashMap<const void*, Ref<GlyphDisplayListCacheEntry>> m_entriesForLayoutRun; > HashSet<GlyphDisplayListCacheEntry*> m_entries; m_entries is a HashSet of GlyphDisplayListCacheEntry raw pointer. m_entriesForLayoutRun retains GlyphDisplayListCacheEntry ref-counters. https://github.com/WebKit/WebKit/blob/79ad9ed64760e9fb1d02e26be2ff69b849907061/Source/WebCore/rendering/GlyphDisplayListCache.cpp#L202 GlyphDisplayListCache::remove removes the item of m_entriesForLayoutRun. Who retains GlyphDisplayListCacheEntry ref-counters for m_entries? *** This bug has been marked as a duplicate of bug 241523 *** |