[Webkit-unassigned] [Bug 28148] Requests through the SOUP layer leaks memory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 09:35:29 PDT 2009


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





--- Comment #5 from Priit Laes (IRC: plaes) <amd at store20.com>  2009-08-12 09:35:28 PDT ---
This happens in epiphany when I have at least two tabs open.

1) open the example code in another tab ie. by clicking the middle button.
2) close the tab
3) Wait for crash

PS. And sorry for hijacking your bug report ;)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f561a467760 (LWP 13232)]
0x00007f5618735d99 in WebCore::FrameLoader::loadResourceSynchronously
(this=0x7f560115b850, request=<value optimized out>, 
    storedCredentials=WebCore::AllowStoredCredentials, error=@0x7fff47a2f930,
response=@0x7fff47a2f870, data=@0x7fff47a2f960)
    at WebCore/loader/FrameLoader.cpp:3728
3728               
documentLoader()->applicationCacheHost()->maybeLoadFallbackSynchronously(newRequest,
error, response, data);
(gdb) bt
#0  0x00007f5618735d99 in WebCore::FrameLoader::loadResourceSynchronously
(this=0x7f560115b850, request=<value optimized out>, 
    storedCredentials=WebCore::AllowStoredCredentials, error=@0x7fff47a2f930,
response=@0x7fff47a2f870, data=@0x7fff47a2f960)
    at WebCore/loader/FrameLoader.cpp:3728
#1  0x00007f5618719890 in
WebCore::DocumentThreadableLoader::loadResourceSynchronously
(document=0x7f560110f800, request=@0x7fff47a2f9f0, client=@0x7f5601087d90, 
    storedCredentials=WebCore::AllowStoredCredentials) at
WebCore/loader/DocumentThreadableLoader.cpp:55
#2  0x00007f56188d19ea in WebCore::XMLHttpRequest::loadRequestSynchronously
(this=0x7f5601087d80, request=@0x7fff47a2f9f0, ec=@0x7fff47a2fc2c)
    at WebCore/xml/XMLHttpRequest.cpp:663
#3  0x00007f56188d4e1d in WebCore::XMLHttpRequest::makeSameOriginRequest
(this=0x7f5601087d80, ec=@0x7fff47a2fc2c) at WebCore/xml/XMLHttpRequest.cpp:510
#4  0x00007f56188d7c33 in WebCore::XMLHttpRequest::send (this=0x7f5601087d80,
body=@0x7fff47a2fbb0, ec=@0x7fff47a2fc2c) at WebCore/xml/XMLHttpRequest.cpp:446
#5  0x00007f56188d7e0b in WebCore::XMLHttpRequest::send (this=0x7f560cfc2e60,
ec=@0x0) at WebCore/xml/XMLHttpRequest.cpp:389
#6  0x00007f56184fbda6 in WebCore::JSXMLHttpRequest::send (this=0x7f5600ec7600,
exec=0x7f56012900a0, args=@0x7fff47a2f930)
    at WebCore/bindings/js/JSXMLHttpRequestCustom.cpp:125
#7  0x00007f5618bab0d2 in WebCore::jsXMLHttpRequestPrototypeFunctionSend
(exec=0x7f56012900a0, thisValue={m_ptr = 0x7f5600ec7600}, args=@0x7fff47a2fc80)
    at DerivedSources/JSXMLHttpRequest.cpp:373
#8  0x00007f561a5a21d4 in ?? ()
#9  0x00007f5601290058 in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x000000000188fac4 in ?? ()
#12 0x00007f5600ec9cc0 in ?? ()
#13 0x00007f560107cb20 in ?? ()
#14 0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x00007f5618735d99 in WebCore::FrameLoader::loadResourceSynchronously
(this=0x7f560115b850, request=<value optimized out>, 
    storedCredentials=WebCore::AllowStoredCredentials, error=@0x7fff47a2f930,
response=@0x7fff47a2f870, data=@0x7fff47a2f960)
    at WebCore/loader/FrameLoader.cpp:3728
    referrer = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr =
0x7f56010fdea0}}
    initialRequest = {<WebCore::ResourceRequestBase> = {m_url = {m_string =
{m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x7f5600f37380}}, 
      m_isValid = true, m_protocolInHTTPFamily = true, m_schemeEnd = 5,
m_userStart = 8, m_userEnd = 8, m_passwordEnd = 8, m_hostEnd = 23, m_portEnd =
23, 
      m_pathAfterLastSlash = 24, m_pathEnd = 36, m_queryEnd = 36, m_fragmentEnd
= 36}, m_cachePolicy = WebCore::UseProtocolCachePolicy, m_timeoutInterval = 10, 
    m_firstPartyForCookies = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No
data fields>}, m_ptr = 0x7f5601206a28}}, m_isValid = true, 
      m_protocolInHTTPFamily = true, m_schemeEnd = 5, m_userStart = 8,
m_userEnd = 8, m_passwordEnd = 8, m_hostEnd = 23, m_portEnd = 23, 
      m_pathAfterLastSlash = 24, m_pathEnd = 38, m_queryEnd = 47, m_fragmentEnd
= 47}, m_httpMethod = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, 
        m_ptr = 0x7f5602740000}}, 
    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 = <optimized
out>, static m_minLoad = 6, 
          m_table = 0x7f56010c4400, m_tableSize = 64, m_tableSizeMask = 63,
m_keyCount = 2, m_deletedCount = 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 = 0x7f560112c320, m_capacity = 0}, <No data fields>}},
m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, 
    m_allowHTTPCookies = true, m_resourceRequestUpdated = true,
m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data
fields>}
    identifier = 11
    newRequest = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl
= {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x7f5600f37380}}, 
      m_isValid = true, m_protocolInHTTPFamily = true, m_schemeEnd = 5,
m_userStart = 8, m_userEnd = 8, m_passwordEnd = 8, m_hostEnd = 23, m_portEnd =
23, 
      m_pathAfterLastSlash = 24, m_pathEnd = 36, m_queryEnd = 36, m_fragmentEnd
= 36}, m_cachePolicy = WebCore::UseProtocolCachePolicy, m_timeoutInterval = 10, 
    m_firstPartyForCookies = {m_string = {m_impl = {<WTF::FastAllocBase> = {<No
data fields>}, m_ptr = 0x7f5601206a28}}, m_isValid = true, 
      m_protocolInHTTPFamily = true, m_schemeEnd = 5, m_userStart = 8,
m_userEnd = 8, m_passwordEnd = 8, m_hostEnd = 23, m_portEnd = 23, 
      m_pathAfterLastSlash = 24, m_pathEnd = 38, m_queryEnd = 47, m_fragmentEnd
= 47}, m_httpMethod = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, 
        m_ptr = 0x7f5602740000}}, 
    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 = <optimized
out>, static m_minLoad = 6, 
          m_table = 0x7f56011c6800, m_tableSize = 64, m_tableSizeMask = 63,
m_keyCount = 2, m_deletedCount = 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 = 0x7f560112c1c8, m_capacity = 0}, <No data fields>}},
m_httpBody = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}, 
    m_allowHTTPCookies = true, m_resourceRequestUpdated = true,
m_platformRequestUpdated = false, m_reportUploadProgress = false}, <No data
fields>}
#1  0x00007f5618719890 in
WebCore::DocumentThreadableLoader::loadResourceSynchronously
(document=0x7f560110f800, request=@0x7fff47a2f9f0, client=@0x7f5601087d90, 
    storedCredentials=WebCore::AllowStoredCredentials) at
WebCore/loader/DocumentThreadableLoader.cpp:55
    sameOriginRequest = true
    data = {<WTF::FastAllocBase> = {<No data fields>}, m_size = 210, 
  m_buffer = {<WTF::VectorBufferBase<char>> = {<WTFNoncopyable::Noncopyable> =
{<WTF::FastAllocBase> = {<No data fields>}, <No data fields>}, 
      m_buffer = 0x7f56010f3460 "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not
Found</h1>\n<p>The requested URL /mem_test.htm was not found on this
server.</p>\n</bod"..., m_capacity = 210}, <No data fields>}}
    error = {<WebCore::ResourceErrorBase> = {m_domain = {m_impl =
{<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_errorCode = 0,
m_failingURL = {
      m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}},
m_localizedDescription = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, 
        m_ptr = 0x0}}, m_isNull = true, m_isCancellation = false}, <No data
fields>}
    response = {<WebCore::ResourceResponseBase> = {m_url = {m_string = {m_impl
= {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x7f5600f37460}}, 
      m_isValid = true, m_protocolInHTTPFamily = true, m_schemeEnd = 5,
m_userStart = 8, m_userEnd = 8, m_passwordEnd = 8, m_hostEnd = 23, m_portEnd =
23, 
      m_pathAfterLastSlash = 24, m_pathEnd = 36, m_queryEnd = 36, m_fragmentEnd
= 36}, m_mimeType = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, 
        m_ptr = 0x7f5601249cc0}}, m_expectedContentLength = 210,
m_textEncodingName = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, 
        m_ptr = 0x7f5601250580}}, m_suggestedFilename = {m_impl =
{<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}}, m_httpStatusCode =
404, 
    m_httpStatusText = {m_impl = {<WTF::FastAllocBase> = {<No data fields>},
m_ptr = 0x7f5601249c80}}, 
    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 = <optimized
out>, static m_minLoad = 6, 
          m_table = 0x7f56010a9400, m_tableSize = 64, m_tableSizeMask = 63,
m_keyCount = 6, m_deletedCount = 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>}
    identifier = 18446744073709551615
#2  0x00007f56188d19ea in WebCore::XMLHttpRequest::loadRequestSynchronously
(this=0x7f5601087d80, request=@0x7fff47a2f9f0, ec=@0x7fff47a2fc2c)
    at WebCore/xml/XMLHttpRequest.cpp:663
No locals.
#3  0x00007f56188d4e1d in WebCore::XMLHttpRequest::makeSameOriginRequest
(this=0x7f5601087d80, ec=@0x7fff47a2fc2c) at WebCore/xml/XMLHttpRequest.cpp:510
    request = {<WebCore::ResourceRequestBase> = {m_url = {m_string = {m_impl =
{<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x7f5600f37380}}, 
      m_isValid = true, m_protocolInHTTPFamily = true, m_schemeEnd = 5,
m_userStart = 8, m_userEnd = 8, m_passwordEnd = 8, m_hostEnd = 23, m_portEnd =
23, 
      m_pathAfterLastSlash = 24, m_pathEnd = 36, m_queryEnd = 36, m_fragmentEnd
= 36}, 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 = 0x7f5602740000}}, 
    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 = <optimized
out>, static m_minLoad = 6, 
          m_table = 0x0, m_tableSize = 0, m_tableSizeMask = 0, m_keyCount = 0,
m_deletedCount = 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_allowHTTPCookies =
true, 
    m_resourceRequestUpdated = true, m_platformRequestUpdated = false,
m_reportUploadProgress = false}, <No data fields>}
#4  0x00007f56188d7c33 in WebCore::XMLHttpRequest::send (this=0x7f5601087d80,
body=@0x7fff47a2fbb0, ec=@0x7fff47a2fc2c) at WebCore/xml/XMLHttpRequest.cpp:446
No locals.
#5  0x00007f56188d7e0b in WebCore::XMLHttpRequest::send (this=0x7f560cfc2e60,
ec=@0x0) at WebCore/xml/XMLHttpRequest.cpp:389
No locals.
#6  0x00007f56184fbda6 in WebCore::JSXMLHttpRequest::send (this=0x7f5600ec7600,
exec=0x7f56012900a0, args=@0x7fff47a2f930)
    at WebCore/bindings/js/JSXMLHttpRequestCustom.cpp:125
    ec = 0
    signedLineNumber = <value optimized out>
    sourceID = 140734395251744
    sourceURL = {m_rep = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr =
0x7f5600f6baa0}, static nullUString = 0x7f56027330f8}
    function = {m_ptr = 0x7f560113d7e0}
#7  0x00007f5618bab0d2 in WebCore::jsXMLHttpRequestPrototypeFunctionSend
(exec=0x7f56012900a0, thisValue={m_ptr = 0x7f5600ec7600}, args=@0x7fff47a2fc80)
    at DerivedSources/JSXMLHttpRequest.cpp:373
No locals.
#8  0x00007f561a5a21d4 in ?? ()

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