[Webkit-unassigned] [Bug 55048] New: Assertion failure in MemoryCache::removeFromLRUList when running fast/tokenizer/001.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 08:27:30 PST 2011


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

           Summary: Assertion failure in MemoryCache::removeFromLRUList
                    when running fast/tokenizer/001.html
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: LayoutTestFailure, NeedsRadar
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com


To reproduce:

1. run-webkit-tests fast/tokenizer/001.html

You'll hit an assertion in MemoryCache::removeFromLRUList:

    ASSERT(found);

It looks like this test tries to load nonexistent.js, which fails (surprise!). When it fails, we try to remove it from the MemoryCache, but of course it isn't in the cache to begin with.

Here's the backtrace:


>	WebKit.dll!WebCore::MemoryCache::removeFromLRUList(WebCore::CachedResource * resource=0x114a5e00)  Line 404 + 0x29 bytes	C++
     WebKit.dll!WebCore::MemoryCache::evict(WebCore::CachedResource * resource=0x114a5e00)  Line 336    C++
     WebKit.dll!WebCore::MemoryCache::remove(WebCore::CachedResource * resource=0x114a5e00)  Line 112 + 0x1a bytes    C++
     WebKit.dll!WebCore::CachedResourceRequest::didFail(bool cancelled=false)  Line 200    C++
     WebKit.dll!WebCore::CachedResourceRequest::didFail(WebCore::SubresourceLoader * __formal=0x1132ed58, WebCore::SubresourceLoader * __formal=0x1132ed58)  Line 172    C++
     WebKit.dll!WebCore::SubresourceLoader::didFail(const WebCore::ResourceError & error={...})  Line 201 + 0x25 bytes    C++
     WebKit.dll!WebCore::ResourceLoader::didFail(WebCore::ResourceHandle * __formal=0x11bdcff0, const WebCore::ResourceError & error={...})  Line 445 + 0x13 bytes    C++
     WebKit.dll!WebCore::didFail(_CFURLConnection * conn=0x11c72fe0, __CFError * error=0x11162fe0, const void * clientInfo=0x11bdcff0)  Line 251 + 0x2b bytes    C++
     CFNetwork.dll!URLConnectionClient::_clientDidFailWithError() + 0x32 bytes    C++
     CFNetwork.dll!URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload()    C++
     CFNetwork.dll!URLConnectionClient::processEvents() + 0x21 bytes    C++
     CFNetwork.dll!URLConnectionWndProc() C++
     user32.dll!_InternalCallWinProc at 20()  + 0x28 bytes    
     user32.dll!_UserCallWinProcCheckWow at 32()  + 0xb7 bytes    
     user32.dll!_DispatchMessageWorker at 8()  + 0xdc bytes    
     user32.dll!_DispatchMessageW at 4()  + 0xf bytes    
     DumpRenderTree.exe!runTest(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & testPathOrURL="c:\Documents and Settings\Adam Roben\dev\WebKit\OpenSource\LayoutTests\fast\tokenizer\001.html")  Line 1002 + 0xf bytes    C++
     DumpRenderTree.exe!main(int argc=2, char * * argv=0x07c57f98)  Line 1379 + 0x28 bytes    C++
     DumpRenderTree.exe!__tmainCRTStartup()  Line 597 + 0x17 bytes    C
     kernel32.dll!_BaseProcessStart at 4()  + 0x23 bytes

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