[Webkit-unassigned] [Bug 117933] New: Crash in ASSERTION FAILED: !m_resource->errorOccurred() when loading mhtml archive file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 24 06:16:09 PDT 2013


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

           Summary: Crash in ASSERTION FAILED:
                    !m_resource->errorOccurred() when loading mhtml
                    archive file
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: santoshbit2007 at gmail.com


Program received signal SIGSEGV, Segmentation fault.
0xb737aa76 in WTFCrash () at /home/test/open_source/wk3/WebKit/WebKit/Source/WTF/wtf/Assertions.cpp:339
339        *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0  0xb737aa76 in WTFCrash () at /home/test/open_source/wk3/WebKit/WebKit/Source/WTF/wtf/Assertions.cpp:339
#1  0xb30da837 in WebCore::SubresourceLoader::didFinishLoading (this=0x9b4fc80, finishTime=0) at /home/test/open_source/wk3/WebKit/WebKit/Source/WebCore/loader/SubresourceLoader.cpp:269
#2  0xb30913b4 in WebCore::DocumentLoader::substituteResourceDeliveryTimerFired (this=0x9b3d610) at /home/test/open_source/wk3/WebKit/WebKit/Source/WebCore/loader/DocumentLoader.cpp:1120
#3  0xb309c3c0 in WebCore::Timer<WebCore::DocumentLoader>::fired (this=0x9b3db6c) at /home/test/open_source/wk3/WebKit/WebKit/Source/WebCore/platform/Timer.h:113
#4  0xb325c61b in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x91e6738) at /home/test/open_source/wk3/WebKit/WebKit/Source/WebCore/platform/ThreadTimers.cpp:129
#5  0xb325c533 in WebCore::ThreadTimers::sharedTimerFired () at /home/test/open_source/wk3/WebKit/WebKit/Source/WebCore/platform/ThreadTimers.cpp:105
#6  0xb3e0b027 in WebCore::timerEvent () at /home/test/open_source/wk3/WebKit/WebKit/Source/WebCore/platform/efl/SharedTimerEfl.cpp:52



The crash is happening because in  funtion when The cachedImage decoding fails it still calls didFinishLoading
DocumentLoader::substituteResourceDeliveryTimerFired(WebCo
{

loader->didReceiveData(data->data(), data->size(), data->size(), DataPayloadWholeResource)--> can DecodeFail  
......
.......
loader->didFinishLoading(0); ---> calling this without checking for errorOccured()
}

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