Bug 164666 - ASSERTION FAILED: isAttributedString || [string isKindOfClass:[NSString class]]
Summary: ASSERTION FAILED: isAttributedString || [string isKindOfClass:[NSString class]]
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-11 17:01 PST by Ryan Haddad
Modified: 2016-11-11 17:17 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2016-11-11 17:01:37 PST
https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK1%20(Tests)/r208617%20(1217)/results.html

ASSERTION FAILED: isAttributedString || [string isKindOfClass:[NSString class]]
/Volumes/Data/slave/sierra-debug/build/Source/WebKit/mac/WebView/WebHTMLView.mm(7014) : -[WebHTMLView(WebNSTextInputSupport) insertText:]
1   0x10718f74d WTFCrash
2   0x10c8ef50e -[WebHTMLView(WebNSTextInputSupport) insertText:]
3   0x1059c3e6d -[TextInputController insertText:]
4   0x7fffce06c3fc __invoking___
5   0x7fffce06c281 -[NSInvocation invoke]
6   0x1175b0c75 JSC::Bindings::ObjcInstance::invokeObjcMethod(JSC::ExecState*, JSC::Bindings::ObjcMethod*)
7   0x1175b03b8 JSC::Bindings::ObjcInstance::invokeMethod(JSC::ExecState*, JSC::RuntimeMethod*)
8   0x117b2a512 JSC::callRuntimeMethod(JSC::ExecState*)
9   0x106d379da JSC::LLInt::handleHostCall(JSC::ExecState*, JSC::Instruction*, JSC::JSValue, JSC::CodeSpecializationKind)
10  0x106d33b39 JSC::LLInt::setUpCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*)
11  0x106d32e33 JSC::LLInt::genericCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind)
12  0x106d32d23 llint_slow_path_call
13  0x106d409be llint_entry
14  0x106d3933e vmEntryToJavaScript
15  0x106b13cb9 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
16  0x106a918d4 JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*)
17  0x106387e4d JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
18  0x10638801e JSC::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
19  0x117b4c05b WebCore::JSMainThreadExecState::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
20  0x117b4be58 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&, WebCore::ExceptionDetails*)
21  0x117b4c13d WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&, WebCore::ExceptionDetails*)
22  0x117b5acc6 WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&)
23  0x117b59b59 WebCore::ScriptElement::prepareScript(WTF::TextPosition const&, WebCore::ScriptElement::LegacyTypeSupport)
24  0x1164a1a91 WebCore::HTMLScriptRunner::runScript(WebCore::Element*, WTF::TextPosition const&)
25  0x1164a18aa WebCore::HTMLScriptRunner::execute(WTF::PassRefPtr<WebCore::Element>, WTF::TextPosition const&)
26  0x1163c3c8a WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder()
27  0x1163c4103 WebCore::HTMLDocumentParser::pumpTokenizerLoop(WebCore::HTMLDocumentParser::SynchronousMode, bool, WebCore::PumpSession&)
28  0x1163c2f28 WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode)
29  0x1163c2a7b WebCore::HTMLDocumentParser::pumpTokenizerIfPossible(WebCore::HTMLDocumentParser::SynchronousMode)
30  0x1163c53c6 WebCore::HTMLDocumentParser::append(WTF::RefPtr<WTF::StringImpl>&&)
31  0x115e112b2 WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter&, char const*, unsigned long)
Comment 1 Wenson Hsieh 2016-11-11 17:11:47 PST
This test should be skipped on Mac.
Comment 2 Ryan Haddad 2016-11-11 17:17:20 PST
(In reply to comment #1)
> This test should be skipped on Mac.

http://trac.webkit.org/projects/webkit/changeset/208632