<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:Hironori.Fujii&#64;sony.com" title="Fujii Hironori &lt;Hironori.Fujii&#64;sony.com&gt;"> <span class="fn">Fujii Hironori</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [WinCairo] Invalid address specified to RtlValidateHeap at std::ctype&lt;char&gt;::_Tidy() when finishing MiniBrowser"
   href="https://bugs.webkit.org/show_bug.cgi?id=157067">bug 157067</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>achristensen&#64;apple.com, bfulgham&#64;webkit.org, peavo&#64;outlook.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [WinCairo] Invalid address specified to RtlValidateHeap at std::ctype&lt;char&gt;::_Tidy() when finishing MiniBrowser"
   href="https://bugs.webkit.org/show_bug.cgi?id=157067#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [WinCairo] Invalid address specified to RtlValidateHeap at std::ctype&lt;char&gt;::_Tidy() when finishing MiniBrowser"
   href="https://bugs.webkit.org/show_bug.cgi?id=157067">bug 157067</a>
              from <span class="vcard"><a class="email" href="mailto:Hironori.Fujii&#64;sony.com" title="Fujii Hironori &lt;Hironori.Fujii&#64;sony.com&gt;"> <span class="fn">Fujii Hironori</span></a>
</span></b>
        <pre>A DLL ucrtbased.dll is observed in the call stack of <a href="show_bug.cgi?id=157067#c0">comment 0</a>.
According to a following document, ucrtbased.dll is just for dynamically linked CRT.

  CRT Library Features
  <a href="https://msdn.microsoft.com/en-us/library/abx4dbyh.aspx">https://msdn.microsoft.com/en-us/library/abx4dbyh.aspx</a>

This is strange because WebKit is compiled with /MT switch to use static CRT.
By using &quot;dumpbin /imports WebKit.dll&quot;, it can be observed that vcruntime140d.dll and ucrtbased.dll are linked.

In Source/WebKit/PlatformWin.cmake:

<span class="quote">&gt; if (${WTF_PLATFORM_WIN_CAIRO})
&gt;     set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:LIBCMTD&quot;)
&gt; else ()
&gt;     set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT /NODEFAULTLIB:MSVCRTD&quot;)
&gt; endif ()</span >

LIBCMT and LIBCMTD are ignored for WinCairo port.
But, they are the static CRT.
This code have been introduced in <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Build TestWebKitAPI with CMake on Windows"
   href="show_bug.cgi?id=147851">Bug 147851</a>.</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>