[webkit-dev] Leaks Galore

Eric Seidel eric at webkit.org
Thu Mar 26 22:48:02 PDT 2009


Seems we just got a whole bunch of leaks in WebCore:

WebCore::HTMLHtmlElement::insertedIntoDocument() |
WebCore::ApplicationCacheGroup::selectCache(WebCore::Frame*,
WebCore::KURL const&) |
WebCore::ApplicationCacheStorage::findOrCreateCacheGroup(WebCore::KURL
const&) | WebCore::ApplicationCacheStorage::loadCacheGroup(WebCore::KURL
const&) | WTF::fastMalloc(unsigned long) | malloc

	Call stack: [thread 102dfc4]: | 0x0 | _pthread_body |
forkThreadForFunction | +[NSURLConnection(NSURLConnectionInternal)
_resourceLoadLoop:] | CFRunLoopRunInMode | CFRunLoopRunSpecific |
_resourceLoaderPerform | -[NSURLConnection(NSURLConnectionInternal)
_performOriginLoad] | -[NSConnectionHTTPURLProtocol startOriginLoad] |
-[NSConnectionHTTPURLProtocol buildHTTPRequest] |
CFHTTPMessageCreateRequest | createRequestLine | CFStringCreateMutable
| _CFRuntimeCreateInstance | malloc_zone_malloc


WebCore::JSXMLHttpRequest::send(JSC::ExecState*, JSC::ArgList const&)
| WebCore::XMLHttpRequest::send(WebCore::String const&, int&) |
WebCore::XMLHttpRequest::createRequest(int&) |
WebCore::XMLHttpRequest::makeSameOriginRequest(int&) |
WebCore::XMLHttpRequest::loadRequestSynchronously(WebCore::ResourceRequest&,
int&) | WebCore::ThreadableLoader::loadResourceSynchronously(WebCore::ScriptExecutionContext*,
WebCore::ResourceRequest const&, WebCore::ThreadableLoaderClient&) |
WebCore::DocumentThreadableLoader::loadResourceSynchronously(WebCore::Document*,
WebCore::ResourceRequest const&, WebCore::ThreadableLoaderClient&) |
WebCore::FrameLoader::loadResourceSynchronously(WebCore::ResourceRequest
const&, WebCore::ResourceError&, WebCore::ResourceResponse&,
WTF::Vector<char, (unsigned long)0>&) |
WebCore::ResourceHandle::loadResourceSynchronously(WebCore::ResourceRequest
const&, WebCore::ResourceError&, WebCore::ResourceResponse&,
WTF::Vector<char, (unsigned long)0>&, WebCore::Frame*) |
+[NSURLConnection sendSynchronousRequest:returningResponse:error:] |
-[NSSynchronousURLConnectionDelegate run:] | -[NSURLConnection
initWithRequest:delegate:] | -[NSURLConnection
initWithRequest:delegate:priority:] | -[NSURLConnectionInternal init]
| +[NSObject alloc] | NSAllocateObject |
_internal_class_createInstanceFromZone | malloc_zone_calloc


WebCore::FrameLoader::load(WebCore::ResourceRequest const&,
WebCore::SubstituteData const&, bool) |
WebCore::FrameLoader::load(WebCore::DocumentLoader*) |
WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*,
WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) |
WebCore::FrameLoader::checkNavigationPolicy(WebCore::ResourceRequest
const&, WebCore::DocumentLoader*, WTF::PassRefPtr<WebCore::FormState>,
void (*)(void*, WebCore::ResourceRequest const&,
WTF::PassRefPtr<WebCore::FormState>, bool), void*) |
WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction(void
(WebCore::FrameLoader::*)(WebCore::PolicyAction),
WebCore::NavigationAction const&, WebCore::ResourceRequest const&,
WTF::PassRefPtr<WebCore::FormState>) |
WebFrameLoaderClient::actionDictionary(WebCore::NavigationAction
const&, WTF::PassRefPtr<WebCore::FormState>) const |
WebCore::KURL::operator NSURL*() const | WebCore::KURL::createCFURL()
const | CFURLCreateAbsoluteURLWithBytes | CFStringCreateWithBytes |
__CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance |
malloc_zone_malloc

AppCache ones filed:
https://bugs.webkit.org/show_bug.cgi?id=24877

These might all be related.  We may just be leaking some large network object?

-eric


More information about the webkit-dev mailing list