<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>81184</bug_id>
          
          <creation_ts>2012-03-14 19:08:37 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: m_loadState == LoadStateCommitted in WebFrameProxy::didFinishLoad causing &quot;crashes&quot; on Lion Intel Debug WebKit2 Tests</short_desc>
          <delta_ts>2012-03-16 13:52:10 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://build.webkit.org/results/Lion%20Intel%20Debug%20(WebKit2%20Tests)/r110783%20(4924)/fast/loader/reload-zero-byte-plugin-crash-log.txt</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure, MakingBotsRed, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessie Berlin">jberlin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>sam</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>579037</commentid>
    <comment_count>0</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2012-03-14 19:08:37 -0700</bug_when>
    <thetext>Do not be fooled by the URL. NRWT does not do a good job of associating crashes with the tests that crashed. I can reproduce this locally via:

run-webkit-tests -2 LayoutTests/fast/loader/reload-zero-byte-plugin.html

Unfortunately, due to the number of crashers we have in the tests right now, it is not easy to figure out when this regressed.

void WebFrameProxy::didFinishLoad()
{
    ASSERT(m_loadState == LoadStateCommitted);
    ASSERT(m_provisionalURL.isEmpty());
    m_loadState = LoadStateFinished;
}

http://build.webkit.org/results/Lion%20Intel%20Debug%20(WebKit2%20Tests)/r110783%20(4924)/fast/frames/iframe-reparenting-crash-log.txt

Process:         WebKitTestRunner [80501]
Path:            /Volumes/VOLUME/*/WebKitTestRunner
Identifier:      WebKitTestRunner
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  Python [80081]

Date/Time:       2012-03-14 17:17:10.996 -0700
OS Version:      Mac OS X 10.7.2 (11C74)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 0000000108d56000-0000000108d6c000 [   88K] r-x/rwx SM=COW  /Volumes/VOLUME/*

Application Specific Information:
objc[80501]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit2             	0x0000000108f7eaa0 WebKit::WebFrameProxy::didFinishLoad() + 96 (WebFrameProxy.cpp:176)
1   com.apple.WebKit2             	0x00000001090067ac WebKit::WebPageProxy::didFinishLoadForFrame(unsigned long long, CoreIPC::ArgumentDecoder*) + 316 (WebPageProxy.cpp:1859)
2   com.apple.WebKit2             	0x000000010905e272 void CoreIPC::callMemberFunction&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned long long, CoreIPC::ArgumentDecoder*), unsigned long long&gt;(CoreIPC::Arguments1&lt;unsigned long long&gt; const&amp;, CoreIPC::ArgumentDecoder*, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned long long, CoreIPC::ArgumentDecoder*)) + 146 (HandleMessage.h:230)
3   com.apple.WebKit2             	0x000000010904fca7 void CoreIPC::handleMessageVariadic&lt;Messages::WebPageProxy::DidFinishLoadForFrame, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned long long, CoreIPC::ArgumentDecoder*)&gt;(CoreIPC::ArgumentDecoder*, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned long long, CoreIPC::ArgumentDecoder*)) + 119 (HandleMessage.h:327)
4   com.apple.WebKit2             	0x000000010904c22c WebKit::WebPageProxy::didReceiveWebPageProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 2716 (WebPageProxyMessageReceiver.cpp:243)
5   com.apple.WebKit2             	0x0000000109004abf WebKit::WebPageProxy::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 271 (WebPageProxy.cpp:1614)
6   com.apple.WebKit2             	0x000000010909fbd6 WebKit::WebProcessProxy::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 438 (WebProcessProxy.cpp:332)
7   com.apple.WebKit2             	0x0000000108f1a485 WebKit::WebConnectionToWebProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 405 (WebConnectionToWebProcess.cpp:93)
8   com.apple.WebKit2             	0x0000000108f1a4cd non-virtual thunk to WebKit::WebConnectionToWebProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 61
9   com.apple.WebKit2             	0x0000000108db5fec CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message&lt;CoreIPC::ArgumentDecoder&gt;&amp;) + 428 (Connection.cpp:692)
10  com.apple.WebKit2             	0x0000000108db8b43 CoreIPC::Connection::dispatchMessages() + 211 (Connection.cpp:720)
11  com.apple.WebKit2             	0x0000000108dbfc50 WTF::FunctionWrapper&lt;void (CoreIPC::Connection::*)()&gt;::operator()(CoreIPC::Connection*) + 112 (Functional.h:173)
12  com.apple.WebKit2             	0x0000000108dbfbd5 WTF::BoundFunctionImpl&lt;WTF::FunctionWrapper&lt;void (CoreIPC::Connection::*)()&gt;, void ()(CoreIPC::Connection*)&gt;::operator()() + 53 (Functional.h:373)
13  com.apple.WebCore             	0x000000010c40d60d WTF::Function&lt;void ()()&gt;::operator()() const + 141 (Functional.h:581)
14  com.apple.WebCore             	0x000000010c40d393 WebCore::RunLoop::performWork() + 147 (RunLoop.cpp:66)
15  com.apple.WebCore             	0x000000010c40e7b0 WebCore::RunLoop::performWork(void*) + 96 (RunLoopMac.mm:65)
16  com.apple.CoreFoundation      	0x00007fff875e2b51 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17  com.apple.CoreFoundation      	0x00007fff875e23bd __CFRunLoopDoSources0 + 253
18  com.apple.CoreFoundation      	0x00007fff876091a9 __CFRunLoopRun + 905
19  com.apple.CoreFoundation      	0x00007fff87608ae6 CFRunLoopRunSpecific + 230
20  com.apple.Foundation          	0x00007fff80f4e04f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
21  WebKitTestRunner              	0x0000000108d60ddc WTR::TestController::platformRunUntil(bool&amp;, double) + 204 (TestControllerMac.mm:60)
22  WebKitTestRunner              	0x0000000108d5c6f5 WTR::TestController::runUntil(bool&amp;, WTR::TestController::TimeoutDuration) + 149 (TestController.cpp:563)
23  WebKitTestRunner              	0x0000000108d61b64 WTR::TestInvocation::invoke() + 1396 (TestInvocation.cpp:171)
24  WebKitTestRunner              	0x0000000108d5cd78 WTR::TestController::runTest(char const*) + 1656 (TestController.cpp:513)
25  WebKitTestRunner              	0x0000000108d5ce82 WTR::TestController::runTestingServerLoop() + 178 (TestController.cpp:529)
26  WebKitTestRunner              	0x0000000108d5b500 WTR::TestController::run() + 48 (TestController.cpp:537)
27  WebKitTestRunner              	0x0000000108d5a1c6 WTR::TestController::TestController(int, char const**) + 614 (TestController.cpp:88)
28  WebKitTestRunner              	0x0000000108d59f53 WTR::TestController::TestController(int, char const**) + 35 (TestController.cpp:89)
29  WebKitTestRunner              	0x0000000108d57eaf main + 143 (main.mm:36)
30  WebKitTestRunner              	0x0000000108d57e14 start + 52</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>579038</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-03-14 19:08:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/11052462&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>580915</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-03-16 13:52:10 -0700</bug_when>
    <thetext>Fixed in &lt;http://trac.webkit.org/changeset/111059&gt;.

This certainly had release mode consequences, although I didn&apos;t take the time to investigate how symptoms would look like.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>