<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 - WTFCrash loading Blink layout test svg/text/unpaired-surrogate-crash.html"
   href="https://bugs.webkit.org/show_bug.cgi?id=149374">149374</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>WTFCrash loading Blink layout test svg/text/unpaired-surrogate-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>Safari 9
          </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>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>Web Template Framework
          </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>msaboff&#64;apple.com, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=261584" name="attach_261584" title="crashing test">attachment 261584</a> <a href="attachment.cgi?id=261584&amp;action=edit" title="crashing test">[details]</a></span>
crashing test

WTFCrash loading Blink layout test svg/text/unpaired-surrogate-crash.html.

Test comes from Blink CR <a href="https://codereview.chromium.org/1150383003">https://codereview.chromium.org/1150383003</a>.

Note that the Blink change is in SVG, but this crash is in WTF::String.

Stack trace:

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

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

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 000000010b74e000-000000010b750000 [    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/svg/text/unpaired-surrogate-crash.html

Global Trace Buffer (reverse chronological seconds):
18446743968.149380 AppleJPEG                     0x00007fff8a01b11c [0x7f82af824600] Decoding completed without errors
18446743968.149380 AppleJPEG                     0x00007fff8a0190fc [0x7f82af824600] Options: 216x14 [FFFFFFFF,FFFFFFFF] 0001D060
18446743968.149380 AppleJPEG                     0x00007fff8a018fae [0x7f82af824600] Decoding: C0 0x00D8000E 0x0000304A 0x22111100 0x00000000 2260
18446743968.150143 AppleJPEG                     0x00007fff8a01805e [0x7f82af824600] Created session
18446743968.150143 AppleJPEG                     0x00007fff8a018a11 [0x7f82af824600] Releasing session
18446743968.152466 AppleJPEG                     0x00007fff8a01805e [0x7f82af824600] Created session
18446743975.120022 CFNetwork                     0x00007fff88d43b97 Explicitly setting CF cookie storage singleton
18446743975.120564 CFNetwork                     0x00007fff88d8f211 Explicitly setting cookie storage singleton

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore          0x0000000112fb2bde WTFCrash + 62 (Assertions.cpp:321)
1   com.apple.JavaScriptCore          0x0000000112fee600 WTF::String::fromUTF8(unsigned char const*, unsigned long) + 912 (Vector.h:266)
2   com.apple.JavaScriptCore          0x0000000112fee6ef WTF::String::fromUTF8WithLatin1Fallback(unsigned char const*, unsigned long) + 31 (RefPtr.h:71)
3   WebKitTestRunnerInjectedBundle    0x0000000115b0c4b2 WTR::dumpFrameText(OpaqueWKBundleFrame const*, WTF::StringBuilder&amp;) + 111 (InjectedBundlePage.cpp:801)
4   WebKitTestRunnerInjectedBundle    0x0000000115b0c975 WTR::InjectedBundlePage::dump() + 585 (InjectedBundlePage.cpp:871)
5   com.apple.WebKit                  0x0000000111bc7e5e WebKit::InjectedBundlePageLoaderClient::didFinishLoadForFrame(WebKit::WebPage*, WebKit::WebFrame*, WTF::RefPtr&lt;API::Object&gt;&amp;) + 76 (InjectedBundlePageLoaderClient.cpp:146)
6   com.apple.WebKit                  0x0000000111cee126 WebKit::WebFrameLoaderClient::dispatchDidFinishLoad() + 72 (WebFrameLoaderClient.cpp:553)
7   com.apple.WebCore                 0x000000011383aad2 WebCore::FrameLoader::checkLoadCompleteForThisFrame() + 594 (FrameLoader.cpp:2286)
8   com.apple.WebCore                 0x00000001138313b6 WebCore::FrameLoader::checkLoadComplete() + 438 (FrameLoader.cpp:2465)
9   com.apple.WebCore                 0x00000001136c7a80 WebCore::DocumentLoader::finishedLoading(double) + 416 (DocumentLoader.cpp:439)
10  com.apple.WebCore                 0x00000001134f8179 WebCore::CachedResource::checkNotify() + 153 (CachedResourceClientWalker.h:51)
11  com.apple.WebCore                 0x00000001134f4433 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*) + 227 (CachedRawResource.cpp:104)
12  com.apple.WebCore                 0x000000011426f501 WebCore::SubresourceLoader::didFinishLoading(double) + 1153 (ResourceLoader.h:154)
13  com.apple.WebKit                  0x0000000111db598d WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::MessageDecoder&amp;) + 561 (HandleMessage.h:16)
14  com.apple.WebKit                  0x0000000111b8f1f1 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::MessageDecoder, std::__1::default_delete&lt;IPC::MessageDecoder&gt; &gt;) + 127 (memory:2636)
15  com.apple.WebKit                  0x0000000111b91b4a IPC::Connection::dispatchOneMessage() + 126 (memory:2656)
16  com.apple.JavaScriptCore          0x0000000112fd3985 WTF::RunLoop::performWork() + 437 (functional:1742)
17  com.apple.JavaScriptCore          0x0000000112fd3d32 WTF::RunLoop::performWork(void*) + 34 (RunLoopCF.cpp:39)
18  com.apple.CoreFoundation          0x00007fff949e2c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19  com.apple.CoreFoundation          0x00007fff949d4b1c __CFRunLoopDoSources0 + 556
20  com.apple.CoreFoundation          0x00007fff949d403f __CFRunLoopRun + 927
21  com.apple.CoreFoundation          0x00007fff949d3a38 CFRunLoopRunSpecific + 296
22  com.apple.HIToolbox               0x00007fff88e673bd RunCurrentEventLoopInMode + 235
23  com.apple.HIToolbox               0x00007fff88e67153 ReceiveNextEventCommon + 432
24  com.apple.HIToolbox               0x00007fff88e66f93 _BlockUntilNextEventMatchingListInModeWithFilter + 71
25  com.apple.AppKit                  0x00007fff870b81e7 _DPSNextEvent + 1076
26  com.apple.AppKit                  0x00007fff8748490d -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
27  com.apple.AppKit                  0x00007fff870ae0b8 -[NSApplication run] + 682
28  com.apple.AppKit                  0x00007fff87030396 NSApplicationMain + 1176
29  libxpc.dylib                      0x00007fff8c70ff70 _xpc_objc_main + 793
30  libxpc.dylib                      0x00007fff8c7116bf xpc_main + 494
31  com.apple.WebKit.WebContent.Development    0x000000010b74f424 main + 409 (XPCServiceMain.Development.mm:187)
32  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>