Bug 172506
| Summary: | ASSERT(!m_scriptHash || m_scriptHash == m_script.impl()->hash()); in CachedScript::script() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ggaren, youennf |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
ASSERT(!m_scriptHash || m_scriptHash == m_script.impl()->hash()); in CachedScript::script():
ASSERTION FAILED: !m_scriptHash || m_scriptHash == m_script.impl()->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&) const
8 0x119d15fdd JSC::SourceCodeKey::Hash::equal(JSC::SourceCodeKey const&, JSC::SourceCodeKey const&)
9 0x119d15e0d 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 0x119d15cdc 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 0x119d15b9d 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 0x119d15aff 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 0x119d15a74 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 0x119d1598f WTF::HashMap<JSC::SourceCodeKey, JSC::SourceCodeValue, JSC::SourceCodeKey::Hash, JSC::SourceCodeKey::HashTraits, WTF::HashTraits<JSC::SourceCodeValue> >::find(JSC::SourceCodeKey const&)
15 0x119d14968 JSC::CodeCacheMap::findCacheAndUpdateAge(JSC::SourceCodeKey const&)
16 0x119d13b88 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 0x119d12d28 JSC::CodeCache::getUnlinkedProgramCodeBlock(JSC::VM&, JSC::ProgramExecutable*, JSC::SourceCode const&, JSC::JSParserStrictMode, JSC::DebuggerMode, JSC::ParserError&)
18 0x11a967789 JSC::ProgramExecutable::initializeGlobalProperties(JSC::VM&, JSC::ExecState*, JSC::JSScope*)
19 0x11a506ed3 JSC::Interpreter::executeProgram(JSC::SourceCode const&, JSC::ExecState*, JSC::JSObject*)
20 0x119d6ebd8 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
21 0x119d6ed20 JSC::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
22 0x10ff1b52b WebCore::JSMainThreadExecState::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
23 0x10ff14b48 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&, WebCore::ExceptionDetails*)
24 0x10ff14c6d WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&, WebCore::ExceptionDetails*)
25 0x10ff2afbe WebCore::ScriptElement::executeClassicScript(WebCore::ScriptSourceCode const&)
26 0x10f6855a2 WebCore::LoadableClassicScript::execute(WebCore::ScriptElement&)
27 0x10ff2b393 WebCore::ScriptElement::executeScriptAndDispatchEvent(WebCore::LoadableScript&)
28 0x10ff2b409 WebCore::ScriptElement::executePendingScript(WebCore::PendingScript&)
29 0x10e679974 WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&)
30 0x10e67a012 WebCore::HTMLScriptRunner::executeParsingBlockingScripts()
31 0x10e67a179 WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad(WebCore::PendingScript&)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
*** This bug has been marked as a duplicate of bug 171091 ***