Bug 21487 - JSCustomSQLTransactionCallback and associated objects leak when the storage tests are run
Summary: JSCustomSQLTransactionCallback and associated objects leak when the storage t...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P1 Normal
Assignee: Dumitru Daniliuc
URL:
Keywords: InRadar, LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2008-10-08 16:16 PDT by mitz
Modified: 2010-05-14 16:15 PDT (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 mitz 2008-10-08 16:16:13 PDT
./WebKitBuild/Debug/DumpRenderTree LayoutTests/storage/*.html reports the following:

LEAK: 19 WebCoreNode
LEAK: 1 JSCustomSQLTransactionCallback
LEAK: 1 Frame
LEAK: 44 JSC::Node

The first test in the bunch, close-during-stress-test.html, is essential for the leak to happen, and running it (or even a reduced version of it) alone reproduces the leak, but running it followed by a page that waits for a while before DRT quits makes the leak go away.
Comment 1 mitz 2008-10-08 16:17:16 PDT
<rdar://problem/6279671>
Comment 2 Eric Seidel (no email) 2010-02-17 12:29:37 PST
This may be related to the crash (bug 30172) that we're seeing with storage/close-during-stress-test.html
Comment 3 Dumitru Daniliuc 2010-05-14 16:15:13 PDT
Just sync'ed to r59499 and ran WebKitBuild/Debug/DumpRenderTree LayoutTests/storage/*.html:

Leak: 89 WebCoreNode
Leak: 616 Structure

Running only close-during-stress-test.html doesn't report any leaks.

All DB bindings were refactored quite a bit in the last half a year. One of those refactorings must've fixed this problem too. Please reopen if you this leak again.