<?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>172094</bug_id>
          
          <creation_ts>2017-05-14 10:38:21 -0700</creation_ts>
          <short_desc>[iOS/macOS Debug WK2] LayoutTests/imported/w3c/web-platform-tests/webrtc/interfaces.html is a flaky crash due to assertion failure</short_desc>
          <delta_ts>2017-05-14 12:31:56 -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>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>171091</dup_id>
          
          <bug_file_loc>https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;revision=216837&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2Finterfaces.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1308504</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2017-05-14 10:38:21 -0700</bug_when>
    <thetext>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:

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

ASSERTION FAILED: !m_scriptHash || m_scriptHash == m_script.impl()-&gt;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&amp;) const
8   0x11405140d JSC::SourceCodeKey::Hash::equal(JSC::SourceCodeKey const&amp;, JSC::SourceCodeKey const&amp;)
9   0x11405123d bool WTF::IdentityHashTranslator&lt;WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::Hash&gt;::equal&lt;JSC::SourceCodeKey, JSC::SourceCodeKey&gt;(JSC::SourceCodeKey const&amp;, JSC::SourceCodeKey const&amp;)
10  0x11405110c WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt;* WTF::HashTable&lt;JSC::SourceCodeKey, WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt; &gt;, JSC::SourceCodeKey::Hash, WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits&gt;::inlineLookup&lt;WTF::IdentityHashTranslator&lt;WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::Hash&gt;, JSC::SourceCodeKey&gt;(JSC::SourceCodeKey const&amp;)
11  0x114050fcd WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt;* WTF::HashTable&lt;JSC::SourceCodeKey, WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt; &gt;, JSC::SourceCodeKey::Hash, WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits&gt;::lookup&lt;WTF::IdentityHashTranslator&lt;WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::Hash&gt;, JSC::SourceCodeKey&gt;(JSC::SourceCodeKey const&amp;)
12  0x114050f2f WTF::HashTableIterator&lt;JSC::SourceCodeKey, WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt; &gt;, JSC::SourceCodeKey::Hash, WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits&gt; WTF::HashTable&lt;JSC::SourceCodeKey, WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt; &gt;, JSC::SourceCodeKey::Hash, WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits&gt;::find&lt;WTF::IdentityHashTranslator&lt;WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::Hash&gt;, JSC::SourceCodeKey&gt;(JSC::SourceCodeKey const&amp;)
13  0x114050ea4 WTF::HashTable&lt;JSC::SourceCodeKey, WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;JSC::SourceCodeKey, JSC::SourceCodeValue&gt; &gt;, JSC::SourceCodeKey::Hash, WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::KeyValuePairTraits, JSC::SourceCodeKey::HashTraits&gt;::find(JSC::SourceCodeKey const&amp;)
14  0x114050dbf WTF::HashMap&lt;JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits&lt;JSC::SourceCodeValue&gt; &gt;::find(JSC::SourceCodeKey const&amp;)
15  0x11404fd98 JSC::CodeCacheMap::findCacheAndUpdateAge(JSC::SourceCodeKey const&amp;)
16  0x11404efb8 JSC::UnlinkedProgramCodeBlock* JSC::CodeCache::getUnlinkedGlobalCodeBlock&lt;JSC::UnlinkedProgramCodeBlock, JSC::ProgramExecutable&gt;(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, JSC::JSParserScriptMode, JSC::DebuggerMode, JSC::ParserError&amp;, JSC::EvalContextType)
17  0x11404e158 JSC::CodeCache::getUnlinkedProgramCodeBlock(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, JSC::DebuggerMode, JSC::ParserError&amp;)
18  0x114ccb1b9 JSC::ProgramExecutable::initializeGlobalProperties(JSC::VM&amp;, JSC::ExecState*, JSC::JSScope*)
19  0x114858c1f JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::ExecState*, JSC::JSObject*)
20  0x1140ac7e8 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
21  0x1140ac930 JSC::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
22  0x109fe99bb WebCore::JSMainThreadExecState::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
23  0x109fe2fc8 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&amp;, WebCore::DOMWrapperWorld&amp;, WebCore::ExceptionDetails*)
24  0x109fe30ed WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&amp;, WebCore::ExceptionDetails*)
25  0x109ff952e WebCore::ScriptElement::executeClassicScript(WebCore::ScriptSourceCode const&amp;)
26  0x109743da2 WebCore::LoadableClassicScript::execute(WebCore::ScriptElement&amp;)
27  0x109ff9903 WebCore::ScriptElement::executeScriptAndDispatchEvent(WebCore::LoadableScript&amp;)
28  0x109ff9979 WebCore::ScriptElement::executePendingScript(WebCore::PendingScript&amp;)
29  0x1086e7eb4 WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&amp;)
30  0x1086e8552 WebCore::HTMLScriptRunner::executeParsingBlockingScripts()
31  0x1086e86b9 WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad(WebCore::PendingScript&amp;)

Even stranger, the &quot;CRASHING TEST&quot; 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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1308505</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2017-05-14 10:39:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/32184256&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1308506</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2017-05-14 10:44:08 -0700</bug_when>
    <thetext>Mark tests as flaky crash:

Committed r216846:  &lt;https://trac.webkit.org/r216846&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1308513</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-05-14 12:31:56 -0700</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>