[llvm-bugs] [Bug 44281] New: clang frontend segfault when multiple make jobs running concurrently

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 11 19:46:53 PST 2019


            Bug ID: 44281
           Summary: clang frontend segfault when multiple make jobs
                    running concurrently
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jeff.linahan at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 22933
  --> https://bugs.llvm.org/attachment.cgi?id=22933&action=edit
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 https://github.com/jeffythedragonslayer/lipton-tarjan.git
$ cd lipton-tarjan
$ make -j 16

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191212/8a67dc82/attachment-0001.html>

More information about the llvm-bugs mailing list