[Webkit-unassigned] [Bug 87743] Crash in WebCore::SubresourceLoader::releaseResources when connection fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 4 12:45:43 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=87743





--- Comment #23 from Yong Li <yoli at rim.com>  2012-12-04 12:48:09 PST ---
(From update of attachment 149309)
View in context: https://bugs.webkit.org/attachment.cgi?id=149309&action=review

> Source/WebCore/loader/SubresourceLoader.cpp:336
> +    m_requestCountTracker.clear();
> +    m_document->cachedResourceLoader()->loadDone();
> +    if (reachedTerminalState())
> +        return;
> +    m_documentLoader->removeSubresourceLoader(this);

Can we call m_documentLoader->removeSubresourceLoader(this); before calling m_document->cachedResourceLoader()->loadDone(); ?

This will fix https://bugs.webkit.org/show_bug.cgi?id=100791. loadDone() may trigger a start() on the same SubresourceLoader.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list