[LLVMbugs] [Bug 20924] New: Compiler crashes with Segmentation fault:11

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 12 10:01:22 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20924

            Bug ID: 20924
           Summary: Compiler crashes with Segmentation fault:11
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hespanha at ece.ucsb.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The compiler crashes with the error message below. I'm attaching here the
source that is pretty large, but simply consists of a long sequence of
floating-point operations on a single array. This problem seems to arise
because the source is very long and/or has many functions.

Per instructions in http://llvm.org/docs/HowToSubmitABug.html#front-end
this seems to be a front-end crash.

% cc -O0 -emit-llvm -save-temps -c foo.c -o foo.o

lang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash backtrace,
preprocessed source, and associated run script.
clang: note: diagnostic msg:

-- 
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/20140912/e6bcaac4/attachment.html>


More information about the llvm-bugs mailing list