Bug 135714

Summary: Assertion failed: is8Bit() in JSC::JSRopeString::resolveRopeInternal8NoSubstring()
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: fpizlo, ggaren, mhahnenberg, mmirman, msaboff, oliver, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Mark Lam 2014-08-07 13:15:46 PDT
Using a debug build, navigate to https://bugs.webkit.org/show_bug.cgi?id=135708.  You will see the following perpetual assertion failure:

ASSERTION FAILED: is8Bit()
/Volumes/Data/ws6/OpenSource/WebKitBuild/Debug/usr/local/include/wtf/text/StringImpl.h(417) : const LChar *WTF::StringImpl::characters8() const
1   0x10e476a20 WTFCrash
2   0x10dc1c195 WTF::StringImpl::characters8() const
3   0x10e1e01c3 JSC::JSRopeString::resolveRopeInternal8NoSubstring(unsigned char*) const
4   0x10e1e0058 JSC::JSRopeString::resolveRopeInternal8(unsigned char*) const
5   0x10e1e1582 JSC::JSRopeString::resolveRopeToExistingAtomicString(JSC::ExecState*) const
6   0x110668bcd JSC::JSString::toExistingAtomicString(JSC::ExecState*) const
7   0x110660c9f WebCore::jsDocumentPrototypeFunctionGetElementById(JSC::ExecState*)
8   0x5fe59f001034
9   0x10e26acdb llint_entry
10  0x10e26acdb llint_entry
11  0x10e26472a callToJavaScript
12  0x10e0fa5ad JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
13  0x10e0df6da JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
14  0x10dca4eae JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
15  0x10dca4f13 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, JSC::JSValue*)
16  0x1105c40db WebCore::JSMainThreadExecState::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, JSC::JSValue*)
17  0x11073e7d4 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*)
18  0x10ff2704f WebCore::EventTarget::fireEventListeners(WebCore::Event*, WebCore::EventTargetData*, WTF::Vector<WebCore::RegisteredEventListener, 1ul, WTF::CrashOnOverflow>&)
19  0x10ff2691e WebCore::EventTarget::fireEventListeners(WebCore::Event*)
20  0x10fe4edab WebCore::DOMWindow::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, WTF::PassRefPtr<WebCore::EventTarget>)
21  0x10fe568d8 WebCore::DOMWindow::dispatchLoadEvent()
22  0x10fd2c5ad WebCore::Document::dispatchWindowLoadEvent()
23  0x10fd29a43 WebCore::Document::implicitClose()
24  0x11008e3cb WebCore::FrameLoader::checkCallImplicitClose()
25  0x11008e084 WebCore::FrameLoader::checkCompleted()
26  0x11008e215 WebCore::FrameLoader::loadDone()
27  0x10f993269 WebCore::CachedResourceLoader::loadDone(WebCore::CachedResource*, bool)
28  0x111420435 WebCore::SubresourceLoader::notifyDone()
29  0x11142035f WebCore::SubresourceLoader::didFinishLoading(double)
30  0x10bb0320c WebKit::WebResourceLoader::didFinishResourceLoad(double)
31  0x10bb069fb void IPC::callMemberFunctionImpl<WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(double), std::__1::tuple<double>, 0ul>(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(double), std::__1::tuple<double>&&, std::index_sequence<0ul>)
Comment 1 Radar WebKit Bug Importer 2014-08-07 13:16:13 PDT
<rdar://problem/17949684>
Comment 2 Mark Lam 2014-08-18 13:29:53 PDT

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