<?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>112765</bug_id>
          
          <creation_ts>2013-03-19 18:17:37 -0700</creation_ts>
          <short_desc>REGRESSION(r146216): Intermittent assertion failure in test_shell_tests</short_desc>
          <delta_ts>2013-05-29 09:37:03 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>112593</dependson>
    
    <dependson>112745</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kenneth Russell">kbr</reporter>
          <assigned_to name="Nate Chapin">japhet</assigned_to>
          <cc>abarth</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>858943</commentid>
    <comment_count>0</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2013-03-19 18:17:37 -0700</bug_when>
    <thetext>An assertion failure in DocumentLoader was seen on the Mac Debug bots after both Bug 112593 and Bug 112745 were fixed:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.7%20%28dbg%29/builds/3122

Excerpt from the failure log:

[ RUN      ] CppBoundClassTest.InvokeMethods
ASSERTION FAILED: !error.isNull()
../../third_party/WebKit/Source/WebCore/loader/DocumentLoader.cpp(221) : void WebCore::DocumentLoader::mainReceivedError(const WebCore::ResourceError &amp;)
1   0x784fcd0 WebCore::DocumentLoader::mainReceivedError(WebCore::ResourceError const&amp;)
2   0x7850583 WebCore::DocumentLoader::cancelMainResourceLoad(WebCore::ResourceError const&amp;)
3   0x78501a4 WebCore::DocumentLoader::stopLoading()
4   0x789b15e WebCore::FrameLoader::stopAllLoaders(WebCore::ClearProvisionalItemPolicy)
5   0x7899dfe WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&amp;, WTF::PassRefPtr&lt;WebCore::FormState&gt;, bool)
6   0x789a05c WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&amp;, WTF::PassRefPtr&lt;WebCore::FormState&gt;, bool)
7   0x78d2d2c WebCore::PolicyCallback::call(bool)
8   0x78d3db4 WebCore::PolicyChecker::continueAfterNavigationPolicy(WebCore::PolicyAction)
9   0x48a18ea WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction(void (WebCore::PolicyChecker::*)(WebCore::PolicyAction), WebCore::NavigationAction const&amp;, WebCore::ResourceRequest const&amp;, WTF::PassRefPtr&lt;WebCore::FormState&gt;)
10  0x78d3a6c WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest const&amp;, WebCore::DocumentLoader*, WTF::PassRefPtr&lt;WebCore::FormState&gt;, void (*)(void*, WebCore::ResourceRequest const&amp;, WTF::PassRefPtr&lt;WebCore::FormState&gt;, bool), void*)
11  0x7899892 WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr&lt;WebCore::FormState&gt;)
12  0x7896372 WebCore::FrameLoader::load(WebCore::DocumentLoader*)
13  0x789916e WebCore::FrameLoader::load(WebCore::FrameLoadRequest const&amp;)
14  0x495b0fc WebKit::WebFrameImpl::loadData(WebKit::WebData const&amp;, WebKit::WebString const&amp;, WebKit::WebString const&amp;, WebKit::WebURL const&amp;, WebKit::WebURL const&amp;, bool)
15  0x495b2ad WebKit::WebFrameImpl::loadHTMLString(WebKit::WebData const&amp;, WebKit::WebURL const&amp;, WebKit::WebURL const&amp;, bool)
16  0xdccf0 (anonymous namespace)::CppBoundClassTest::ExecuteJavaScript(std::string const&amp;)
17  0xdc9ee (anonymous namespace)::CppBoundClassTest::CheckJavaScriptSuccess(std::string const&amp;)
18  0xdfc94 (anonymous namespace)::CppBoundClassTest_InvokeMethods_Test::TestBody()
19  0x286911 void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
20  0x2754fe void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
21  0x2685be testing::Test::Run()
22  0x269087 testing::TestInfo::Run()
23  0x269959 testing::TestCase::Run()
24  0x26f165 testing::internal::UnitTestImpl::RunAllTests()
25  0x2816f1 bool testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
26  0x27814e bool testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
27  0x26edf4 testing::UnitTest::Run()
28  0x2f2e28 base::TestSuite::Run()
29  0x156eac main
30  0xdbc25 start
31  0x3
Received signal 11 SEGV_MAPERR 0000bbadbeef
 [0x000003b848ff]
 [0x000003b8489b]
...

Ignore the webkit_tests failure in that build; it&apos;s unrelated and already dealt with.

I&apos;ve attempted to reproduce this assertion failure locally without success, so am not sure whether it&apos;s a flake or regression. Watching the debug bots for another cycle to see whether WebKit can be rolled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>858965</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2013-03-19 18:44:13 -0700</bug_when>
    <thetext>Note: this bot cycled green, so the failure&apos;s probably intermittent. However if the assertion failure looks like something that needs to be changed, please make a change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>859028</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2013-03-19 20:46:38 -0700</bug_when>
    <thetext>This is happening on more than just this bot:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20%28dbg%29/builds/7294

Marking P1 and updating synopsis.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>