Updates:
        Owner: ---
        Labels: -OS-All OS-Linux

Comment #2 on issue 9475 by [email protected]: Memory leak in  
WebCore::FontCache::createFontPlatformData
http://code.google.com/p/chromium/issues/detail?id=9475

Here's a backtrace from a debug build, with line numbers:

12 bytes in 1 blocks are definitely lost in loss record 116 of 466
   operator new(unsigned int)  
(coregrind/m_replacemalloc/vg_replace_malloc.c:230)
   WebCore::FontCache::createFontPlatformData(WebCore::FontDescription  
const&,
WebCore::AtomicString const&)
(third_party/WebKit/WebCore/platform/graphics/chromium/FontCacheLinux.cpp:157)
   WebCore::FontCache::getFontDataForCharacters(WebCore::Font const&,  
unsigned short const*, int)
(third_party/WebKit/WebCore/platform/graphics/chromium/FontCacheLinux.cpp:83)
   WebCore::Font::glyphDataForCharacter(int, bool, bool) const
(third_party/WebKit/WebCore/platform/graphics/FontFastPath.cpp:147)
   WebCore::WidthIterator::advance(int, WebCore::GlyphBuffer*)
(third_party/WebKit/WebCore/platform/graphics/WidthIterator.cpp:112)
   WebCore::Font::floatWidthForSimpleText(WebCore::TextRun const&,  
WebCore::GlyphBuffer*) const
(third_party/WebKit/WebCore/platform/graphics/FontFastPath.cpp:302)
   WebCore::Font::floatWidth(WebCore::TextRun const&) const
(third_party/WebKit/WebCore/platform/graphics/Font.cpp:210)
   WebCore::Font::width(WebCore::TextRun const&) const
(third_party/WebKit/WebCore/platform/graphics/Font.h:81)
   WebCore::RenderText::widthFromCache(WebCore::Font const&, int, int, int)  
const
(third_party/WebKit/WebCore/rendering/RenderText.cpp:437)
   WebCore::RenderText::width(unsigned int, unsigned int, WebCore::Font  
const&, int) const
(third_party/WebKit/WebCore/rendering/RenderText.cpp:1037)
   WebCore::textWidth(WebCore::RenderText*, unsigned int, unsigned int,  
WebCore::Font const&, int, bool,
bool) (third_party/WebKit/WebCore/rendering/bidi.cpp:1561)
    
WebCore::RenderBlock::findNextLineBreak(WebCore::BidiResolver<WebCore::InlineIterator,
WebCore::BidiRun>&, bool, WebCore::EClear*)  
(third_party/WebKit/WebCore/rendering/bidi.cpp:2011)
   WebCore::RenderBlock::layoutInlineChildren(bool, int&, int&)
(third_party/WebKit/WebCore/rendering/bidi.cpp:943)
   WebCore::RenderBlock::layoutBlock(bool)  
(third_party/WebKit/WebCore/rendering/RenderBlock.cpp:777)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to