RESOLVED FIXED 53175
Leaking PlatformCAAnimations
https://bugs.webkit.org/show_bug.cgi?id=53175
Summary Leaking PlatformCAAnimations
Simon Fraser (smfr)
Reported 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
Attachments
Simon Fraser (smfr)
Comment 1 2011-01-26 09:47:30 PST
PlatformCAAnimation::PlatformCAAnimation(const PlatformCAAnimation* animation) for Mac just looks wrong. Why isn't this a copy constructor?
Simon Fraser (smfr)
Comment 2 2011-01-26 11:11:38 PST
Simon Fraser (smfr)
Comment 3 2011-02-08 08:36:39 PST
*** Bug 53994 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 4 2011-02-08 08:38:02 PST
This will be fixed via bug 53513
Simon Fraser (smfr)
Comment 5 2011-02-13 17:56:08 PST
Note You need to log in before you can comment on or make changes to this bug.