<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 - clang frontend segfault when multiple make jobs running concurrently"
   href="https://bugs.llvm.org/show_bug.cgi?id=44281">44281</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang frontend segfault when multiple make jobs running concurrently
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>9.0
          </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>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jeff.linahan@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22933" name="attach_22933" title="clang concurrent make segfault output">attachment 22933</a> <a href="attachment.cgi?id=22933&action=edit" title="clang concurrent make segfault output">[details]</a></span>
clang concurrent make segfault output

I think clang-9 appears to be trying to execute a command called "Segmentation
fault (core dumped)" but I don't see a core file anywhere (even with ulimit -c
unlimited)  Workaround is to just run make without -j so I think it has
something to do with the frontend receiving some sort of signal when multiple
processes are kicked off.  I have no better idea what's going on without the
core file so here's my source code and steps to reproduce:

On Manjaro Linux 4.19.85 and clang 9.0.0:

$ git clone <a href="https://github.com/jeffythedragonslayer/lipton-tarjan.git">https://github.com/jeffythedragonslayer/lipton-tarjan.git</a>
$ cd lipton-tarjan
$ make -j 16</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>