Comment #1 on issue 9563 by [email protected]: Mem leak in  
test_shell_tests - PlatformCanvas.SkLayer
http://code.google.com/p/chromium/issues/detail?id=9563

Attaching another leak that looks related:

==23659== 124,476 (11,536 direct, 112,940 indirect) bytes in 103 blocks are  
definitely lost in loss record
632 of 680
==23659==    at 0x4509E23: malloc_zone_malloc (vg_replace_malloc.c:197)
==23659==    by 0x52D4430: _CFRuntimeCreateInstance (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==23659==    by 0x7391047: CGTypeCreateInstanceWithAllocator (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framewo
rk/Versions/A/CoreGraphics)
==23659==    by 0x7395456: CGTypeCreateInstance (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framewo
rk/Versions/A/CoreGraphics)
==23659==    by 0x73A1A37: CGContextCreateWithDelegate (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framewo
rk/Versions/A/CoreGraphics)
==23659==    by 0x73A1A0E: CGContextCreate (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framewo
rk/Versions/A/CoreGraphics)
==23659==    by 0x7406FE5: createBitmapContext (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framewo
rk/Versions/A/CoreGraphics)
==23659==    by 0x7406B3E: CGBitmapContextCreate (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framewo
rk/Versions/A/CoreGraphics)
==23659==    by 0xBD7FB: skia::BitmapPlatformDeviceMac::Create(CGContext*,  
int, int, bool)
(bitmap_platform_device_mac.cc:151)
==23659==    by 0xC4C1A: std::vector<short, StackAllocator<short, 64ul>  
>::push_back(short const&)
(stl_vector.h:602)
==23659==    by 0xC4E2F: skia::PlatformCanvasMac::initialize(int, int,  
bool) (platform_canvas_mac.cc:62)
==23659==    by 0xC5124: skia::PlatformCanvasMac::PlatformCanvasMac(int,  
int, bool, CGContext*)
(platform_canvas_mac.cc:25)
==23659==    by 0x85A63: WebWidgetHost::Paint() (webwidget_host.mm:146)
==23659==    by 0x820B4: -[TestShellWebView drawRect:] (NSGeometry.h:143)
==23659==    by 0x462529B: -[NSView _drawRect:clip:] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x4623D92: -[NSView  
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x4624129: -[NSView  
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x4624129: -[NSView  
_recursiveDisplayAllDirtyWithLockFocus:visRect:] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x46226E8: -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
  
(in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x462202A: -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
  
(in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x461EB4E: -[NSView  
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
(in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x455F522: -[NSView displayIfNeeded] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x4611C60: -[NSWindow _setFrameCommon:display:stashSize:]  
(in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0x4611469: -[NSWindow setFrame:display:] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
==23659==    by 0xA6BEF: -[WatchDogTarget run:] (test_shell_mac.mm:367)
==23659==    by 0xA20E0: TestShell::SizeToDefault() (test_shell.cc:205)
==23659==    by 0xA6D27: TestShell::LoadURLForFrame(wchar_t const*, wchar_t  
const*)
(test_shell_mac.mm:390)
==23659==    by 0xA20BD: TestShell::LoadURL(wchar_t const*)  
(test_shell.cc:205)
==23659==    by 0xA80E8: GetResourcesFilePath() (test_shell_mac.mm:85)
==23659==    by 0xA3E9E: scoped_ptr<LayoutTestController>::~scoped_ptr()  
(scoped_ptr.h:72)


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