Bug 30125

Summary: [GTK] Segfault while testing fast/loader/unload-hyperlink-targeted.html
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gustavo, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Philippe Normand 2009-10-06 06:01:01 PDT
** (DumpRenderTree:6075): CRITICAL **: WebKitWebResource* webkit_web_view_get_resource(WebKitWebView*, char*): assertion `resourceFound || g_str_equal(identifier, priv->mainResourceIdentifier)' failed

** (DumpRenderTree:6075): CRITICAL **: const gchar* webkit_web_resource_get_uri(WebKitWebResource*): assertion `WEBKIT_IS_WEB_RESOURCE(webResource)' failed

Program received signal SIGSEGV, Segmentation fault.
0xf6bc1119 in WebCore::StringImpl::hash (this=0x0) at ../../WebCore/platform/text/StringImpl.h:112
112	    unsigned hash() { if (m_hash == 0) m_hash = computeHash(m_data, m_length); return m_hash; }
(gdb) bt full
#0  0xf6bc1119 in WebCore::StringImpl::hash (this=0x0) at ../../WebCore/platform/text/StringImpl.h:112
No locals.
#1  0xf6c38863 in WebCore::StringHash::hash (key=...) at ../../WebCore/platform/text/StringHash.h:70
No locals.
#2  0xf6e412b5 in WTF::IdentityHashTranslator<WebCore::String, std::pair<WebCore::String, WebCore::CachedResourceHandle<WebCore::CachedResource> >, WebCore::StringHash>::hash (key=...) at ../../JavaScriptCore/wtf/HashTable.h:277
No locals.
#3  0xf6e41501 in WTF::HashTable<WebCore::String, std::pair<WebCore::String, WebCore::CachedResourceHandle<WebCore::CachedResource> >, WTF::PairFirstExtractor<std::pair<WebCore::String, WebCore::CachedResourceHandle<WebCore::CachedResource> > >, WebCore::StringHash, WTF::PairHashTraits<WTF::HashTraits<WebCore::String>, WTF::HashTraits<WebCore::CachedResourceHandle<WebCore::CachedResource> > >, WTF::HashTraits<WebCore::String> >::lookup<WebCore::String, WTF::IdentityHashTranslator<WebCore::String, std::pair<WebCore::String, WebCore::CachedResourceHandle<WebCore::CachedResource> >, WebCore::StringHash> > (this=0x80b321c, key=...) at ../../JavaScriptCore/wtf/HashTable.h:474
        k = 0
        sizeMask = 0
        table = 0x0
        h = 4110154456
        i = -157971915
#4  0xf6e415e0 in WTF::HashTable<WebCore::String, std::pair<WebCore::String, WebCore::CachedResourceHandle<WebCore::CachedResource> >, WTF::PairFirstExtractor<std::pair<WebCore::String, WebCore::CachedResourceHandle<WebCore::CachedResource> > >, WebCore::StringHash, WTF::PairHashTraits<WTF::HashTraits<WebCore::String>, WTF::HashTraits<WebCore::CachedResourceHandle<WebCore::CachedResource> > >, WTF::HashTraits<WebCore::String> >::lookup (this=0x80b321c, key=...) at ../../JavaScriptCore/wtf/HashTable.h:340
No locals.
#5  0xf6e415fc in WTF::HashMap<WebCore::String, WebCore::CachedResourceHandle<WebCore::CachedResource>, WebCore::StringHash, WTF::HashTraits<WebCore::String>, WTF::HashTraits<WebCore::CachedResourceHandle<WebCore::CachedResource> > >::get (this=0x80b321c, key=...) at ../../JavaScriptCore/wtf/HashMap.h:207
        entry = 0x1
#6  0xf6e41663 in WebCore::DocLoader::cachedResource (this=0x80b31e8, url=...) at ../../WebCore/loader/DocLoader.h:75
No locals.
#7  0xf6e6eb27 in WebCore::DocumentLoader::subresource (this=0x80b4cd8, url=...) at ../../WebCore/loader/DocumentLoader.cpp:537
        resource = 0xffffb91c
        data = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0xffffb8ec}
#8  0xf6964d06 in WebKit::FrameLoaderClient::dispatchDidFinishLoading (this=0x8133c60, loader=0x80b4cd8, identifier=3)
    at ../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:851
        webView = 0x80c5000
        identifierString = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_ptr = 0x8166768 "3"}
        webResource = 0x0
        uri = 0x0
        coreResource = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0xffffb9a4}
        __PRETTY_FUNCTION__ = "virtual void WebKit::FrameLoaderClient::dispatchDidFinishLoading(WebCore::DocumentLoader*, long unsigned int)"
        havePrinted = true
#9  0xf6e815ac in WebCore::FrameLoader::dispatchDidFinishLoading (this=0x8133d54, loader=0x80b4cd8, identifier=3) at ../../WebCore/loader/FrameLoader.cpp:4878
No locals.
#10 0xf6e81f00 in WebCore::FrameLoader::didFinishLoad (this=0x8133d54, loader=0x8155608) at ../../WebCore/loader/FrameLoader.cpp:4705
No locals.
#11 0xf6ea7638 in WebCore::ResourceLoader::didFinishLoadingOnePart (this=0x8155608) at ../../WebCore/loader/ResourceLoader.cpp:287
        __PRETTY_FUNCTION__ = "void WebCore::ResourceLoader::didFinishLoadingOnePart()"
#12 0xf6ea76b3 in WebCore::ResourceLoader::didFinishLoading (this=0x8155608) at ../../WebCore/loader/ResourceLoader.cpp:273
        __PRETTY_FUNCTION__ = "virtual void WebCore::ResourceLoader::didFinishLoading()"
#13 0xf6e9d5f3 in WebCore::MainResourceLoader::didFinishLoading (this=0x8155608) at ../../WebCore/loader/MainResourceLoader.cpp:376
        protect = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8155608}
---Type <return> to continue, or q <return> to quit---
        dl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80b4cd8}
        __PRETTY_FUNCTION__ = "virtual void WebCore::MainResourceLoader::didFinishLoading()"
#14 0xf6e9e66d in WebCore::MainResourceLoader::continueAfterContentPolicy (this=0x8155608, contentPolicy=WebCore::PolicyUse, r=...)
    at ../../WebCore/loader/MainResourceLoader.cpp:264
        url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8139260}}, m_isValid = true, m_protocolInHTTPFamily = false, m_schemeEnd = 5, 
          m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}
        mimeType = @0x8155650
        protect = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8155608}
        __PRETTY_FUNCTION__ = "void WebCore::MainResourceLoader::continueAfterContentPolicy(WebCore::PolicyAction, const WebCore::ResourceResponse&)"
#15 0xf6e9e759 in WebCore::MainResourceLoader::continueAfterContentPolicy (this=0x8155608, policy=WebCore::PolicyUse) at ../../WebCore/loader/MainResourceLoader.cpp:278
        __PRETTY_FUNCTION__ = "void WebCore::MainResourceLoader::continueAfterContentPolicy(WebCore::PolicyAction)"
#16 0xf6e9e792 in WebCore::MainResourceLoader::callContinueAfterContentPolicy (argument=0x8155608, policy=WebCore::PolicyUse)
    at ../../WebCore/loader/MainResourceLoader.cpp:270
No locals.
#17 0xf6ea191b in WebCore::PolicyCheck::call (this=0xffffbb78, action=WebCore::PolicyUse) at ../../WebCore/loader/PolicyCheck.cpp:112
        __PRETTY_FUNCTION__ = "void WebCore::PolicyCheck::call(WebCore::PolicyAction)"
#18 0xf6e86076 in WebCore::FrameLoader::continueAfterContentPolicy (this=0x8133d54, policy=WebCore::PolicyUse) at ../../WebCore/loader/FrameLoader.cpp:3145
        check = {m_request = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_isValid = false, 
                m_protocolInHTTPFamily = false, m_schemeEnd = 0, m_userStart = 0, m_userEnd = 0, m_passwordEnd = 0, m_hostEnd = 0, m_portEnd = 0, m_pathAfterLastSlash = 0, 
                m_pathEnd = 0, m_queryEnd = 0, m_fragmentEnd = 0}, m_cachePolicy = WebCore::UseProtocolCachePolicy, m_timeoutInterval = 2147483647, 
              m_firstPartyForCookies = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_isValid = false, m_protocolInHTTPFamily = false, 
                m_schemeEnd = 0, m_userStart = 0, m_userEnd = 0, m_passwordEnd = 0, m_hostEnd = 0, m_portEnd = 0, m_pathAfterLastSlash = 0, m_pathEnd = 0, m_queryEnd = 0, 
                m_fragmentEnd = 0}, m_httpMethod = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8139288}}, 
              m_httpHeaderFields = {<WTF::HashMap<WebCore::AtomicString, WebCore::String, WebCore::CaseFoldingHash, WTF::HashTraits<WebCore::AtomicString>, WTF::HashTraits<WebCore::String> >> = {<WTF::FastAllocBase> = {<No data fields>}, m_impl = {static m_minTableSize = 64, static m_maxLoad = 2, static m_minLoad = 6, m_table = 0x0, 
                    m_tableSize = 0, m_tableSizeMask = 0, m_keyCount = 0, m_deletedCount = 0, m_iterators = 0x0, 
                    m_mutex = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_mutex = {__data = {__lock = 0, __count = 0, 
                          __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, 
                        __align = 0}}}}, <No data fields>}, m_responseContentDispositionEncodingFallbackArray = {<WTF::FastAllocBase> = {<No data fields>}, m_size = 0, 
                m_buffer = {<WTF::VectorBufferBase<WebCore::String>> = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, 
                    m_buffer = 0x81398b0, m_capacity = 0}, <No data fields>}}, m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_allowCookies = true, 
              m_resourceRequestUpdated = true, m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data fields>}, 
          m_formState = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_frameName = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, 
          m_navigationFunction = 0, m_newWindowFunction = 0, 
          m_contentFunction = 0xf6e9e76e <WebCore::MainResourceLoader::callContinueAfterContentPolicy(void*, WebCore::PolicyAction)>, m_argument = 0x8155608}
#19 0xf6979c8d in webkit_web_policy_decision_use (decision=0x814f160) at ../../WebKit/gtk/webkit/webkitwebpolicydecision.cpp:89
        priv = 0x814f170
        __PRETTY_FUNCTION__ = "void webkit_web_policy_decision_use(WebKitWebPolicyDecision*)"
#20 0xf6964ae5 in WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType (this=0x8133c60, 
    policyFunction=0xf6e86026 <WebCore::FrameLoader::continueAfterContentPolicy(WebCore::PolicyAction)>, mimeType=..., resourceRequest=...)
    at ../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:304
        page = 0x80c5000
        request = 0x8074238
        policyDecision = 0x814f160
        isHandled = 0
        __PRETTY_FUNCTION__ = "virtual void WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType(void (WebCore::FrameLoader::*)(WebCore::PolicyAction), const WebCore::String&, const WebCore::ResourceRequest&)"
---Type <return> to continue, or q <return> to quit---
#21 0xf6e89357 in WebCore::FrameLoader::checkContentPolicy (this=0x8133d54, MIMEType=..., 
    function=0xf6e9e76e <WebCore::MainResourceLoader::callContinueAfterContentPolicy(void*, WebCore::PolicyAction)>, argument=0x8155608)
    at ../../WebCore/loader/FrameLoader.cpp:2256
        settings = 0x80ae598
        __PRETTY_FUNCTION__ = "void WebCore::FrameLoader::checkContentPolicy(const WebCore::String&, void (*)(void*, WebCore::PolicyAction), void*)"
#22 0xf6e9d94c in WebCore::MainResourceLoader::didReceiveResponse (this=0x8155608, r=...) at ../../WebCore/loader/MainResourceLoader.cpp:323
        it = {m_impl = {m_position = 0x0, m_endPosition = 0x0, m_table = 0xffffbe0c, m_next = 0x0, m_previous = 0x0}}
        protect = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8155608}
        __PRETTY_FUNCTION__ = "virtual void WebCore::MainResourceLoader::didReceiveResponse(const WebCore::ResourceResponse&)"
#23 0xf6e9cc71 in WebCore::MainResourceLoader::handleEmptyLoad (this=0x8155608, url=..., forURLScheme=false) at ../../WebCore/loader/MainResourceLoader.cpp:408
        mimeType = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80e4e10}}
        response = {<WebCore::ResourceResponseBase> = {m_url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8139260}}, m_isValid = true, 
              m_protocolInHTTPFamily = false, m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, 
              m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}, m_mimeType = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80e4e10}}, 
            m_expectedContentLength = 0, m_textEncodingName = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_suggestedFilename = {
              m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_httpStatusCode = 0, m_httpStatusText = {
              m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, 
            m_httpHeaderFields = {<WTF::HashMap<WebCore::AtomicString, WebCore::String, WebCore::CaseFoldingHash, WTF::HashTraits<WebCore::AtomicString>, WTF::HashTraits<WebCore::String> >> = {<WTF::FastAllocBase> = {<No data fields>}, m_impl = {static m_minTableSize = 64, static m_maxLoad = 2, static m_minLoad = 6, m_table = 0x0, 
                  m_tableSize = 0, m_tableSizeMask = 0, m_keyCount = 0, m_deletedCount = 0, m_iterators = 0xffffbd54, 
                  m_mutex = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_mutex = {__data = {__lock = 0, __count = 0, 
                        __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, 
                      __align = 0}}}}, <No data fields>}, m_lastModifiedDate = 0, m_isNull = false, m_haveParsedCacheControlHeader = false, m_haveParsedAgeHeader = false, 
            m_haveParsedDateHeader = false, m_haveParsedExpiresHeader = false, m_haveParsedLastModifiedHeader = false, m_cacheControlContainsNoCache = false, 
            m_cacheControlContainsNoStore = false, m_cacheControlContainsMustRevalidate = false, m_cacheControlMaxAge = 0, m_age = 0, m_date = 0, m_expires = 0, 
            m_lastModified = 0}, <No data fields>}
#24 0xf6e9d17b in WebCore::MainResourceLoader::loadNow (this=0x8155608, r=...) at ../../WebCore/loader/MainResourceLoader.cpp:469
        shouldLoadEmptyBeforeRedirect = true
        url = @0xffffbfa8
        shouldLoadEmpty = true
        __PRETTY_FUNCTION__ = "bool WebCore::MainResourceLoader::loadNow(WebCore::ResourceRequest&)"
#25 0xf6e9d473 in WebCore::MainResourceLoader::load (this=0x8155608, r=..., substituteData=...) at ../../WebCore/loader/MainResourceLoader.cpp:495
        request = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8139260}}, m_isValid = true, 
              m_protocolInHTTPFamily = false, m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, 
              m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}, m_cachePolicy = WebCore::UseProtocolCachePolicy, m_timeoutInterval = 2147483647, 
            m_firstPartyForCookies = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80f9808}}, m_isValid = true, 
              m_protocolInHTTPFamily = false, m_schemeEnd = 4, m_userStart = 7, m_userEnd = 7, m_passwordEnd = 7, m_hostEnd = 7, m_portEnd = 7, m_pathAfterLastSlash = 36, 
              m_pathEnd = 66, m_queryEnd = 66, m_fragmentEnd = 66}, m_httpMethod = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80b27b0}}, 
            m_httpHeaderFields = {<WTF::HashMap<WebCore::AtomicString, WebCore::String, WebCore::CaseFoldingHash, WTF::HashTraits<WebCore::AtomicString>, WTF::HashTraits<WebCore::String> >> = {<WTF::FastAllocBase> = {<No data fields>}, m_impl = {static m_minTableSize = 64, static m_maxLoad = 2, static m_minLoad = 6, m_table = 0x8155998, 
                  m_tableSize = 64, m_tableSizeMask = 63, m_keyCount = 1, m_deletedCount = 0, m_iterators = 0x0, 
                  m_mutex = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_mutex = {__data = {__lock = 0, __count = 0, 
                        __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, 
                      __align = 0}}}}, <No data fields>}, m_responseContentDispositionEncodingFallbackArray = {<WTF::FastAllocBase> = {<No data fields>}, m_size = 0, 
              m_buffer = {<WTF::VectorBufferBase<WebCore::String>> = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, 
                  m_buffer = 0x814ea30, m_capacity = 0}, <No data fields>}}, m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_allowCookies = true, 
            m_resourceRequestUpdated = true, m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data fields>}
---Type <return> to continue, or q <return> to quit---
        defer = false
        __PRETTY_FUNCTION__ = "virtual bool WebCore::MainResourceLoader::load(const WebCore::ResourceRequest&, const WebCore::SubstituteData&)"
#26 0xf6e6dc32 in WebCore::DocumentLoader::startLoadingMainResource (this=0x80b4cd8, identifier=3) at ../../WebCore/loader/DocumentLoader.cpp:790
        __PRETTY_FUNCTION__ = "bool WebCore::DocumentLoader::startLoadingMainResource(long unsigned int)"
#27 0xf6e86001 in WebCore::FrameLoader::continueLoadAfterWillSubmitForm (this=0x8133d54) at ../../WebCore/loader/FrameLoader.cpp:3174
        activeDocLoader = 0x80b4cd8
        identifier = 3
#28 0xf6e94cf2 in WebCore::FrameLoader::continueLoadAfterNavigationPolicy (this=0x8133d54, formState=..., shouldContinue=true) at ../../WebCore/loader/FrameLoader.cpp:3808
        isTargetItem = false
        canContinue = true
        type = WebCore::FrameLoadTypeRedirectWithLockedBackForwardList
        __PRETTY_FUNCTION__ = "void WebCore::FrameLoader::continueLoadAfterNavigationPolicy(const WebCore::ResourceRequest&, WTF::PassRefPtr<WebCore::FormState>, bool)"
#29 0xf6e94d4c in WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy (argument=0x8133d54, request=..., formState=..., shouldContinue=true)
    at ../../WebCore/loader/FrameLoader.cpp:3739
        loader = 0x8133d54
#30 0xf6ea1995 in WebCore::PolicyCheck::call (this=0xffffc1f8, shouldContinue=true) at ../../WebCore/loader/PolicyCheck.cpp:101
        __PRETTY_FUNCTION__ = "void WebCore::PolicyCheck::call(bool)"
#31 0xf6e843ad in WebCore::FrameLoader::continueAfterNavigationPolicy (this=0x8133d54, policy=WebCore::PolicyUse) at ../../WebCore/loader/FrameLoader.cpp:3732
        check = {m_request = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8146728}}, 
                m_isValid = true, m_protocolInHTTPFamily = false, m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, 
                m_pathAfterLastSlash = 6, m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}, m_cachePolicy = WebCore::UseProtocolCachePolicy, 
              m_timeoutInterval = 2147483647, m_firstPartyForCookies = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80f9808}}, 
                m_isValid = true, m_protocolInHTTPFamily = false, m_schemeEnd = 4, m_userStart = 7, m_userEnd = 7, m_passwordEnd = 7, m_hostEnd = 7, m_portEnd = 7, 
                m_pathAfterLastSlash = 36, m_pathEnd = 66, m_queryEnd = 66, m_fragmentEnd = 66}, m_httpMethod = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, 
                  m_ptr = 0x80b27b0}}, 
              m_httpHeaderFields = {<WTF::HashMap<WebCore::AtomicString, WebCore::String, WebCore::CaseFoldingHash, WTF::HashTraits<WebCore::AtomicString>, WTF::HashTraits<WebCore::String> >> = {<WTF::FastAllocBase> = {<No data fields>}, m_impl = {static m_minTableSize = 64, static m_maxLoad = 2, static m_minLoad = 6, m_table = 0x0, 
                    m_tableSize = 0, m_tableSizeMask = 0, m_keyCount = 0, m_deletedCount = 0, m_iterators = 0x0, 
                    m_mutex = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_mutex = {__data = {__lock = 0, __count = 0, 
                          __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, 
                        __align = 0}}}}, <No data fields>}, m_responseContentDispositionEncodingFallbackArray = {<WTF::FastAllocBase> = {<No data fields>}, m_size = 0, 
                m_buffer = {<WTF::VectorBufferBase<WebCore::String>> = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, 
                    m_buffer = 0x814ea40, m_capacity = 0}, <No data fields>}}, m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_allowCookies = true, 
              m_resourceRequestUpdated = true, m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data fields>}, 
          m_formState = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_frameName = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, 
          m_navigationFunction = 0xf6e94cfa <WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool)>, m_newWindowFunction = 0, m_contentFunction = 0, m_argument = 0x8133d54}
        shouldContinue = true
#32 0xf6979c8d in webkit_web_policy_decision_use (decision=0x814f180) at ../../WebKit/gtk/webkit/webkitwebpolicydecision.cpp:89
        priv = 0x814f190
        __PRETTY_FUNCTION__ = "void webkit_web_policy_decision_use(WebKitWebPolicyDecision*)"
#33 0xf69646a5 in WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction (this=0x8133c60, 
    policyFunction=0xf6e84214 <WebCore::FrameLoader::continueAfterNavigationPolicy(WebCore::PolicyAction)>, action=..., resourceRequest=...)
    at ../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:419
        webView = 0x80c5000
        request = 0x80741a8
        response = WEBKIT_NAVIGATION_RESPONSE_ACCEPT
---Type <return> to continue, or q <return> to quit---
        policyDecision = 0x814f180
        navigationAction = 0x8097450
        isHandled = 0
        __PRETTY_FUNCTION__ = "virtual void WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction(void (WebCore::FrameLoader::*)(WebCore::PolicyAction), const WebCore::NavigationAction&, const WebCore::ResourceRequest&, WTF::PassRefPtr<WebCore::FormState>)"
#34 0xf6e847a4 in WebCore::FrameLoader::checkNavigationPolicy (this=0x8133d54, request=..., loader=0x80b4cd8, formState=..., 
    function=0xf6e94cfa <WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool)>, 
    argument=0x8133d54) at ../../WebCore/loader/FrameLoader.cpp:3701
        action = {m_URL = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8146728}}, m_isValid = true, m_protocolInHTTPFamily = false, 
            m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, m_pathEnd = 11, m_queryEnd = 11, 
            m_fragmentEnd = 11}, m_type = WebCore::NavigationTypeOther, m_event = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}
#35 0xf6e869a8 in WebCore::FrameLoader::loadWithDocumentLoader (this=0x8133d54, loader=0x80b4cd8, type=WebCore::FrameLoadTypeRedirectWithLockedBackForwardList, 
    prpFormState=...) at ../../WebCore/loader/FrameLoader.cpp:2154
        formState = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}
        isFormSubmission = false
        newURL = @0x80b4f54
        __PRETTY_FUNCTION__ = "void WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>)"
#36 0xf6e87187 in WebCore::FrameLoader::loadWithNavigationAction (this=0x8133d54, request=..., action=..., lockHistory=true, 
    type=WebCore::FrameLoadTypeRedirectWithLockedBackForwardList, formState=...) at ../../WebCore/loader/FrameLoader.cpp:2085
        loader = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80b4cd8}
#37 0xf6e88be5 in WebCore::FrameLoader::loadURL (this=0x8133d54, newURL=..., referrer=..., frameName=..., lockHistory=true, 
    newLoadType=WebCore::FrameLoadTypeRedirectWithLockedBackForwardList, event=..., prpFormState=...) at ../../WebCore/loader/FrameLoader.cpp:2028
        isRedirect = true
        formState = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}
        isFormSubmission = false
        request = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8146728}}, m_isValid = true, 
              m_protocolInHTTPFamily = false, m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, 
              m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}, m_cachePolicy = WebCore::UseProtocolCachePolicy, m_timeoutInterval = 2147483647, 
            m_firstPartyForCookies = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80f9808}}, m_isValid = true, 
              m_protocolInHTTPFamily = false, m_schemeEnd = 4, m_userStart = 7, m_userEnd = 7, m_passwordEnd = 7, m_hostEnd = 7, m_portEnd = 7, m_pathAfterLastSlash = 36, 
              m_pathEnd = 66, m_queryEnd = 66, m_fragmentEnd = 66}, m_httpMethod = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80b27b0}}, 
            m_httpHeaderFields = {<WTF::HashMap<WebCore::AtomicString, WebCore::String, WebCore::CaseFoldingHash, WTF::HashTraits<WebCore::AtomicString>, WTF::HashTraits<WebCore::String> >> = {<WTF::FastAllocBase> = {<No data fields>}, m_impl = {static m_minTableSize = 64, static m_maxLoad = 2, static m_minLoad = 6, m_table = 0x0, 
                  m_tableSize = 0, m_tableSizeMask = 0, m_keyCount = 0, m_deletedCount = 0, m_iterators = 0x0, 
                  m_mutex = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_mutex = {__data = {__lock = 0, __count = 0, 
                        __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, 
                      __align = 0}}}}, <No data fields>}, m_responseContentDispositionEncodingFallbackArray = {<WTF::FastAllocBase> = {<No data fields>}, m_size = 0, 
              m_buffer = {<WTF::VectorBufferBase<WebCore::String>> = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, 
                  m_buffer = 0x0, m_capacity = 0}, <No data fields>}}, m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_allowCookies = true, 
            m_resourceRequestUpdated = true, m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data fields>}
        targetFrame = 0x8133d28
        action = {m_URL = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8146728}}, m_isValid = true, m_protocolInHTTPFamily = false, 
            m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, m_pathEnd = 11, m_queryEnd = 11, 
            m_fragmentEnd = 11}, m_type = WebCore::NavigationTypeOther, m_event = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}
        oldDocumentLoader = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8137068}
        sameURL = false
        __PRETTY_FUNCTION__ = "void WebCore::FrameLoader::loadURL(const WebCore::KURL&, const WebCore::String&, const WebCore::String&, bool, WebCore::FrameLoadType, WTF::Pas---Type <return> to continue, or q <return> to quit---
sRefPtr<WebCore::Event>, WTF::PassRefPtr<WebCore::FormState>)"
#38 0xf6e8a1c9 in WebCore::FrameLoader::loadFrameRequest (this=0x8133d54, request=..., lockHistory=true, lockBackForwardList=true, event=..., formState=...)
    at ../../WebCore/loader/FrameLoader.cpp:1965
        url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8146728}}, m_isValid = true, m_protocolInHTTPFamily = false, m_schemeEnd = 5, 
          m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}
        referrer = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}
        argsReferrer = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8137a30}}
        loadType = WebCore::FrameLoadTypeRedirectWithLockedBackForwardList
        sourceFrame = 0xffffc9d4
        targetFrame = 0x80b3028
        __PRETTY_FUNCTION__ = "void WebCore::FrameLoader::loadFrameRequest(const WebCore::FrameLoadRequest&, bool, bool, WTF::PassRefPtr<WebCore::Event>, WTF::PassRefPtr<WebCore::FormState>)"
#39 0xf6e8ee1b in WebCore::FrameLoader::urlSelected (this=0x8133d54, request=..., passedTarget=..., triggeringEvent=..., lockHistory=true, lockBackForwardList=true, 
    userGesture=false) at ../../WebCore/loader/FrameLoader.cpp:343
        target = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x814edc0}}
        frameRequest = {m_resourceRequest = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, 
                    m_ptr = 0x8146728}}, m_isValid = true, m_protocolInHTTPFamily = false, m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, 
                m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}, 
              m_cachePolicy = WebCore::UseProtocolCachePolicy, m_timeoutInterval = 2147483647, m_firstPartyForCookies = {m_string = {
                  m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_isValid = false, m_protocolInHTTPFamily = false, m_schemeEnd = 0, m_userStart = 0, 
                m_userEnd = 0, m_passwordEnd = 0, m_hostEnd = 0, m_portEnd = 0, m_pathAfterLastSlash = 0, m_pathEnd = 0, m_queryEnd = 0, m_fragmentEnd = 0}, m_httpMethod = {
                m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80b2588}}, 
              m_httpHeaderFields = {<WTF::HashMap<WebCore::AtomicString, WebCore::String, WebCore::CaseFoldingHash, WTF::HashTraits<WebCore::AtomicString>, WTF::HashTraits<WebCore::String> >> = {<WTF::FastAllocBase> = {<No data fields>}, m_impl = {static m_minTableSize = 64, static m_maxLoad = 2, static m_minLoad = 6, m_table = 0x8138f28, 
                    m_tableSize = 64, m_tableSizeMask = 63, m_keyCount = 1, m_deletedCount = 0, m_iterators = 0x0, 
                    m_mutex = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_mutex = {__data = {__lock = 0, __count = 0, 
                          __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, 
                        __align = 0}}}}, <No data fields>}, m_responseContentDispositionEncodingFallbackArray = {<WTF::FastAllocBase> = {<No data fields>}, m_size = 0, 
                m_buffer = {<WTF::VectorBufferBase<WebCore::String>> = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, 
                    m_buffer = 0x808fe00, m_capacity = 0}, <No data fields>}}, m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_allowCookies = true, 
              m_resourceRequestUpdated = true, m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data fields>}, m_frameName = {
            m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x814edc0}}}
#40 0xf6e8efa3 in WebCore::FrameLoader::changeLocation (this=0x8133d54, url=..., referrer=..., lockHistory=true, lockBackForwardList=true, userGesture=false, refresh=false)
    at ../../WebCore/loader/FrameLoader.cpp:325
        protect = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8133d28}
        request = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x8146728}}, m_isValid = true, 
              m_protocolInHTTPFamily = false, m_schemeEnd = 5, m_userStart = 6, m_userEnd = 6, m_passwordEnd = 6, m_hostEnd = 6, m_portEnd = 6, m_pathAfterLastSlash = 6, 
              m_pathEnd = 11, m_queryEnd = 11, m_fragmentEnd = 11}, m_cachePolicy = WebCore::UseProtocolCachePolicy, m_timeoutInterval = 2147483647, 
            m_firstPartyForCookies = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_isValid = false, m_protocolInHTTPFamily = false, 
              m_schemeEnd = 0, m_userStart = 0, m_userEnd = 0, m_passwordEnd = 0, m_hostEnd = 0, m_portEnd = 0, m_pathAfterLastSlash = 0, m_pathEnd = 0, m_queryEnd = 0, 
              m_fragmentEnd = 0}, m_httpMethod = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x80b2588}}, 
            m_httpHeaderFields = {<WTF::HashMap<WebCore::AtomicString, WebCore::String, WebCore::CaseFoldingHash, WTF::HashTraits<WebCore::AtomicString>, WTF::HashTraits<WebCore::String> >> = {<WTF::FastAllocBase> = {<No data fields>}, m_impl = {static m_minTableSize = 64, static m_maxLoad = 2, static m_minLoad = 6, m_table = 0x80fdd78, 
                  m_tableSize = 64, m_tableSizeMask = 63, m_keyCount = 1, m_deletedCount = 0, m_iterators = 0x0, 
                  m_mutex = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_mutex = {__data = {__lock = 0, __count = 0, 
                        __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, 
                      __align = 0}}}}, <No data fields>}, m_responseContentDispositionEncodingFallbackArray = {<WTF::FastAllocBase> = {<No data fields>}, m_size = 0, 
---Type <return> to continue, or q <return> to quit---
              m_buffer = {<WTF::VectorBufferBase<WebCore::String>> = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, 
                  m_buffer = 0x0, m_capacity = 0}, <No data fields>}}, m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, m_allowCookies = true, 
            m_resourceRequestUpdated = true, m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data fields>}
#41 0xf6ea52fa in WebCore::RedirectScheduler::timerFired (this=0x8133f7c) at ../../WebCore/loader/RedirectScheduler.cpp:275
        redirection = {<WTFNoncopyable::Noncopyable> = {<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, m_ptr = 0x81446f0}
        loader = 0x8133d54
        __PRETTY_FUNCTION__ = "void WebCore::RedirectScheduler::timerFired(WebCore::Timer<WebCore::RedirectScheduler>*)"
#42 0xf6ea6007 in WebCore::Timer<WebCore::RedirectScheduler>::fired (this=0x8133f80) at ../../WebCore/platform/Timer.h:98
No locals.
#43 0xf6f589af in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x80a9bb0) at ../../WebCore/platform/ThreadTimers.cpp:112
        timer = 0x8133f80
        interval = 0
        fireTime = 1254833921.1794081
        timeToQuit = 1254833921.229408
#44 0xf6f58a75 in WebCore::ThreadTimers::sharedTimerFired () at ../../WebCore/platform/ThreadTimers.cpp:90
No locals.
#45 0xf72b397d in timeout_cb () at ../../WebCore/platform/gtk/SharedTimerGtk.cpp:48
No locals.
#46 0xf4e260b1 in g_idle_dispatch (source=0x811b288, callback=0, user_data=0x0) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:4065
No locals.
#47 0xf4e27e98 in g_main_dispatch (context=0x8095da0) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:1960
        __PRETTY_FUNCTION__ = "g_main_dispatch"
#48 IA__g_main_context_dispatch (context=0x8095da0) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:2513
No locals.
#49 0xf4e2b623 in g_main_context_iterate (context=0x8095da0, block=1, dispatch=1, self=0x8073060)
    at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:2591
        max_priority = 200
        timeout = 0
        some_ready = 1
        nfds = 3
        allocated_nfds = <value optimized out>
        fds = 0x80f8348
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#50 0xf4e2b7a8 in IA__g_main_context_iteration (context=0x8095da0, may_block=1) at /build/buildd-glib2.0_2.22.1-1-i386-tx7y62/glib2.0-2.22.1/glib/gmain.c:2654
        retval = <value optimized out>
#51 0x08055f17 in runTest (testPathOrURL=...) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:484
        pathOrURL = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x80f2a9c "/tmp/LayoutTests/fast/loader/unload-hyperlink-targeted.html"}}
        expectedPixelHash = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0xf4de673c ""}}
        separatorPos = 4294967295
        url = 0x0
        testURL = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x80f5564 "file:///tmp/LayoutTests/fast/loader/unload-hyperlink-targeted.html"}}
        isSVGW3CTest = false
        size = {x = 0, y = 0, width = 800, height = 600}
        bfList = 0x8074420
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "void runTest(const std::string&)"
#52 0x08056424 in main (argc=2, argv=0xffffd7a4) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:807
        i = 1
        options = {{name = 0x805c208 "notree", has_arg = 0, flag = 0x805ed20, val = 0}, {name = 0x805c20f "pixel-tests", has_arg = 0, flag = 0x805fed4, val = 1}, {
            name = 0x805c21b "tree", has_arg = 0, flag = 0x805ed20, val = 1}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        option = -1
(gdb)
Comment 1 Gustavo Noronha (kov) 2009-10-19 04:33:35 PDT

*** This bug has been marked as a duplicate of bug 29890 ***