[Webkit-unassigned] [Bug 18064] New: assert-fail in WebCore::FrameLoader::saveDocumentState (document is null)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 25 03:34:29 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18064

           Summary: assert-fail in WebCore::FrameLoader::saveDocumentState
                    (document is null)
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
               URL: http://acid3.acidtests.org/reference.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jasper at unix.geek.nz


This is only an issue in debug builds because in release builds there is a null
check for document immediately after the assert. A probable fix is to just
remove the ASSERT() although it would be interesting to find out why document
is null only on GTK.

Backtrace:

#0  0x00007fc0ce043ed1 in WebCore::FrameLoader::saveDocumentState
(this=0xb2f930) at WebCore/loader/FrameLoader.cpp:4001
#1  0x00007fc0ce05f029 in WebCore::FrameLoader::closeURL (this=0x7fffd7019640)
at WebCore/loader/FrameLoader.cpp:641
#2  0x00007fc0ce05f07d in WebCore::FrameLoader::detachFromParent
(this=0xb2f930) at WebCore/loader/FrameLoader.cpp:3194
#3  0x00007fc0cdfaf105 in WebCore::HTMLFrameOwnerElement::willRemove
(this=0xa068c0) at WebCore/html/HTMLFrameOwnerElement.cpp:46
#4  0x00007fc0cddd679e in WebCore::ContainerNode::willRemove (this=0xb07860) at
WebCore/dom/ContainerNode.cpp:347
#5  0x00007fc0cddd679e in WebCore::ContainerNode::willRemove (this=0xaf6e30) at
WebCore/dom/ContainerNode.cpp:347
#6  0x00007fc0cddd679e in WebCore::ContainerNode::willRemove (this=0x82a580) at
WebCore/dom/ContainerNode.cpp:347
#7  0x00007fc0cddd679e in WebCore::ContainerNode::willRemove (this=0x851100) at
WebCore/dom/ContainerNode.cpp:347
#8  0x00007fc0ce04ef0f in WebCore::FrameLoader::clear (this=0x810fe0,
clearWindowProperties=true, clearScriptObjects=true) at
WebCore/loader/FrameLoader.cpp:803
#9  0x00007fc0ce057eef in WebCore::FrameLoader::begin (this=0x810fe0,
url=@0x811190, dispatch=false, origin=0x0) at
WebCore/loader/FrameLoader.cpp:898
#10 0x00007fc0ce05bda2 in WebCore::FrameLoader::receivedFirstData
(this=0x7fffd7019640) at WebCore/loader/FrameLoader.cpp:848
#11 0x00007fc0ce05c7c8 in WebCore::FrameLoader::setEncoding (this=0x810fe0,
name=@0x80e048, userChosen=false) at WebCore/loader/FrameLoader.cpp:1749
#12 0x00007fc0cdb4f335 in WebKit::FrameLoaderClient::committedLoad (this=<value
optimized out>, loader=<value optimized out>, 
    data=0xfded60 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML
4.0//EN\">\n<html>\n <title>The Acid3 Test (Reference Rendering)</title>\n
<style type=\"text/css\">\n  html { margin: 0; padding: 0; }\n  body {
background: #c0c0c0 ur"..., length=1256) at
WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:165
#13 0x00007fc0ce03c683 in WebCore::DocumentLoader::commitLoad (this=0xfcfd80, 
    data=0xfded60 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML
4.0//EN\">\n<html>\n <title>The Acid3 Test (Reference Rendering)</title>\n
<style type=\"text/css\">\n  html { margin: 0; padding: 0; }\n  body {
background: #c0c0c0 ur"..., length=1256) at
WebCore/loader/DocumentLoader.cpp:325
#14 0x00007fc0ce089ee2 in WebCore::ResourceLoader::didReceiveData
(this=0xfcec10, 
    data=0xfded60 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML
4.0//EN\">\n<html>\n <title>The Acid3 Test (Reference Rendering)</title>\n
<style type=\"text/css\">\n  html { margin: 0; padding: 0; }\n  body {
background: #c0c0c0 ur"..., length=1256, lengthReceived=0, allAtOnce=false) at
WebCore/loader/ResourceLoader.cpp:234
#15 0x00007fc0ce07f4e3 in WebCore::MainResourceLoader::didReceiveData
(this=0xfcec10, 
    data=0xfded60 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML
4.0//EN\">\n<html>\n <title>The Acid3 Test (Reference Rendering)</title>\n
<style type=\"text/css\">\n  html { margin: 0; padding: 0; }\n  body {
background: #c0c0c0 ur"..., length=1256, lengthReceived=0, allAtOnce=160) at
WebCore/loader/MainResourceLoader.cpp:296
#16 0x00007fc0ce271057 in writeCallback (ptr=0xfded60, size=<value optimized
out>, nmemb=<value optimized out>, data=<value optimized out>) at
WebCore/platform/network/curl/ResourceHandleManager.cpp:126
#17 0x00007fc0c844b838 in ?? () from /usr/lib/libcurl-gnutls.so.4
#18 0x00007fc0c8464b79 in ?? () from /usr/lib/libcurl-gnutls.so.4
#19 0x00007fc0c8464d2f in ?? () from /usr/lib/libcurl-gnutls.so.4
#20 0x00007fc0c845e16a in ?? () from /usr/lib/libcurl-gnutls.so.4
#21 0x00007fc0c8462e9c in ?? () from /usr/lib/libcurl-gnutls.so.4
#22 0x00007fc0c846380b in curl_multi_perform () from
/usr/lib/libcurl-gnutls.so.4
#23 0x00007fc0ce2759bc in WebCore::ResourceHandleManager::downloadTimerCallback
(this=0x897320, timer=<value optimized out>) at
WebCore/platform/network/curl/ResourceHandleManager.cpp:308
#24 0x00007fc0ce15e350 in WebCore::TimerBase::fireTimers
(fireTime=1206441151.5012569, firingTimers=@0x7fffd701a880) at
WebCore/platform/Timer.cpp:347
#25 0x00007fc0ce15e870 in WebCore::TimerBase::sharedTimerFired () at
WebCore/platform/Timer.cpp:368
#26 0x00007fc0cdb86492 in timeout_cb () at
WebCore/platform/gtk/SharedTimerGtk.cpp:48
#27 0x00007fc0cccd294b in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007fc0cccd2222 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#29 0x00007fc0cccd54d6 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fc0cccd5797 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0x00007fc0cd2e3ee3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x00000000004040b8 in main (argc=1, argv=0x7fffd701abc8) at juniper.c:46


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



More information about the webkit-unassigned mailing list