Bug 172094 - [iOS/macOS Debug WK2] LayoutTests/imported/w3c/web-platform-tests/webrtc/interfaces.html is a flaky crash due to assertion failure
Summary: [iOS/macOS Debug WK2] LayoutTests/imported/w3c/web-platform-tests/webrtc/inte...
Status: RESOLVED DUPLICATE of bug 171091
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://webkit-test-results.webkit.or...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-14 10:38 PDT by David Kilzer (:ddkilzer)
Modified: 2017-05-14 12:31 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2017-05-14 10:38:21 PDT
Ever since it was imported in r216537, LayoutTests/imported/w3c/web-platform-tests/webrtc/interfaces.html has been a flaky crash due to an assertion failure on iOS/macOS Debug WK2 bots:

<https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&revision=216837&tests=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2Finterfaces.html>

ASSERTION FAILED: !m_scriptHash || m_scriptHash == m_script.impl()->hash()
/Volumes/Data/slave/elcapitan-debug/build/Source/WebCore/loader/cache/CachedScript.cpp(83) : WTF::StringView WebCore::CachedScript::script()
1   0x114fa0a50 WTFCrash
2   0x107b817e0 WebCore::CachedScript::script()
3   0x109745896 WebCore::CachedScriptSourceProvider::source() const
4   0x11401eacf JSC::SourceProvider::getRange(int, int) const
5   0x11401ec21 JSC::UnlinkedSourceCode::view() const
6   0x11405165c JSC::SourceCodeKey::string() const
7   0x1140514fc JSC::SourceCodeKey::operator==(JSC::SourceCodeKey const&) const
8   0x11405140d JSC::SourceCodeKey::Hash::equal(JSC::SourceCodeKey const&, JSC::SourceCodeKey const&)
9   0x11405123d bool WTF::IdentityHashTranslator<WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::Hash>::equal<JSC::SourceCodeKey, JSC::SourceCodeKey>(JSC::SourceCodeKey const&, JSC::SourceCodeKey const&)
10  0x11405110c WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue>* WTF::HashTable<JSC::SourceCodeKey, WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue> >, JSC::SourceCodeKey::Hash, WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits>::inlineLookup<WTF::IdentityHashTranslator<WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::Hash>, JSC::SourceCodeKey>(JSC::SourceCodeKey const&)
11  0x114050fcd WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue>* WTF::HashTable<JSC::SourceCodeKey, WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue> >, JSC::SourceCodeKey::Hash, WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits>::lookup<WTF::IdentityHashTranslator<WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::Hash>, JSC::SourceCodeKey>(JSC::SourceCodeKey const&)
12  0x114050f2f WTF::HashTableIterator<JSC::SourceCodeKey, WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue> >, JSC::SourceCodeKey::Hash, WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits> WTF::HashTable<JSC::SourceCodeKey, WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue> >, JSC::SourceCodeKey::Hash, WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits>::find<WTF::IdentityHashTranslator<WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::Hash>, JSC::SourceCodeKey>(JSC::SourceCodeKey const&)
13  0x114050ea4 WTF::HashTable<JSC::SourceCodeKey, WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<JSC::SourceCodeKey, JSC::SourceCodeValue> >, JSC::SourceCodeKey::Hash, WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits>::find(JSC::SourceCodeKey const&)
14  0x114050dbf WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::find(JSC::SourceCodeKey const&)
15  0x11404fd98 JSC::CodeCacheMap::findCacheAndUpdateAge(JSC::SourceCodeKey const&)
16  0x11404efb8 JSC::UnlinkedProgramCodeBlock* JSC::CodeCache::getUnlinkedGlobalCodeBlock<JSC::UnlinkedProgramCodeBlock, JSC::ProgramExecutable>(JSC::VM&, JSC::ProgramExecutable*, JSC::SourceCode const&, JSC::JSParserStrictMode, JSC::JSParserScriptMode, JSC::DebuggerMode, JSC::ParserError&, JSC::EvalContextType)
17  0x11404e158 JSC::CodeCache::getUnlinkedProgramCodeBlock(JSC::VM&, JSC::ProgramExecutable*, JSC::SourceCode const&, JSC::JSParserStrictMode, JSC::DebuggerMode, JSC::ParserError&)
18  0x114ccb1b9 JSC::ProgramExecutable::initializeGlobalProperties(JSC::VM&, JSC::ExecState*, JSC::JSScope*)
19  0x114858c1f JSC::Interpreter::executeProgram(JSC::SourceCode const&, JSC::ExecState*, JSC::JSObject*)
20  0x1140ac7e8 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
21  0x1140ac930 JSC::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
22  0x109fe99bb WebCore::JSMainThreadExecState::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
23  0x109fe2fc8 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&, WebCore::ExceptionDetails*)
24  0x109fe30ed WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&, WebCore::ExceptionDetails*)
25  0x109ff952e WebCore::ScriptElement::executeClassicScript(WebCore::ScriptSourceCode const&)
26  0x109743da2 WebCore::LoadableClassicScript::execute(WebCore::ScriptElement&)
27  0x109ff9903 WebCore::ScriptElement::executeScriptAndDispatchEvent(WebCore::LoadableScript&)
28  0x109ff9979 WebCore::ScriptElement::executePendingScript(WebCore::PendingScript&)
29  0x1086e7eb4 WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&)
30  0x1086e8552 WebCore::HTMLScriptRunner::executeParsingBlockingScripts()
31  0x1086e86b9 WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad(WebCore::PendingScript&)

Even stranger, the "CRASHING TEST" value in the crash logs never mentions imported/w3c/web-platform-tests/webrtc/interfaces.html, but instead mentions a test run ~5 minutes before (in one case).
Comment 1 David Kilzer (:ddkilzer) 2017-05-14 10:39:09 PDT
<rdar://problem/32184256>
Comment 2 David Kilzer (:ddkilzer) 2017-05-14 10:44:08 PDT
Mark tests as flaky crash:

Committed r216846:  <https://trac.webkit.org/r216846>
Comment 3 Alexey Proskuryakov 2017-05-14 12:31:56 PDT
Unfortunately, this happens on many tests, so skipping crashing tests is not going to help.

*** This bug has been marked as a duplicate of bug 171091 ***