Bug 149293 - Null dereference loading Blink layout test editing/execCommand/indent-table-cell-crash.html
Summary: Null dereference loading Blink layout test editing/execCommand/indent-table-c...
Status: RESOLVED DUPLICATE of bug 149292
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate, HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2015-09-17 14:38 PDT by Jon Honeycutt
Modified: 2015-09-19 11:51 PDT (History)
1 user (show)

See Also:


Attachments
crashing test (388 bytes, text/html)
2015-09-17 14:38 PDT, Jon Honeycutt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Honeycutt 2015-09-17 14:38:39 PDT
Created attachment 261428 [details]
crashing test

Null dereference loading Blink layout test editing/execCommand/indent-table-cell-crash.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                 000000010d159000-000000010d15b000 [    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/execCommand/indent-table-cell-crash.html

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

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x00000001158ca560 WebCore::Node::isDescendantOf(WebCore::Node const*) const + 32 (Node.h:638)
1   com.apple.WebCore             	0x0000000114f5407e WebCore::CompositeEditCommand::cloneParagraphUnderNewElement(WebCore::Position const&, WebCore::Position const&, WebCore::Node*, WebCore::Element*) + 318 (CompositeEditCommand.cpp:1067)
2   com.apple.WebCore             	0x0000000114f54e2d WebCore::CompositeEditCommand::moveParagraphWithClones(WebCore::VisiblePosition const&, WebCore::VisiblePosition const&, WebCore::Element*, WebCore::Node*) + 621 (CompositeEditCommand.cpp:1176)
3   com.apple.WebCore             	0x00000001153b0755 WebCore::IndentOutdentCommand::indentIntoBlockquote(WebCore::Position const&, WebCore::Position const&, WTF::RefPtr<WebCore::Element>&) + 901 (StdLibExtras.h:366)
4   com.apple.WebCore             	0x0000000114e96605 WebCore::ApplyBlockElementCommand::formatSelection(WebCore::VisiblePosition const&, WebCore::VisiblePosition const&) + 4677 (ApplyBlockElementCommand.cpp:145)
5   com.apple.WebCore             	0x0000000114e9504d WebCore::ApplyBlockElementCommand::doApply() + 1037 (Ref.h:123)
6   com.apple.WebCore             	0x0000000114f4d216 WebCore::CompositeEditCommand::apply() + 102 (ScopedEventQueue.h:71)
7   com.apple.WebCore             	0x0000000115180c4b WebCore::executeIndent(WebCore::Frame&, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&) + 59 (StdLibExtras.h:366)
8   com.apple.WebCore             	0x000000011517f876 WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const + 182 (EditorCommand.cpp:1704)
9   com.apple.WebCore             	0x00000001150b8c36 WebCore::Document::execCommand(WTF::String const&, bool, WTF::String const&) + 214 (Document.cpp:4666)
10  com.apple.WebCore             	0x00000001154cf074 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*) + 420 (JSCJSValue.h:499)
11  ???                           	0x00002b2ae6401028 0 + 47463251578920
12  com.apple.JavaScriptCore      	0x000000011482b76f llint_entry + 22696
13  com.apple.JavaScriptCore      	0x0000000114825ce4 vmEntryToJavaScript + 299
14  com.apple.JavaScriptCore      	0x00000001146e62d9 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 169 (JITCode.cpp:82)
15  com.apple.JavaScriptCore      	0x00000001146ccd12 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 450 (Interpreter.cpp:1008)
16  com.apple.JavaScriptCore      	0x00000001143988b7 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 71 (MarkedBlock.h:241)
17  com.apple.WebCore             	0x0000000115553fa4 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) + 996 (JSMainThreadExecState.h:56)
18  com.apple.WebCore             	0x00000001151ba4db WebCore::EventTarget::fireEventListeners(WebCore::Event*, WebCore::EventTargetData*, WTF::Vector<WebCore::RegisteredEventListener, 1ul, WTF::CrashOnOverflow, 16ul>&) + 635 (InspectorInstrumentation.h:285)
19  com.apple.WebCore             	0x00000001151ba1a0 WebCore::EventTarget::fireEventListeners(WebCore::Event*) + 224 (EventTarget.cpp:208)
20  com.apple.WebCore             	0x0000000115146bf4 WebCore::DOMWindow::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, WTF::PassRefPtr<WebCore::EventTarget>) + 260 (DOMWindow.cpp:1900)
21  com.apple.WebCore             	0x000000011514c30b WebCore::DOMWindow::dispatchLoadEvent() + 347 (StdLibExtras.h:366)
22  com.apple.WebCore             	0x00000001150af294 WebCore::Document::implicitClose() + 324 (Document.cpp:4077)
23  com.apple.WebCore             	0x000000011523c003 WebCore::FrameLoader::checkCompleted() + 275 (FrameLoader.cpp:839)
24  com.apple.WebCore             	0x000000011523a95b WebCore::FrameLoader::finishedParsing() + 123 (FrameLoader.cpp:760)
25  com.apple.WebCore             	0x00000001150ba281 WebCore::Document::finishedParsing() + 417 (Frame.h:377)
26  com.apple.WebCore             	0x00000001152e6e05 WebCore::HTMLDocumentParser::prepareToStopParsing() + 165 (RefCounted.h:99)
27  com.apple.WebCore             	0x00000001150ea69a WebCore::DocumentWriter::end() + 58 (StdLibExtras.h:366)
28  com.apple.WebCore             	0x00000001150d29ec WebCore::DocumentLoader::finishedLoading(double) + 268 (ResourceErrorBase.h:42)
29  com.apple.WebCore             	0x0000000114f03179 WebCore::CachedResource::checkNotify() + 153 (CachedResourceClientWalker.h:51)
30  com.apple.WebCore             	0x0000000114eff433 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*) + 227 (CachedRawResource.cpp:104)
31  com.apple.WebCore             	0x0000000115c7a501 WebCore::SubresourceLoader::didFinishLoading(double) + 1153 (ResourceLoader.h:154)
32  com.apple.WebKit              	0x00000001137c098d WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&, IPC::MessageDecoder&) + 561 (HandleMessage.h:16)
33  com.apple.WebKit              	0x000000011359a1f1 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::MessageDecoder, std::__1::default_delete<IPC::MessageDecoder> >) + 127 (memory:2636)
34  com.apple.WebKit              	0x000000011359cb4a IPC::Connection::dispatchOneMessage() + 126 (memory:2656)
35  com.apple.JavaScriptCore      	0x00000001149de985 WTF::RunLoop::performWork() + 437 (functional:1742)
36  com.apple.JavaScriptCore      	0x00000001149ded32 WTF::RunLoop::performWork(void*) + 34 (RunLoopCF.cpp:39)
37  com.apple.CoreFoundation      	0x00007fff949e2c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
38  com.apple.CoreFoundation      	0x00007fff949d4b1c __CFRunLoopDoSources0 + 556
39  com.apple.CoreFoundation      	0x00007fff949d403f __CFRunLoopRun + 927
40  com.apple.CoreFoundation      	0x00007fff949d3a38 CFRunLoopRunSpecific + 296
41  com.apple.HIToolbox           	0x00007fff88e673bd RunCurrentEventLoopInMode + 235
42  com.apple.HIToolbox           	0x00007fff88e67153 ReceiveNextEventCommon + 432
43  com.apple.HIToolbox           	0x00007fff88e66f93 _BlockUntilNextEventMatchingListInModeWithFilter + 71
44  com.apple.AppKit              	0x00007fff870b81e7 _DPSNextEvent + 1076
45  com.apple.AppKit              	0x00007fff8748490d -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
46  com.apple.AppKit              	0x00007fff870ae0b8 -[NSApplication run] + 682
47  com.apple.AppKit              	0x00007fff87030396 NSApplicationMain + 1176
48  libxpc.dylib                  	0x00007fff8c70ff70 _xpc_objc_main + 793
49  libxpc.dylib                  	0x00007fff8c7116bf xpc_main + 494
50  com.apple.WebKit.WebContent.Development	0x000000010d15a424 main + 409 (XPCServiceMain.Development.mm:187)
51  libdyld.dylib                 	0x00007fff93aa15ad start + 1
Comment 1 Radar WebKit Bug Importer 2015-09-17 14:38:57 PDT
<rdar://problem/22746591>
Comment 2 Jon Honeycutt 2015-09-19 11:51:56 PDT

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