Bug 22043 - ASSERTION FAILED: this == frameLoader()->activeDocumentLoader() (../../WebCore/loader/DocumentLoader.cpp:402 void WebCore::DocumentLoader::updateLoading())
Summary: ASSERTION FAILED: this == frameLoader()->activeDocumentLoader() (../../WebCor...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2008-11-02 14:56 PST by Holger Freyther
Modified: 2008-12-11 16:37 PST (History)
0 users

See Also:


Attachments
Do not run into an assert (8.01 KB, patch)
2008-11-02 15:00 PST, Holger Freyther
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Freyther 2008-11-02 14:56:14 PST
The Gtk+ port manages to hit this assert on fast/history/clicked-link-is-visited.html and some more test cases. A backtrace to illustrate what is happening is inside the patch.
Comment 1 Holger Freyther 2008-11-02 15:00:24 PST
Created attachment 24855 [details]
Do not run into an assert

Proposed patch to not run into the assert. From what I can see is that the CURL backend is not really guilty. FrameLoader is currently using a RefPtr to keep the DocumentLoader alive, so the other ports might have a similar invocation pattern.

The question is if the call to dl->setPrimaryLoadComplete(true) can be omitted or not.
Comment 2 David Kilzer (:ddkilzer) 2008-11-29 21:48:11 PST
Comment on attachment 24855 [details]
Do not run into an assert

>    The cruelpit is the following. FrameLoader::finishedLoading is calling

I think you want "culprit", not "cruelpit" here.  :)

Sorry, I don't know enough about the loading machinery to review this patch.
Comment 3 Darin Adler 2008-12-10 14:52:03 PST
Comment on attachment 24855 [details]
Do not run into an assert

This change seems right. I'm going to say r=me even though this doesn't have a ChangeLog or a test case.
Comment 4 Holger Freyther 2008-12-11 16:37:43 PST
I did land it in r39221. The next step will be to remove some tests from the skipped list.