<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 fast/parser/xhtml-dom-character-data-modified-crash.html"
   href="https://bugs.webkit.org/show_bug.cgi?id=149485">149485</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Null dereference loading Blink layout test fast/parser/xhtml-dom-character-data-modified-crash.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>XML DOM
          </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=261779" name="attach_261779" title="crashing test">attachment 261779</a> <a href="attachment.cgi?id=261779&amp;action=edit" title="crashing test">[details]</a></span>
crashing test

Null dereference loading Blink layout test parser/xhtml-dom-character-data-modified-crash.html.

Test added in <a href="https://codereview.chromium.org/1267283002">https://codereview.chromium.org/1267283002</a>.


Stack trace:

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

Application Specific Information:
CRASHING TEST: temp-tests/fast/parser/xhtml-dom-character-data-modified-crash.html
This process is running with libgmalloc.dylib (GuardMalloc) which may have forced the crash due to a memory access error.


Global Trace Buffer (reverse chronological seconds):
48.335848    CFNetwork                     0x00007fff88d445cd Creating default cookie storage with process/bundle identifier
48.335848    CFNetwork                     0x00007fff88d44565 Faulting in CFHTTPCookieStorage singleton
48.335855    CFNetwork                     0x00007fff88ba7b49 Faulting in NSHTTPCookieStorage singleton

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore                 0x0000000107361a52 WebCore::XMLDocumentParser::endElementNs() + 130 (XMLDocumentParserLibxml2.cpp:887)
1   libxml2.2.dylib                   0x00007fff8c5a1d16 xmlParseEndTag2 + 917
2   libxml2.2.dylib                   0x00007fff8c5a42fe xmlParseTryOrFinish + 3216
3   libxml2.2.dylib                   0x00007fff8c5a3479 xmlParseChunk + 905
4   com.apple.WebCore                 0x000000010736064b WebCore::XMLDocumentParser::doWrite(WTF::String const&amp;) + 475 (Vector.h:634)
5   com.apple.WebCore                 0x000000010735e590 WebCore::XMLDocumentParser::append(WTF::PassRefPtr&lt;WTF::StringImpl&gt;) + 208 (StdLibExtras.h:366)
6   com.apple.WebCore                 0x0000000106586565 WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter&amp;, char const*, unsigned long) + 117 (StdLibExtras.h:366)
7   com.apple.WebCore                 0x00000001065cf051 WebCore::DocumentLoader::commitData(char const*, unsigned long) + 657 (DocumentLoader.cpp:857)
8   com.apple.WebKitLegacy            0x0000000108a3ea82 -[WebHTMLRepresentation receivedData:withDataSource:] + 98 (WebHTMLRepresentation.mm:198)
9   com.apple.WebKitLegacy            0x0000000108a0d7a0 -[WebDataSource(WebInternal) _receivedData:] + 64 (WebDataSource.mm:242)
10  com.apple.WebKitLegacy            0x0000000108a2af9d WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 109 (WebFrameLoaderClient.mm:1014)
11  com.apple.WebCore                 0x00000001065d0b01 WebCore::DocumentLoader::commitLoad(char const*, int) + 145 (DocumentLoader.h:225)
12  com.apple.WebCore                 0x00000001063fb250 WebCore::CachedRawResource::notifyClientsDataWasReceived(char const*, unsigned int) + 160 (CachedResourceClientWalker.h:51)
13  com.apple.WebCore                 0x00000001063fb121 WebCore::CachedRawResource::addDataBuffer(WebCore::SharedBuffer&amp;) + 145 (CachedRawResource.cpp:70)
14  com.apple.WebCore                 0x0000000107175f8a WebCore::SubresourceLoader::didReceiveDataOrBuffer(char const*, int, WTF::PassRefPtr&lt;WebCore::SharedBuffer&gt;, long long, WebCore::DataPayloadType) + 218 (SubresourceLoader.cpp:292)
15  com.apple.WebCore                 0x000000010717603c WebCore::SubresourceLoader::didReceiveBuffer(WTF::PassRefPtr&lt;WebCore::SharedBuffer&gt;, long long, WebCore::DataPayloadType) + 44 (StdLibExtras.h:366)
16  com.apple.WebCore                 0x000000010700ea7c WebCore::ResourceLoader::didReceiveBuffer(WebCore::ResourceHandle*, WTF::PassRefPtr&lt;WebCore::SharedBuffer&gt;, int) + 44 (StdLibExtras.h:366)
17  com.apple.WebCore                 0x00000001072f2f6a -[WebCoreResourceHandleAsDelegate connection:didReceiveDataArray:] + 106 (StdLibExtras.h:366)
18  com.apple.CFNetwork               0x00007fff88c5c622 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 69
19  com.apple.CFNetwork               0x00007fff88c5c49e -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 233
20  com.apple.CFNetwork               0x00007fff88c5c3a3 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
21  com.apple.CFNetwork               0x00007fff88da98fc _NSURLConnectionDidReceiveDataArray(_CFURLConnection*, __CFArray const*, void const*) + 82
22  com.apple.CFNetwork               0x00007fff88c5cc61 ___ZN27URLConnectionClient_Classic29_delegate_didReceiveDataArrayEv_block_invoke + 145
23  com.apple.CFNetwork               0x00007fff88d3ad5f ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
24  libdispatch.dylib                 0x00007fff96096331 _dispatch_client_callout + 8
25  libdispatch.dylib                 0x00007fff960ac9ad _dispatch_block_invoke + 474
26  com.apple.CFNetwork               0x00007fff88bb67f4 RunloopBlockContext::_invoke_block(void const*, void*) + 24
27  com.apple.CoreFoundation          0x00007fff949aeff4 CFArrayApplyFunction + 68
28  com.apple.CFNetwork               0x00007fff88bb66ed RunloopBlockContext::perform() + 137
29  com.apple.CFNetwork               0x00007fff88bb64c4 MultiplexerSource::perform() + 282
30  com.apple.CFNetwork               0x00007fff88bb62e6 MultiplexerSource::_perform(void*) + 72
31  com.apple.CoreFoundation          0x00007fff949e2c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
32  com.apple.CoreFoundation          0x00007fff949d4b1c __CFRunLoopDoSources0 + 556
33  com.apple.CoreFoundation          0x00007fff949d403f __CFRunLoopRun + 927
34  com.apple.CoreFoundation          0x00007fff949d3a38 CFRunLoopRunSpecific + 296
35  DumpRenderTree                    0x0000000104bf0eb3 runTest(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;) + 2146 (DumpRenderTree.mm:2031)
36  DumpRenderTree                    0x0000000104bf041a dumpRenderTree(int, char const**) + 2928 (DumpRenderTree.mm:1288)
37  DumpRenderTree                    0x0000000104bf1a2a DumpRenderTreeMain(int, char const**) + 1471 (DumpRenderTree.mm:1424)
38  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>