[Webkit-unassigned] [Bug 101416] New: Crash in SubresourceLoader::didFail when reload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 6 17:53:21 PST 2012


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

           Summary: Crash in SubresourceLoader::didFail when reload
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ktf.kim at samsung.com


Crash occurred when SubresourceLoader::didFail called during reload by ASSERT(!m_resource->resourceToRevalidate())
The m_resource->m_resourceToRevalidate was set by CachedResource::setResourceToRevalidate on request,
and was expected to clear by CachedResource::clearResourceToRevalidate when responce received.

CachedResourceLoader::requestResource
 CachedResourceLoader::revalidateResource
  CachedResource::setResourceToRevalidate

SubresourceLoader::didReceiveResponse
 MemoryCache::revalidationSucceeded  (or MemoryCache::revalidationFailed)
  CachedResource::clearResourceToRevalidate

But, when  SubresourceLoader::didFail called by ResourceLoader::didFail, there was no chance to clear before that.
sendRequestCallback
 ResourceLoader::didFail
  SubresourceLoader::didFail

So, in this case, clear the resourceToRevalidate on there would be more suitable than ASSERT.

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