<html>
    <head>
      <base href="https://bugs.llvm.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 - Segmentation fault in Expr::getBestDynamicClassTypeExpr()"
   href="https://bugs.llvm.org/show_bug.cgi?id=35797">35797</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segmentation fault in Expr::getBestDynamicClassTypeExpr()
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Tom.Isaacson@navico.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm running clazy (<a href="https://github.com/KDE/clazy">https://github.com/KDE/clazy</a>) on my codebase and it keeps
crashing. I initially built with clang 3.8 but am now using the trunk and I'm
still seeing a segmentation fault in Expr::getBestDynamicClassTypeExpr(). It's
intermittent - I have to run it for a while to see the problem and that section
of the code is used successfully.

I'm still trying to figure out what goes wrong. Because I have to use
clazy_standalone I can't debug this directly (see
<a href="https://stackoverflow.com/questions/48014582/how-can-i-debug-clazy-standalone-run-from-xargs">https://stackoverflow.com/questions/48014582/how-can-i-debug-clazy-standalone-run-from-xargs</a>).
I've tried adding llvm::outs() and llvm::errs() to the code but neither are
producing any output. Any suggestions for other ways to debug this?</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>