WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 21043
REGRESSION: Leak of AnimationLists (and whole RenderStyles?)
https://bugs.webkit.org/show_bug.cgi?id=21043
Summary
REGRESSION: Leak of AnimationLists (and whole RenderStyles?)
mitz
Reported
2008-09-23 15:38:48 PDT
The leaks bot is showing many leaks beneath accessAnimations(). See URL.
Attachments
Patch, changelog
(1.93 KB, patch)
2008-09-29 14:57 PDT
,
Simon Fraser (smfr)
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2008-09-23 18:19:05 PDT
I don't see any leaks when I run the animation tests: wktests --debug --leaks LayoutTests/animations/ animations .............. ? checking for leaks in DumpRenderTree - no leaks found
mitz
Comment 2
2008-09-23 20:30:56 PDT
(In reply to
comment #1
)
> I don't see any leaks when I run the animation tests: > wktests --debug --leaks LayoutTests/animations/ > animations .............. > ? checking for leaks in DumpRenderTree > - no leaks found
The leaks bot is running Tiger. The leaks command tends to be better at finding leaks under Tiger, which is what the leaks bot is running. There is also a chance that the leaks has been fixed since
r36763
.
Simon Fraser (smfr)
Comment 3
2008-09-24 12:10:04 PDT
Adding some printfs shows that RenderStyles are being leaked, but that may change when Chris fixes
bug 20995
.
Simon Fraser (smfr)
Comment 4
2008-09-29 14:38:46 PDT
Still leaking after
bug 20995
landed. We're leaking RenderStyles: ... WebCore::Element::attach() WebCore::Node::createRendererIfNeeded() WebCore::Node::styleForRenderer(WebCore::RenderObject*) WebCore::CSSStyleSelector::styleForElement(WebCore::Element*, WebCore::RenderStyle*, bool, bool) WebCore::RenderStyle::operator new(unsigned long, WebCore::RenderArena*) WebCore::RenderArena::allocate(unsigned long) malloc
Simon Fraser (smfr)
Comment 5
2008-09-29 14:57:48 PDT
Created
attachment 23920
[details]
Patch, changelog
Anders Carlsson
Comment 6
2008-09-29 15:03:34 PDT
Comment on
attachment 23920
[details]
Patch, changelog r=me
Simon Fraser (smfr)
Comment 7
2008-09-29 15:04:58 PDT
Committed
r37078
M WebCore/ChangeLog M WebCore/css/CSSStyleSelector.cpp M WebCore/page/animation/KeyframeAnimation.cpp
r37078
= 8a565534699cd0513050a291fd34f009602cd903 (trunk) Ran various animation tests with this fix, saw no leaks.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug