<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Null dereference loading Blink layout test editing/style/apply-style-crash2.html"
   href="https://bugs.webkit.org/show_bug.cgi?id=149300">149300</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Null dereference loading Blink layout test editing/style/apply-style-crash2.html
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>BlinkMergeCandidate, HasReduction, NeedsRadar
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>HTML Editing
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jhoneycutt&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=261435" name="attach_261435" title="crashing test">attachment 261435</a> <a href="attachment.cgi?id=261435&amp;action=edit" title="crashing test">[details]</a></span>
crashing test

Null dereference loading Blink layout test editing/style/apply-style-crash2.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                 000000010a350000-000000010a352000 [    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/style/apply-style-crash2.html

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

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore                 0x0000000112091db5 WebCore::ApplyStyleCommand::applyRelativeFontStyleChange(WebCore::EditingStyle*) + 2261 (Node.h:638)
1   com.apple.WebCore                 0x00000001120900ee WebCore::ApplyStyleCommand::doApply() + 158 (RefPtr.h:61)
2   com.apple.WebCore                 0x0000000112144216 WebCore::CompositeEditCommand::apply() + 102 (ScopedEventQueue.h:71)
3   com.apple.WebCore                 0x0000000112367bfb WebCore::Editor::applyStyle(WTF::RefPtr&lt;WebCore::EditingStyle&gt;&amp;&amp;, WebCore::EditAction) + 107 (StdLibExtras.h:366)
4   com.apple.WebCore                 0x000000011237a2a3 WebCore::applyCommandToFrame(WebCore::Frame&amp;, WebCore::EditorCommandSource, WebCore::EditAction, WTF::Ref&lt;WebCore::EditingStyle&gt;&amp;&amp;) + 51 (StdLibExtras.h:366)
5   com.apple.WebCore                 0x000000011237a22f WebCore::executeApplyStyle(WebCore::Frame&amp;, WebCore::EditorCommandSource, WebCore::EditAction, WebCore::CSSPropertyID, WTF::String const&amp;) + 79 (EditorCommand.cpp:129)
6   com.apple.WebCore                 0x0000000112376876 WebCore::Editor::Command::execute(WTF::String const&amp;, WebCore::Event*) const + 182 (EditorCommand.cpp:1704)
7   com.apple.WebCore                 0x00000001122afc36 WebCore::Document::execCommand(WTF::String const&amp;, bool, WTF::String const&amp;) + 214 (Document.cpp:4666)
8   com.apple.WebCore                 0x00000001126c6074 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*) + 420 (JSCJSValue.h:499)
9   ???                               0x0000520338c01028 0 + 90173790490664
10  com.apple.JavaScriptCore          0x0000000111a2276f llint_entry + 22696
11  com.apple.JavaScriptCore          0x0000000111a1cce4 vmEntryToJavaScript + 299
12  com.apple.JavaScriptCore          0x00000001118dd2d9 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 169 (JITCode.cpp:82)
13  com.apple.JavaScriptCore          0x00000001118c3a10 JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) + 10448 (Interpreter.cpp:945)
14  com.apple.JavaScriptCore          0x00000001115d64c5 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 469 (Completion.cpp:104)
15  com.apple.WebCore                 0x0000000112d398ec WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&amp;, WebCore::DOMWrapperWorld&amp;) + 284 (JSMainThreadExecState.h:62)
16  com.apple.WebCore                 0x0000000112d39b29 WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&amp;) + 41 (ScriptController.cpp:180)
17  com.apple.WebCore                 0x0000000112d3faac WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&amp;) + 316 (ScriptElement.cpp:309)
18  com.apple.WebCore                 0x0000000112d3e756 WebCore::ScriptElement::prepareScript(WTF::TextPosition const&amp;, WebCore::ScriptElement::LegacyTypeSupport) + 1046 (StdLibExtras.h:366)
19  com.apple.WebCore                 0x000000011253b5eb WebCore::HTMLScriptRunner::runScript(WebCore::Element*, WTF::TextPosition const&amp;) + 347 (ScriptElement.h:58)
20  com.apple.WebCore                 0x000000011253b440 WebCore::HTMLScriptRunner::execute(WTF::PassRefPtr&lt;WebCore::Element&gt;, WTF::TextPosition const&amp;) + 48 (HTMLScriptRunner.cpp:191)
21  com.apple.WebCore                 0x00000001124de466 WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() + 86 (StdLibExtras.h:366)
22  com.apple.WebCore                 0x00000001124de52d WebCore::HTMLDocumentParser::canTakeNextToken(WebCore::HTMLDocumentParser::SynchronousMode, WebCore::PumpSession&amp;) + 93 (HTMLDocumentParser.cpp:214)
23  com.apple.WebCore                 0x00000001124de0c3 WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) + 595 (HTMLDocumentParser.cpp:259)
24  com.apple.WebCore                 0x00000001124deddd WebCore::HTMLDocumentParser::append(WTF::PassRefPtr&lt;WTF::StringImpl&gt;) + 669 (DocumentParser.h:71)
25  com.apple.WebCore                 0x000000011228161c WebCore::DecodedDataDocumentParser::flush(WebCore::DocumentWriter&amp;) + 92 (StdLibExtras.h:366)
26  com.apple.WebCore                 0x00000001122e168b WebCore::DocumentWriter::end() + 43 (RefPtr.h:71)
27  com.apple.WebCore                 0x00000001122c99ec WebCore::DocumentLoader::finishedLoading(double) + 268 (ResourceErrorBase.h:42)
28  com.apple.WebCore                 0x00000001120fa179 WebCore::CachedResource::checkNotify() + 153 (CachedResourceClientWalker.h:51)
29  com.apple.WebCore                 0x00000001120f6433 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*) + 227 (CachedRawResource.cpp:104)
30  com.apple.WebCore                 0x0000000112e71501 WebCore::SubresourceLoader::didFinishLoading(double) + 1153 (ResourceLoader.h:154)
31  com.apple.WebKit                  0x00000001109b798d WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::MessageDecoder&amp;) + 561 (HandleMessage.h:16)
32  com.apple.WebKit                  0x00000001107911f1 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::MessageDecoder, std::__1::default_delete&lt;IPC::MessageDecoder&gt; &gt;) + 127 (memory:2636)
33  com.apple.WebKit                  0x0000000110793b4a IPC::Connection::dispatchOneMessage() + 126 (memory:2656)
34  com.apple.JavaScriptCore          0x0000000111bd5985 WTF::RunLoop::performWork() + 437 (functional:1742)
35  com.apple.JavaScriptCore          0x0000000111bd5d32 WTF::RunLoop::performWork(void*) + 34 (RunLoopCF.cpp:39)
36  com.apple.CoreFoundation          0x00007fff949e2c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
37  com.apple.CoreFoundation          0x00007fff949d4b1c __CFRunLoopDoSources0 + 556
38  com.apple.CoreFoundation          0x00007fff949d403f __CFRunLoopRun + 927
39  com.apple.CoreFoundation          0x00007fff949d3a38 CFRunLoopRunSpecific + 296
40  com.apple.HIToolbox               0x00007fff88e673bd RunCurrentEventLoopInMode + 235
41  com.apple.HIToolbox               0x00007fff88e67153 ReceiveNextEventCommon + 432
42  com.apple.HIToolbox               0x00007fff88e66f93 _BlockUntilNextEventMatchingListInModeWithFilter + 71
43  com.apple.AppKit                  0x00007fff870b81e7 _DPSNextEvent + 1076
44  com.apple.AppKit                  0x00007fff8748490d -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
45  com.apple.AppKit                  0x00007fff870ae0b8 -[NSApplication run] + 682
46  com.apple.AppKit                  0x00007fff87030396 NSApplicationMain + 1176
47  libxpc.dylib                      0x00007fff8c70ff70 _xpc_objc_main + 793
48  libxpc.dylib                      0x00007fff8c7116bf xpc_main + 494
49  com.apple.WebKit.WebContent.Development    0x000000010a351424 main + 409 (XPCServiceMain.Development.mm:187)
50  libdyld.dylib                     0x00007fff93aa15ad start + 1</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>