Status: Untriaged
Owner: [email protected]
Labels: Type-Bug Pri-2 OS-All Area-Misc Size-Medium valgrind

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

Many layout tests, e.g.
LayoutTests/http/tests/misc/url-in-utf7.html
LayoutTests/http/tests/incremental/slow-utf8-html.pl
LayoutTests/css2.1/t0805-c5518-brdr-t-01-e.html
exhibit a small memory leak under valgrind.

Here's an example backtrace:
12 bytes in 1 blocks are definitely lost in loss record 124 of 511
   operator new(unsigned int)  
(valgrind/coregrind/m_replacemalloc/vg_replace_malloc.c:195)
   WebCore::FontCache::createFontPlatformData(WebCore::FontDescription  
const&,
WebCore::AtomicString const&) (src/chrome/Hammer/test_shell)
   WebCore::FontCache::getFontDataForCharacters(WebCore::Font const&,  
unsigned short
const*, int) (src/chrome/Hammer/test_shell)
   WebCore::Font::glyphDataForCharacter(int, bool, bool) const
(src/chrome/Hammer/test_shell)
   WebCore::WidthIterator::advance(int, WebCore::GlyphBuffer*)
(src/chrome/Hammer/test_shell)
   WebCore::Font::floatWidthForSimpleText(WebCore::TextRun const&,  
WebCore::GlyphBuffer*)
const (src/chrome/Hammer/test_shell)
   WebCore::Font::floatWidth(WebCore::TextRun const&) const
(src/chrome/Hammer/test_shell)
    
WebCore::RenderBlock::findNextLineBreak(WebCore::BidiResolver<WebCore::InlineIterator,
WebCore::BidiRun>&, bool, WebCore::EClear*) (src/chrome/Hammer/test_shell)
   WebCore::RenderBlock::layoutInlineChildren(bool, int&, int&)
(src/chrome/Hammer/test_shell)
   WebCore::RenderBlock::layoutBlock(bool) (src/chrome/Hammer/test_shell)
   WebCore::RenderBlock::layout() (src/chrome/Hammer/test_shell)


--
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