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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 22 13:41:41 PDT 2012


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





--- Comment #17 from Nate Chapin <japhet at chromium.org>  2012-06-22 13:41:40 PST ---
(In reply to comment #16)
> Since it's a regression, and there is nothing in API documentation saying that one must not re-enter, this still looks like a valid bug to me.

Ok, I think there actually 2 ways to resolve this:
1. Add early exits if m_reachedTerminalState if true in didFail() and didFinishLoading().
2. As you've suggested previously, change SubresourceLoader::releaseResources() to only clear variables, not heavy lifting like calling CachedResourceLoader::loadDone().

#2 is more extensive and would probably still allow cases like this to call releaseResources() twice (and therefore trigger assertions in debug), but would make calling releaseResources() multiple times benign.

-- 
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