RESOLVED FIXED 10259
REGRESSION: Leaks reported by buildbot
https://bugs.webkit.org/show_bug.cgi?id=10259
Summary REGRESSION: Leaks reported by buildbot
Geoffrey Garen
Reported 2006-08-04 12:48:03 PDT
149 Node 11 RenderObject 1 Frame 39 KJS::Node Looks like this began with r15791 (???). Index: WebCore/ChangeLog =================================================================== --- WebCore/ChangeLog (revision 15790) +++ WebCore/ChangeLog (revision 15792) @@ -1,3 +1,16 @@ +2006-08-03 David Hyatt <hyatt@apple.com> + + Fix for bug 10229, don't bother trying to clear when no floats are + present. I suspect there's still a bug in the math that follows, but + this fix is safer in that it just does the obvious thing (and doesn't + compute any clearance if no floats are even around). + + Reviewed by maciej + + * ChangeLog: + * rendering/RenderBlock.cpp: + (WebCore::RenderBlock::getClearDelta): + 2006-08-03 Justin Garcia <justin.garcia@apple.com> Reviewed by harrison
Attachments
patch that fixes some of the biggest leaks I see (2.08 KB, patch)
2006-08-05 17:09 PDT, Darin Adler
no flags
Geoffrey Garen
Comment 1 2006-08-04 12:51:09 PDT
Dave says that this change just replaced a function call with its implementation, so it looks like the buildbot is blaming this change for an independent leak.
Darin Adler
Comment 2 2006-08-05 09:09:08 PDT
Here's what I see: 1) many leaks of the InlineBox created by RenderListMarker::createInlineBox -- this leak *does* seem like it was caused by a recent change 2) a failure in test dom/html/level2/html/HTMLBaseElement02.html 3) an entire frame leak as Geoff's reporting here -- not sure what caused this
Darin Adler
Comment 3 2006-08-05 16:11:59 PDT
(In reply to comment #2) > 1) many leaks of the InlineBox created by RenderListMarker::createInlineBox > -- this leak *does* seem like it was caused by a recent change I'm trying and having trouble reproducing this locally.
Darin Adler
Comment 4 2006-08-05 16:29:52 PDT
Now I can reproduce it fine.
Darin Adler
Comment 5 2006-08-05 17:09:46 PDT
Created attachment 9896 [details] patch that fixes some of the biggest leaks I see
Geoffrey Garen
Comment 6 2006-08-06 11:07:56 PDT
Comment on attachment 9896 [details] patch that fixes some of the biggest leaks I see Patch looks good to me, but I'll wait for Hyatt. What do you think about changing this: + if (!handle) { + delete this; + return false; + } return true; to this: if (handle) return true; ?
Darin Adler
Comment 7 2006-08-06 11:12:02 PDT
(In reply to comment #6) > What do you think about changing this: > > + if (!handle) { > + delete this; > + return false; > + } > > return true; > > to this: > > if (handle) > return true; > > ? Seems OK. I handled the error case first because I think of it as the exceptional case, but I can see sharing the code instead.
Dave Hyatt
Comment 8 2006-08-14 11:41:11 PDT
Comment on attachment 9896 [details] patch that fixes some of the biggest leaks I see r=me
Darin Adler
Comment 9 2006-08-14 12:08:20 PDT
Comment on attachment 9896 [details] patch that fixes some of the biggest leaks I see Committed revision 15857. Clearing review flag so we can use this bug to track fixing the rest of the leaks (including the ones that Geoff was originally talking about, I think).
Stephanie Lewis
Comment 10 2007-01-22 16:39:40 PST
Mark Rowe (bdash)
Comment 11 2007-02-01 15:44:21 PST
The leaks reported here are long-gone. A new bug should be opened for any new leaks that are noticed.
Note You need to log in before you can comment on or make changes to this bug.