<?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>172506</bug_id>
          
          <creation_ts>2017-05-23 10:04:32 -0700</creation_ts>
          <short_desc>ASSERT(!m_scriptHash || m_scriptHash == m_script.impl()-&gt;hash()); in CachedScript::script()</short_desc>
          <delta_ts>2017-05-23 10:04:57 -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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>ggaren</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1311912</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-05-23 10:04:32 -0700</bug_when>
    <thetext>ASSERT(!m_scriptHash || m_scriptHash == m_script.impl()-&gt;hash()); in CachedScript::script():
ASSERTION FAILED: !m_scriptHash || m_scriptHash == m_script.impl()-&gt;hash()
/Volumes/Data/slave/elcapitan-debug/build/Source/WebCore/loader/cache/CachedScript.cpp(91) : WTF::StringView WebCore::CachedScript::script()
1   0x11ac3f4f0 WTFCrash
2   0x10db1c730 WebCore::CachedScript::script()
3   0x10f686d86 WebCore::CachedScriptSourceProvider::source() const
4   0x119ce38ef JSC::SourceProvider::getRange(int, int) const
5   0x119ce3a41 JSC::UnlinkedSourceCode::view() const
6   0x119d1622c JSC::SourceCodeKey::string() const
7   0x119d160cc JSC::SourceCodeKey::operator==(JSC::SourceCodeKey const&amp;) const
8   0x119d15fdd JSC::SourceCodeKey::Hash::equal(JSC::SourceCodeKey const&amp;, JSC::SourceCodeKey const&amp;)
9   0x119d15e0d 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  0x119d15cdc 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  0x119d15b9d 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  0x119d15aff 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  0x119d15a74 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  0x119d1598f 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  0x119d14968 JSC::CodeCacheMap::findCacheAndUpdateAge(JSC::SourceCodeKey const&amp;)
16  0x119d13b88 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  0x119d12d28 JSC::CodeCache::getUnlinkedProgramCodeBlock(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, JSC::DebuggerMode, JSC::ParserError&amp;)
18  0x11a967789 JSC::ProgramExecutable::initializeGlobalProperties(JSC::VM&amp;, JSC::ExecState*, JSC::JSScope*)
19  0x11a506ed3 JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::ExecState*, JSC::JSObject*)
20  0x119d6ebd8 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
21  0x119d6ed20 JSC::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
22  0x10ff1b52b WebCore::JSMainThreadExecState::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
23  0x10ff14b48 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&amp;, WebCore::DOMWrapperWorld&amp;, WebCore::ExceptionDetails*)
24  0x10ff14c6d WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&amp;, WebCore::ExceptionDetails*)
25  0x10ff2afbe WebCore::ScriptElement::executeClassicScript(WebCore::ScriptSourceCode const&amp;)
26  0x10f6855a2 WebCore::LoadableClassicScript::execute(WebCore::ScriptElement&amp;)
27  0x10ff2b393 WebCore::ScriptElement::executeScriptAndDispatchEvent(WebCore::LoadableScript&amp;)
28  0x10ff2b409 WebCore::ScriptElement::executePendingScript(WebCore::PendingScript&amp;)
29  0x10e679974 WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&amp;)
30  0x10e67a012 WebCore::HTMLScriptRunner::executeParsingBlockingScripts()
31  0x10e67a179 WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad(WebCore::PendingScript&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1311913</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-05-23 10:04:57 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 171091 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>