Bug 53175 - Leaking PlatformCAAnimations
Summary: Leaking PlatformCAAnimations
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Chris Marrin
URL:
Keywords: InRadar
: 53994 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-26 09:35 PST by Simon Fraser (smfr)
Modified: 2011-02-13 17:56 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2011-01-26 09:35:39 PST
Leaks bot shows leaks here:

Leak: 0x113441cb0  size=80  zone: DefaultMallocZone_0x105951000	instance of 'NSCFArray', type ObjC, implemented in Foundation	
	0x70de1198 0x00007fff 0x00001284 0x00000001 	...p............
	0x00000003 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x1346c6d0 0x00000001 0x13474cd0 0x00000001 	..F......LG.....
	0x134d01c0 0x00000001 0x00000000 0x00000000 	..M.............
	Call stack: [thread 0x7fff70b12c20]: | 0x2 | start | main | dumpRenderTree(int, char const**) | runTestingServerLoop() | runTest(std::string const&) | -[NSRunLoop(NSRunLoop) runMode:beforeDate:] | CFRunLoopRunSpecific | __CFRunLoopRun | WebCore::timerFired(__CFRunLoopTimer*, void*) | WebCore::ThreadTimers::sharedTimerFired() | WebCore::ThreadTimers::sharedTimerFiredInternal() | WebCore::Timer<WebCore::AnimationControllerPrivate>::fired() | WebCore::AnimationControllerPrivate::animationTimerFired(WebCore::Timer<WebCore::AnimationControllerPrivate>*) | WebCore::AnimationControllerPrivate::updateAnimationTimer(bool) | WebCore::Document::updateStyleIfNeeded() | WebCore::AnimationController::endAnimationUpdate() | WebCore::AnimationControllerPrivate::endAnimationUpdate() | WebCore::AnimationControllerPrivate::styleAvailable() | WebCore::AnimationBase::styleAvailable() | WebCore::AnimationBase::updateStateMachine(WebCore::AnimationBase::AnimStateInput, double) | WebCore::KeyframeAnimation::startAnimation(double) | WebCore::RenderLayerBacking::startAnimation(double, WebCore::Animation const*, WebCore::KeyframeList const&) | WebCore::GraphicsLayerCA::addAnimation(WebCore::KeyframeValueList const&, WebCore::IntSize const&, WebCore::Animation const*, WTF::String const&, double) | WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes(WebCore::KeyframeValueList const&, WebCore::Animation const*, WTF::String const&, double, WebCore::IntSize const&) | WebCore::GraphicsLayerCA::setTransformAnimationEndpoints(WebCore::KeyframeValueList const&, WebCore::Animation const*, WebCore::PlatformCAAnimation*, int, WebCore::TransformOperation::OperationType, bool, WebCore::IntSize const&) | WebCore::PlatformCAAnimation::setToValue(WebCore::FloatPoint3D const&) | +[NSArray arrayWithObjects:] | -[__NSPlaceholderArray initWithObjects:count:] | CFArrayCreate | __CFArrayInit | _CFRuntimeCreateInstance | malloc_zone_malloc
Comment 1 Simon Fraser (smfr) 2011-01-26 09:47:30 PST
PlatformCAAnimation::PlatformCAAnimation(const PlatformCAAnimation* animation) for Mac just looks wrong. Why isn't this a copy constructor?
Comment 2 Simon Fraser (smfr) 2011-01-26 11:11:38 PST
<rdar://problem/8919393>
Comment 3 Simon Fraser (smfr) 2011-02-08 08:36:39 PST
*** Bug 53994 has been marked as a duplicate of this bug. ***
Comment 4 Simon Fraser (smfr) 2011-02-08 08:38:02 PST
This will be fixed via bug 53513
Comment 5 Simon Fraser (smfr) 2011-02-13 17:56:08 PST
http://trac.webkit.org/changeset/78051