WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 167061
167142
ASSERTION FAILED: !lookupForWriting(Extractor::extract(entry)).second under FontCache::purgeInactiveFontData
https://bugs.webkit.org/show_bug.cgi?id=167142
Summary
ASSERTION FAILED: !lookupForWriting(Extractor::extract(entry)).second under F...
Ryan Haddad
Reported
2017-01-17 15:13:40 PST
ASSERTION FAILED: !lookupForWriting(Extractor::extract(entry)).second /Volumes/Data/slave/elcapitan-debug/build/WebKitBuild/Debug/usr/local/include/wtf/HashTable.h(987) : ValueType *WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>::reinsert(ValueType &&) [Key = WebCore::FontPlatformData, Value = WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, HashFunctions = WebCore::FontDataCacheKeyHash, Traits = WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, KeyTraits = WebCore::FontDataCacheKeyTraits] 1 0x10630d7e0 WTFCrash 2 0x1095e10e1 WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>::reinsert(WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >&&) 3 0x1095e0f1d WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>::rehash(unsigned int, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >*) 4 0x1095e3b31 WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>::shrink() 5 0x1095e3a89 WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>::remove(WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >*) 6 0x1095e3a1d WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>::removeAndInvalidateWithoutEntryConsistencyCheck(WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >*) 7 0x1095e3999 WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>::removeWithoutEntryConsistencyCheck(WTF::HashTableIterator<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>) 8 0x1095e3886 WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::remove(WTF::HashTableIteratorAdapter<WTF::HashTable<WebCore::FontPlatformData, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >, WebCore::FontDataCacheKeyHash, WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::KeyValuePairTraits, WebCore::FontDataCacheKeyTraits>, WTF::KeyValuePair<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font> > >) 9 0x1095da3b6 WTF::HashMap<WebCore::FontPlatformData, WTF::RefPtr<WebCore::Font>, WebCore::FontDataCacheKeyHash, WebCore::FontDataCacheKeyTraits, WTF::HashTraits<WTF::RefPtr<WebCore::Font> > >::remove(WebCore::FontPlatformData const&) 10 0x1095d937d WebCore::FontCache::purgeInactiveFontData(unsigned int) 11 0x1095d99f3 WebCore::FontCache::invalidate() 12 0x1095ec3d6 WebCore::invalidateFontCache() 13 0x1095ea373 WebCore::fontCacheRegisteredFontsChangedNotificationCallback(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) 14 0x7fff982dbb1c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ 15 0x7fff982dbaaf ___CFXRegistrationPost_block_invoke 16 0x7fff982dba27 _CFXRegistrationPost 17 0x7fff982db792 ___CFXNotificationPost_block_invoke 18 0x7fff98298542 -[_CFXNotificationRegistrar find:object:observer:enumerator:] 19 0x7fff98297795 _CFXNotificationPost 20 0x7fff982e1395 CFNotificationCenterPostNotification 21 0x7fff870fd0b9 AsynchronousLocalNotificationTimerCallBack(__CFRunLoopTimer*, void*) 22 0x7fff982cdaf4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ 23 0x7fff982cd783 __CFRunLoopDoTimer 24 0x7fff982cd2da __CFRunLoopDoTimers 25 0x7fff982c47d1 __CFRunLoopRun 26 0x7fff982c3e38 CFRunLoopRunSpecific 27 0x7fff951a5935 RunCurrentEventLoopInMode 28 0x7fff951a576f ReceiveNextEventCommon 29 0x7fff951a55af _BlockUntilNextEventMatchingListInModeWithFilter 30 0x7fff8a7a6df6 _DPSNextEvent 31 0x7fff8a7a6226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] Seen with imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/srcset/select-an-image-source.html here
https://build.webkit.org/results/Apple%20El%20Capitan%20Debug%20WK2%20(Tests)/r210825%20(10434)/results.html
Attachments
Add attachment
proposed patch, testcase, etc.
Ryan Haddad
Comment 1
2017-01-17 15:14:03 PST
<
rdar://problem/30060703
>
Ryan Haddad
Comment 2
2017-01-20 16:23:00 PST
Reverted
r210778
for reason: This change caused multiple LayoutTests to crash. Committed
r210997
: <
http://trac.webkit.org/changeset/210997
>
Ryan Haddad
Comment 3
2017-01-20 16:23:46 PST
*** This bug has been marked as a duplicate of
bug 167061
***
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