Bug 112765 - REGRESSION(r146216): Intermittent assertion failure in test_shell_tests
Summary: REGRESSION(r146216): Intermittent assertion failure in test_shell_tests
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Nate Chapin
URL:
Keywords:
Depends on: 112593 112745
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-19 18:17 PDT by Kenneth Russell
Modified: 2013-05-29 09:37 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Russell 2013-03-19 18:17:37 PDT
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 &)
1   0x784fcd0 WebCore::DocumentLoader::mainReceivedError(WebCore::ResourceError const&)
2   0x7850583 WebCore::DocumentLoader::cancelMainResourceLoad(WebCore::ResourceError const&)
3   0x78501a4 WebCore::DocumentLoader::stopLoading()
4   0x789b15e WebCore::FrameLoader::stopAllLoaders(WebCore::ClearProvisionalItemPolicy)
5   0x7899dfe WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool)
6   0x789a05c WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, 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&, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>)
10  0x78d3a6c WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest const&, WebCore::DocumentLoader*, WTF::PassRefPtr<WebCore::FormState>, void (*)(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool), void*)
11  0x7899892 WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>)
12  0x7896372 WebCore::FrameLoader::load(WebCore::DocumentLoader*)
13  0x789916e WebCore::FrameLoader::load(WebCore::FrameLoadRequest const&)
14  0x495b0fc WebKit::WebFrameImpl::loadData(WebKit::WebData const&, WebKit::WebString const&, WebKit::WebString const&, WebKit::WebURL const&, WebKit::WebURL const&, bool)
15  0x495b2ad WebKit::WebFrameImpl::loadHTMLString(WebKit::WebData const&, WebKit::WebURL const&, WebKit::WebURL const&, bool)
16  0xdccf0 (anonymous namespace)::CppBoundClassTest::ExecuteJavaScript(std::string const&)
17  0xdc9ee (anonymous namespace)::CppBoundClassTest::CheckJavaScriptSuccess(std::string const&)
18  0xdfc94 (anonymous namespace)::CppBoundClassTest_InvokeMethods_Test::TestBody()
19  0x286911 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
20  0x2754fe void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(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<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
26  0x27814e bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(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's unrelated and already dealt with.

I've attempted to reproduce this assertion failure locally without success, so am not sure whether it's a flake or regression. Watching the debug bots for another cycle to see whether WebKit can be rolled.
Comment 1 Kenneth Russell 2013-03-19 18:44:13 PDT
Note: this bot cycled green, so the failure's probably intermittent. However if the assertion failure looks like something that needs to be changed, please make a change.
Comment 2 Kenneth Russell 2013-03-19 20:46:38 PDT
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.