<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>149293</bug_id>
          
          <creation_ts>2015-09-17 14:38:39 -0700</creation_ts>
          <short_desc>Null dereference loading Blink layout test editing/execCommand/indent-table-cell-crash.html</short_desc>
          <delta_ts>2015-09-19 11:51:56 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>149292</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate, HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jon Honeycutt">jhoneycutt</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1126860</commentid>
    <comment_count>0</comment_count>
      <attachid>261428</attachid>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2015-09-17 14:38:39 -0700</bug_when>
    <thetext>Created attachment 261428
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:
--&gt; 
    __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&amp;, WebCore::Position const&amp;, WebCore::Node*, WebCore::Element*) + 318 (CompositeEditCommand.cpp:1067)
2   com.apple.WebCore             	0x0000000114f54e2d WebCore::CompositeEditCommand::moveParagraphWithClones(WebCore::VisiblePosition const&amp;, WebCore::VisiblePosition const&amp;, WebCore::Element*, WebCore::Node*) + 621 (CompositeEditCommand.cpp:1176)
3   com.apple.WebCore             	0x00000001153b0755 WebCore::IndentOutdentCommand::indentIntoBlockquote(WebCore::Position const&amp;, WebCore::Position const&amp;, WTF::RefPtr&lt;WebCore::Element&gt;&amp;) + 901 (StdLibExtras.h:366)
4   com.apple.WebCore             	0x0000000114e96605 WebCore::ApplyBlockElementCommand::formatSelection(WebCore::VisiblePosition const&amp;, WebCore::VisiblePosition const&amp;) + 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&amp;, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&amp;) + 59 (StdLibExtras.h:366)
8   com.apple.WebCore             	0x000000011517f876 WebCore::Editor::Command::execute(WTF::String const&amp;, WebCore::Event*) const + 182 (EditorCommand.cpp:1704)
9   com.apple.WebCore             	0x00000001150b8c36 WebCore::Document::execCommand(WTF::String const&amp;, bool, WTF::String const&amp;) + 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&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 450 (Interpreter.cpp:1008)
16  com.apple.JavaScriptCore      	0x00000001143988b7 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 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&lt;WebCore::RegisteredEventListener, 1ul, WTF::CrashOnOverflow, 16ul&gt;&amp;) + 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&lt;WebCore::Event&gt;, WTF::PassRefPtr&lt;WebCore::EventTarget&gt;) + 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&amp;, IPC::MessageDecoder&amp;) + 561 (HandleMessage.h:16)
33  com.apple.WebKit              	0x000000011359a1f1 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::MessageDecoder, std::__1::default_delete&lt;IPC::MessageDecoder&gt; &gt;) + 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1126861</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-09-17 14:38:57 -0700</bug_when>
    <thetext>&lt;rdar://problem/22746591&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1127406</commentid>
    <comment_count>2</comment_count>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2015-09-19 11:51:56 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 149292 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>261428</attachid>
            <date>2015-09-17 14:38:39 -0700</date>
            <delta_ts>2015-09-17 14:38:39 -0700</delta_ts>
            <desc>crashing test</desc>
            <filename>indent-table-cell-crash.html</filename>
            <type>text/html</type>
            <size>388</size>
            <attacher name="Jon Honeycutt">jhoneycutt</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxoZWFkPgo8c3R5bGU+CmhyIHsgZGlzcGxheTogdGFibGUtY2VsbDsg
fQo8L3N0eWxlPgo8c2NyaXB0PgppZiAod2luZG93LnRlc3RSdW5uZXIpCiAgICB0ZXN0UnVubmVy
LmR1bXBBc1RleHQoKTsKCm9ubG9hZCA9IGZ1bmN0aW9uKCkgewogICAgZG9jdW1lbnQuZGVzaWdu
TW9kZSA9ICdvbic7CiAgICBkb2N1bWVudC5leGVjQ29tbWFuZCgnU2VsZWN0QWxsJyk7CiAgICBk
b2N1bWVudC5leGVjQ29tbWFuZCgnSW5kZW50Jyk7CiAgICBkb2N1bWVudC5ib2R5LnRleHRDb250
ZW50ID0gJ1BBU1MgaWYgQmxpbmsgZG9lc25cJ3QgY3Jhc2guJzsKfTsKPC9zY3JpcHQ+CjwvaGVh
ZD4KPGJvZHk+CmJlZm9yZTxocj48aHI+YWZ0ZXIKPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>