[Webkit-unassigned] [Bug 149298] New: Null dereference loading Blink layout test editing/inserting/insert-html-crash-01.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 17 14:53:13 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=149298

            Bug ID: 149298
           Summary: Null dereference loading Blink layout test
                    editing/inserting/insert-html-crash-01.html
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate, HasReduction, NeedsRadar
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jhoneycutt at apple.com
                CC: webkit-bug-importer at group.apple.com

Created attachment 261433
  --> https://bugs.webkit.org/attachment.cgi?id=261433&action=review
crashing test

Null dereference loading Blink layout test editing/inserting/insert-html-crash-01.html.

Stack trace:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000014
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x14:
--> 
    __TEXT                 0000000103df0000-0000000103df2000 [    8K] r-x/rwx SM=COW  /Users/USER/*/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.Development.xpc/Contents/MacOS/com.apple.WebKit.WebContent.Development

Application Specific Information:
CRASHING TEST: temp-tests/editing/inserting/insert-html-crash-01.html

Global Trace Buffer (reverse chronological seconds):
18446744070.318905 CFNetwork                     0x00007fff88d43b97 Explicitly setting CF cookie storage singleton
18446744070.319283 CFNetwork                     0x00007fff88d8f211 Explicitly setting cookie storage singleton

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore                 0x000000010bc02dcd WebCore::CompositeEditCommand::insertNodeAt(WTF::PassRefPtr<WebCore::Node>, WebCore::Position const&) + 77 (htmlediting.h:103)
1   com.apple.WebCore                 0x000000010bd48a58 WebCore::DeleteSelectionCommand::doApply() + 1736 (StdLibExtras.h:366)
2   com.apple.WebCore                 0x000000010bc0252b WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr<WebCore::EditCommand>) + 43 (CompositeEditCommand.cpp:281)
3   com.apple.WebCore                 0x000000010bc04dc7 WebCore::CompositeEditCommand::deleteSelection(bool, bool, bool, bool, bool) + 135 (StdLibExtras.h:366)
4   com.apple.WebCore                 0x000000010c0888fb WebCore::InsertTextCommand::doApply() + 107 (VisibleSelection.h:75)
5   com.apple.WebCore                 0x000000010bc02630 WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr<WebCore::CompositeEditCommand>, WebCore::VisibleSelection const&) + 80 (CompositeEditCommand.cpp:296)
6   com.apple.WebCore                 0x000000010ca4dc13 WebCore::TypingCommand::insertTextRunWithoutNewlines(WTF::String const&, bool) + 115 (StdLibExtras.h:366)
7   com.apple.WebCore                 0x000000010ca4e091 void WebCore::forEachLineInString<WebCore::TypingCommandLineOperation>(WTF::String const&, WebCore::TypingCommandLineOperation const&) + 257 (StdLibExtras.h:366)
8   com.apple.WebCore                 0x000000010ca4d656 WebCore::TypingCommand::doApply() + 214 (TypingCommand.cpp:286)
9   com.apple.WebCore                 0x000000010bc02216 WebCore::CompositeEditCommand::apply() + 102 (ScopedEventQueue.h:71)
10  com.apple.WebCore                 0x000000010ca0f263 WebCore::TextInsertionBaseCommand::applyTextInsertionCommand(WebCore::Frame*, WTF::PassRefPtr<WebCore::TextInsertionBaseCommand>, WebCore::VisibleSelection const&, WebCore::VisibleSelection const&) + 67 (StdLibExtras.h:366)
11  com.apple.WebCore                 0x000000010ca4cbde WebCore::TypingCommand::insertText(WebCore::Document&, WTF::String const&, WebCore::VisibleSelection const&, unsigned int, WebCore::TypingCommand::TextCompositionType) + 686 (StdLibExtras.h:366)
12  com.apple.WebCore                 0x000000010be3629a WebCore::executeInsertText(WebCore::Frame&, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&) + 26 (EditorCommand.cpp:535)
13  com.apple.WebCore                 0x000000010be34876 WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const + 182 (EditorCommand.cpp:1704)
14  com.apple.WebCore                 0x000000010bd6dc36 WebCore::Document::execCommand(WTF::String const&, bool, WTF::String const&) + 214 (Document.cpp:4666)
15  com.apple.WebCore                 0x000000010c184074 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*) + 420 (JSCJSValue.h:499)
16  ???                               0x00004055f4e01028 0 + 70737924722728
17  com.apple.JavaScriptCore          0x000000010b4e076f llint_entry + 22696
18  com.apple.JavaScriptCore          0x000000010b4dace4 vmEntryToJavaScript + 299
19  com.apple.JavaScriptCore          0x000000010b39b2d9 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 169 (JITCode.cpp:82)
20  com.apple.JavaScriptCore          0x000000010b381a10 JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) + 10448 (Interpreter.cpp:945)
21  com.apple.JavaScriptCore          0x000000010b0944c5 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&) + 469 (Completion.cpp:104)
22  com.apple.WebCore                 0x000000010c7f78ec WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&) + 284 (JSMainThreadExecState.h:62)
23  com.apple.WebCore                 0x000000010c7f7b29 WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) + 41 (ScriptController.cpp:180)
24  com.apple.WebCore                 0x000000010c7fdaac WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) + 316 (ScriptElement.cpp:309)
25  com.apple.WebCore                 0x000000010c7fc756 WebCore::ScriptElement::prepareScript(WTF::TextPosition const&, WebCore::ScriptElement::LegacyTypeSupport) + 1046 (StdLibExtras.h:366)
26  com.apple.WebCore                 0x000000010bff95eb WebCore::HTMLScriptRunner::runScript(WebCore::Element*, WTF::TextPosition const&) + 347 (ScriptElement.h:58)
27  com.apple.WebCore                 0x000000010bff9440 WebCore::HTMLScriptRunner::execute(WTF::PassRefPtr<WebCore::Element>, WTF::TextPosition const&) + 48 (HTMLScriptRunner.cpp:191)
28  com.apple.WebCore                 0x000000010bf9c466 WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() + 86 (StdLibExtras.h:366)
29  com.apple.WebCore                 0x000000010bf9c52d WebCore::HTMLDocumentParser::canTakeNextToken(WebCore::HTMLDocumentParser::SynchronousMode, WebCore::PumpSession&) + 93 (HTMLDocumentParser.cpp:214)
30  com.apple.WebCore                 0x000000010bf9c0c3 WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) + 595 (HTMLDocumentParser.cpp:259)
31  com.apple.WebCore                 0x000000010bf9d128 WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution() + 296 (DocumentParser.h:71)
32  com.apple.WebCore                 0x000000010bf9d322 WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) + 82 (RefCounted.h:99)
33  com.apple.WebCore                 0x000000010bbb8179 WebCore::CachedResource::checkNotify() + 153 (CachedResourceClientWalker.h:51)
34  com.apple.WebCore                 0x000000010c92f807 WebCore::SubresourceLoader::didFail(WebCore::ResourceError const&) + 375 (SubresourceLoader.cpp:401)
35  com.apple.WebKit                  0x000000010a475d35 void IPC::handleMessage<Messages::WebResourceLoader::DidFailResourceLoad, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::ResourceError const&)>(IPC::MessageDecoder&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::ResourceError const&)) + 100 (StdLibExtras.h:366)
36  com.apple.WebKit                  0x000000010a24f1f1 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::MessageDecoder, std::__1::default_delete<IPC::MessageDecoder> >) + 127 (memory:2636)
37  com.apple.WebKit                  0x000000010a251b4a IPC::Connection::dispatchOneMessage() + 126 (memory:2656)
38  com.apple.JavaScriptCore          0x000000010b693985 WTF::RunLoop::performWork() + 437 (functional:1742)
39  com.apple.JavaScriptCore          0x000000010b693d32 WTF::RunLoop::performWork(void*) + 34 (RunLoopCF.cpp:39)
40  com.apple.CoreFoundation          0x00007fff949e2c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
41  com.apple.CoreFoundation          0x00007fff949d4b1c __CFRunLoopDoSources0 + 556
42  com.apple.CoreFoundation          0x00007fff949d403f __CFRunLoopRun + 927
43  com.apple.CoreFoundation          0x00007fff949d3a38 CFRunLoopRunSpecific + 296
44  com.apple.HIToolbox               0x00007fff88e673bd RunCurrentEventLoopInMode + 235
45  com.apple.HIToolbox               0x00007fff88e67153 ReceiveNextEventCommon + 432
46  com.apple.HIToolbox               0x00007fff88e66f93 _BlockUntilNextEventMatchingListInModeWithFilter + 71
47  com.apple.AppKit                  0x00007fff870b81e7 _DPSNextEvent + 1076
48  com.apple.AppKit                  0x00007fff8748490d -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
49  com.apple.AppKit                  0x00007fff870ae0b8 -[NSApplication run] + 682
50  com.apple.AppKit                  0x00007fff87030396 NSApplicationMain + 1176
51  libxpc.dylib                      0x00007fff8c70ff70 _xpc_objc_main + 793
52  libxpc.dylib                      0x00007fff8c7116bf xpc_main + 494
53  com.apple.WebKit.WebContent.Development    0x0000000103df1424 main + 409 (XPCServiceMain.Development.mm:187)
54  libdyld.dylib                     0x00007fff93aa15ad start + 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150917/823f12e4/attachment.html>


More information about the webkit-unassigned mailing list