Status: Untriaged
Owner: aoca...@chromium.org
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 5419 by aoca...@chromium.org: [Purify-Layout-Test] Memory Leak at  
SkBitmap::HeapAllocator::allocPixelRef(SkBitmap *,SkColorTable *)
http://code.google.com/p/chromium/issues/detail?id=5419

In a recent purify test run, from LayoutTests\fast\canvas\canvas-before-
css.html


[W] MLK: Memory leak of 48 bytes from 1 block allocated in
SkBitmap::HeapAllocator::allocPixelRef(SkBitmap *,SkColorTable *)
[test_shell.exe]
         Distribution of leaked blocks
                 48 bytes from 1 block of 48 bytes (0x06ac4a50)
         Allocation location
             new(UINT)
[c:\b\slave\pl\build\src\third_party\webkit\javascriptcore\wtf\fastmalloc.h
:92]
             SkBitmap::HeapAllocator::allocPixelRef(SkBitmap *,SkColorTable
*) [c:\b\slave\pl\build\src\skia\sgl\skbitmap.cpp:436]
             SkBitmap::allocPixels(Allocator::SkBitmap *,SkColorTable *)
[c:\b\slave\pl\build\src\skia\sgl\skbitmap.cpp:296]
             SkBitmap::copyTo(SkBitmap
*,Config::SkBitmap,Allocator::SkBitmap *)const
[c:\b\slave\pl\build\src\skia\sgl\skbitmap.cpp:721]
             WebCore::BitmapImageSingleFrameSkia::create(SkBitmap const&)
[c:\b\slave\pl\build\src\webkit\port\platform\graphics\imageskia.cpp:451]
             WebCore::ImageBuffer::image(void)const
[c:\b\slave\pl\build\src\webkit\port\platform\graphics\imagebufferskia.cpp:
94]
             WebCore::HTMLCanvasElement::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\html\htmlcanvaselement.
cpp:213]

WebCore::RenderHTMLCanvas::paintReplaced(PaintInfo::RenderObject::WebCore&,
int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderhtmlcan
vas.cpp:48]

WebCore::RenderReplaced::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderreplace
d.cpp:140]

WebCore::InlineBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\inlinebox.cpp
:154]

WebCore::InlineFlowBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\inlineflowbox
.cpp:663]

WebCore::RootInlineBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\rootinlinebox
.cpp:179]

WebCore::RenderFlow::paintLines(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderflow.cp
p:434]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1603]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]

WebCore::RenderBlock::paintChildren(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1629]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1605]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]

WebCore::RenderBlock::paintChildren(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1629]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1605]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]
             WebCore::RenderLayer::paintLayer(RenderLayer::WebCore
*,GraphicsContext::WebCore *,IntRect::WebCore
const&,bool,PaintRestriction::WebCore,RenderObject::WebCore *,bool)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1776]
             WebCore::RenderLayer::paintLayer(RenderLayer::WebCore
*,GraphicsContext::WebCore *,IntRect::WebCore
const&,bool,PaintRestriction::WebCore,RenderObject::WebCore *,bool)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1801]
             WebCore::RenderLayer::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&,PaintRestriction::WebCore,RenderObject::WebCore
*)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1618]
             WebCore::FrameView::paintContents(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\page\frameview.cpp:1190
]
             WebCore::ScrollView::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\platform\scrollview.cpp
:633]

WebFrameImpl::CaptureImage(scoped_ptr<BitmapPlatformDeviceWin::gfx> *,bool)
[c:\b\slave\pl\build\src\webkit\glue\webframe_impl.cc:1470]
[W] MLK: Memory leak of 104 bytes from 1 block allocated in
WebCore::BitmapImageSingleFrameSkia::create(SkBitmap const&)
[test_shell.exe]
         Distribution of leaked blocks
                104 bytes from 1 block of 104 bytes (0x06acaa80)
         Allocation location
             new(UINT)
[c:\b\slave\pl\build\src\third_party\webkit\javascriptcore\wtf\fastmalloc.h
:92]
             WebCore::BitmapImageSingleFrameSkia::create(SkBitmap const&)
[c:\b\slave\pl\build\src\webkit\port\platform\graphics\imageskia.cpp:450]
             WebCore::ImageBuffer::image(void)const
[c:\b\slave\pl\build\src\webkit\port\platform\graphics\imagebufferskia.cpp:
94]
             WebCore::HTMLCanvasElement::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\html\htmlcanvaselement.
cpp:213]

WebCore::RenderHTMLCanvas::paintReplaced(PaintInfo::RenderObject::WebCore&,
int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderhtmlcan
vas.cpp:48]

WebCore::RenderReplaced::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderreplace
d.cpp:140]

WebCore::InlineBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\inlinebox.cpp
:154]

WebCore::InlineFlowBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\inlineflowbox
.cpp:663]

WebCore::RootInlineBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\rootinlinebox
.cpp:179]

WebCore::RenderFlow::paintLines(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderflow.cp
p:434]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1603]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]

WebCore::RenderBlock::paintChildren(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1629]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1605]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]

WebCore::RenderBlock::paintChildren(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1629]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1605]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]
             WebCore::RenderLayer::paintLayer(RenderLayer::WebCore
*,GraphicsContext::WebCore *,IntRect::WebCore
const&,bool,PaintRestriction::WebCore,RenderObject::WebCore *,bool)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1776]
             WebCore::RenderLayer::paintLayer(RenderLayer::WebCore
*,GraphicsContext::WebCore *,IntRect::WebCore
const&,bool,PaintRestriction::WebCore,RenderObject::WebCore *,bool)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1801]
             WebCore::RenderLayer::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&,PaintRestriction::WebCore,RenderObject::WebCore
*)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1618]
             WebCore::FrameView::paintContents(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\page\frameview.cpp:1190
]
             WebCore::ScrollView::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\platform\scrollview.cpp
:633]

WebFrameImpl::CaptureImage(scoped_ptr<BitmapPlatformDeviceWin::gfx> *,bool)
[c:\b\slave\pl\build\src\webkit\glue\webframe_impl.cc:1470]
             TestShell::DumpImage(class WebFrame *,class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > const &)
[c:\b\slave\pl\build\src\webkit\tools\test_shell\test_shell.cc:173]
             TestShell::RunFileTest(char const*,TestParams::TestShell
const&)
[c:\b\slave\pl\build\src\webkit\tools\test_shell\test_shell_win.cc:306]
             main
[c:\b\slave\pl\build\src\webkit\tools\test_shell\test_shell_main.cc:378]
[I] MPK: Potential memory leak of 320000 bytes from 1 block allocated in
sk_malloc_flags(UINT,UINT) [test_shell.exe]
         Offset 0x00045fa9 referenced by 0x0232f34b, a location in a section
in the executable
         Offset 0x000469aa referenced by 0x0232f34f, a location in a section
in the executable
         Offset 0x000473aa referenced by 0x0232f353, a location in a section
in the executable
         Offset 0x00047daa referenced by 0x0232f357, a location in a section
in the executable
         Offset 0x000487aa referenced by 0x0232f35b, a location in a section
in the executable
         Offset 0x000491aa referenced by 0x0232f35f, a location in a section
in the executable
         Offset 0x0004a1aa referenced by 0x0232f363, a location in a section
in the executable
         Offset 0x0004abaa referenced by 0x0232f367, a location in a section
in the executable
         Offset 0x0004b5aa referenced by 0x0232f36b, a location in a section
in the executable
         Offset 0x0004bfaa referenced by 0x0232f36f, a location in a section
in the executable
         Distribution of potentially leaked blocks
             320000 bytes from 1 block of 320000 bytes (0x09a90058)
         Allocation location
             malloc
[f:\sp\vctools\crt_bld\self_x86\crt\src\malloc.c:155]
             sk_malloc_flags(UINT,UINT)
[c:\b\slave\pl\build\src\skia\corecg\skmemory_stdlib.cpp:260]
             SkBitmap::HeapAllocator::allocPixelRef(SkBitmap *,SkColorTable
*) [c:\b\slave\pl\build\src\skia\sgl\skbitmap.cpp:431]
             SkBitmap::allocPixels(Allocator::SkBitmap *,SkColorTable *)
[c:\b\slave\pl\build\src\skia\sgl\skbitmap.cpp:296]
             SkBitmap::copyTo(SkBitmap
*,Config::SkBitmap,Allocator::SkBitmap *)const
[c:\b\slave\pl\build\src\skia\sgl\skbitmap.cpp:721]
             WebCore::BitmapImageSingleFrameSkia::create(SkBitmap const&)
[c:\b\slave\pl\build\src\webkit\port\platform\graphics\imageskia.cpp:451]
             WebCore::ImageBuffer::image(void)const
[c:\b\slave\pl\build\src\webkit\port\platform\graphics\imagebufferskia.cpp:
94]
             WebCore::HTMLCanvasElement::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\html\htmlcanvaselement.
cpp:213]

WebCore::RenderHTMLCanvas::paintReplaced(PaintInfo::RenderObject::WebCore&,
int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderhtmlcan
vas.cpp:48]

WebCore::RenderReplaced::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderreplace
d.cpp:140]

WebCore::InlineBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\inlinebox.cpp
:154]

WebCore::InlineFlowBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\inlineflowbox
.cpp:663]

WebCore::RootInlineBox::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\rootinlinebox
.cpp:179]

WebCore::RenderFlow::paintLines(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderflow.cp
p:434]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1603]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]

WebCore::RenderBlock::paintChildren(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1629]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1605]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]

WebCore::RenderBlock::paintChildren(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1629]

WebCore::RenderBlock::paintContents(PaintInfo::RenderObject::WebCore&,int,i
nt)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1605]

WebCore::RenderBlock::paintObject(PaintInfo::RenderObject::WebCore&,int,int
)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1692]

WebCore::RenderBlock::paint(PaintInfo::RenderObject::WebCore&,int,int)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderblock.c
pp:1517]
             WebCore::RenderLayer::paintLayer(RenderLayer::WebCore
*,GraphicsContext::WebCore *,IntRect::WebCore
const&,bool,PaintRestriction::WebCore,RenderObject::WebCore *,bool)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1776]
             WebCore::RenderLayer::paintLayer(RenderLayer::WebCore
*,GraphicsContext::WebCore *,IntRect::WebCore
const&,bool,PaintRestriction::WebCore,RenderObject::WebCore *,bool)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1801]
             WebCore::RenderLayer::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&,PaintRestriction::WebCore,RenderObject::WebCore
*)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\rendering\renderlayer.c
pp:1618]
             WebCore::FrameView::paintContents(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\page\frameview.cpp:1190
]
             WebCore::ScrollView::paint(GraphicsContext::WebCore
*,IntRect::WebCore const&)
[c:\b\slave\pl\build\src\third_party\webkit\webcore\platform\scrollview.cpp
:633]


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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to chromium-bugs@googlegroups.com
To unsubscribe from this group, send email to 
chromium-bugs+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to