Bug 66519

Summary: ASSERTION FAILED: WebCore/platform/graphics/FontCache.cpp(280)
Product: WebKit Reporter: John Bates <jbates>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: fishd, simon.fraser, thorton, vangelis, zimmermann
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://www.youtube.com/leanback

John Bates
Reported 2011-08-18 18:46:24 PDT
ASSERTION FAILED: m_purgePreventCount third_party/WebKit/Source/WebCore/platform/graphics/FontCache.cpp(280) : WebCore::SimpleFontData* WebCore::FontCache::getCachedFontData(const WebCore::FontPlatformData*, WebCore::FontCache::ShouldRetain) Repro 100% by visiting http://www.youtube.com/leanback in chromium debug build.
Attachments
Vangelis Kokkevis
Comment 1 2011-08-18 19:21:08 PDT
(In reply to comment #0) > ASSERTION FAILED: m_purgePreventCount > third_party/WebKit/Source/WebCore/platform/graphics/FontCache.cpp(280) : WebCore::SimpleFontData* WebCore::FontCache::getCachedFontData(const WebCore::FontPlatformData*, WebCore::FontCache::ShouldRetain) > > Repro 100% by visiting http://www.youtube.com/leanback in chromium debug build. Doesn't seem to be happening on my windows build at chromium rev 97231 . What rev are you on?
John Bates
Comment 2 2011-08-19 10:23:32 PDT
I'm running a 97128 debug build. Shawn verified the assertion on windows with a 97370 debug build. Was your run a debug or release build?
Vangelis Kokkevis
Comment 3 2011-08-19 13:30:44 PDT
(In reply to comment #2) > I'm running a 97128 debug build. Shawn verified the assertion on windows with a 97370 debug build. > > Was your run a debug or release build? Debug..
Alexey Proskuryakov
Comment 4 2011-08-23 15:34:25 PDT
Is this a duplicate of bug 66774?
Nikolas Zimmermann
Comment 5 2012-03-09 03:54:05 PST
(In reply to comment #4) > Is this a duplicate of bug 66774? I've also seen this, when running layout tests under guard malloc. nrwt -p -g svg, reproduce this for me cleanly: ASSERTION FAILED: m_purgePreventCount /Users/nzimmermann/Coding/WebKit/Source/WebCore/platform/graphics/FontCache.cpp(280) : WebCore::SimpleFontData *WebCore::FontCache::getCachedFontData(const WebCore::FontPlatformData *, WebCore::FontCache::ShouldRetain) 1 0x1117c9154 WebCore::FontCache::getCachedFontData(WebCore::FontPlatformData const*, WebCore::FontCache::ShouldRetain) 2 0x1117d9711 WebCore::FontCache::getFontDataForCharacters(WebCore::Font const&, unsigned short const*, int) 3 0x1117dfd2d WebCore::Font::glyphDataAndPageForCharacter(int, bool, WebCore::FontDataVariant) const 4 0x1124f0769 WebCore::SVGTextRunRenderingContext::glyphDataForCharacter(WebCore::Font const&, WebCore::TextRun const&, WebCore::WidthIterator&, int, bool, int, unsigned int&) 5 0x112973d96 WebCore::WidthIterator::glyphDataForCharacter(int, bool, int, unsigned int&) 6 0x1129740b9 WebCore::WidthIterator::advance(int, WebCore::GlyphBuffer*) 7 0x1124f18b1 WebCore::SVGTextMetricsBuilder::advanceSimpleText() 8 0x1124f163c WebCore::SVGTextMetricsBuilder::advance() 9 0x1124f1e77 WebCore::SVGTextMetricsBuilder::measureTextRenderer(WebCore::RenderSVGInlineText*, WebCore::MeasureTextData*) 10 0x1124f228a WebCore::SVGTextMetricsBuilder::walkTree(WebCore::RenderObject*, WebCore::RenderSVGInlineText*, WebCore::MeasureTextData*) 11 0x1124eb10e WebCore::SVGTextMetricsBuilder::measureTextRenderer(WebCore::RenderSVGInlineText*) 12 0x1124d80ef WebCore::SVGTextLayoutAttributesBuilder::rebuildMetricsForTextRenderer(WebCore::RenderSVGInlineText*) 13 0x1124c132b WebCore::RenderSVGText::rebuildLayoutAttributes(WTF::Vector<WebCore::SVGTextLayoutAttributes*, 0ul>&) 14 0x1124c109e WebCore::RenderSVGInlineText::willBeDestroyed() 15 0x11248909d WebCore::RenderObject::destroy() 16 0x112488f8d WebCore::RenderObject::destroyAndCleanupAnonymousWrappers() 17 0x112243f24 WebCore::Node::detach() 18 0x1112fbf37 WebCore::ContainerNode::detachChildren() 19 0x1112f99d9 WebCore::ContainerNode::detach() 20 0x11173c032 WebCore::Element::detach() 21 0x1112fbf37 WebCore::ContainerNode::detachChildren() 22 0x1112f99d9 WebCore::ContainerNode::detach() 23 0x11173c032 WebCore::Element::detach() 24 0x1112fbf37 WebCore::ContainerNode::detachChildren() 25 0x1112f99d9 WebCore::ContainerNode::detach() 26 0x11173c032 WebCore::Element::detach() 27 0x1112fbf37 WebCore::ContainerNode::detachChildren() 28 0x1112f99d9 WebCore::ContainerNode::detach() 29 0x1115473dc WebCore::Document::detach() 30 0x111804f42 WebCore::Frame::setView(WTF::PassRefPtr<WebCore::FrameView>) 31 0x110aea1c1 WebFrameLoaderClient::transitionToCommittedForNewPage()
Note You need to log in before you can comment on or make changes to this bug.