[Webkit-unassigned] [Bug 80543] New: Assertion failure in ResourceHandle.cpp: d->m_defersLoading != defers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 7 14:36:08 PST 2012


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

           Summary: Assertion failure in ResourceHandle.cpp:
                    d->m_defersLoading != defers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psolanki at apple.com
                CC: koivisto at iki.fi, simon.fraser at apple.com


It's possible to hit the assertion in ResourceHandle::setDefersLoading() in the following sequence

- We create a ResourceLoader (subresource loader) with defersLoading = false
- But the ResourceLoader hasn't been added to the subresource list in DocumentLoader and instead is sitting the pending requests list in ResourceLoadScheduler.
- Page::setDefersLoading(true) gets called which changes the flag on all subresources except those sitting in the pending requests list.
- Later, the request in the pending request list get started which adds them into the subresource list in DocumentLoader
- A subsequent call to Page::setDefersLoading() triggers the 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