<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Windows: Crash with absolute path with forward slashes (at reparse, with CXTranslationUnit_PrecompiledPreamble)"
   href="https://llvm.org/bugs/show_bug.cgi?id=28381">28381</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Windows: Crash with absolute path with forward slashes (at reparse, with CXTranslationUnit_PrecompiledPreamble)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libclang
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nikolai.kosjar@qt.io
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16670" name="attach_16670" title="libclang calls to reproduce, test sources to trigger the bug, stackstrace">attachment 16670</a> <a href="attachment.cgi?id=16670&action=edit" title="libclang calls to reproduce, test sources to trigger the bug, stackstrace">[details]</a></span>
libclang calls to reproduce, test sources to trigger the bug, stackstrace

See attachment crashForwardSlashes.zip
 - libclangclient.cpp: Compile this to re-produce.
 - testsources: main.cpp includes empty.h
 - stacktrace.txt at crash/assert

Consider the invocations:
 1) libclangclient.exe D:\absolute\path\to\main.cpp
    ==> fine
 2) libclangclient.exe D:/absolute/path/to/main.cpp
    ==> crash

It will crash obviously with a message box for a debug build of llvm (assert).

For a release mode build it does not crash for the given example, but in a
real world application making more libclang calls it will crash at some later
point in time.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>