[LLVMbugs] [Bug 15897] New: clang-3.2 C++ SEGV

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 1 23:48:35 PDT 2013


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

            Bug ID: 15897
           Summary: clang-3.2 C++ SEGV
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sneumann at ipb-halle.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10455
  --> http://llvm.org/bugs/attachment.cgi?id=10455&action=edit
c++ source and stderr output

Hi, 

I am new to clang and bug reporting, so if there's sth missing 
pleas point me at it and I'll try to help as best as I can.

I am trying to compile a mid-sized project using some boost code,
and clang SEGV's on it. The code works fine on several versions of gcc,
and has been reported to work with clang-3.1 and earlier.

I attached a ZIP containing the *.cpp and *.sh file 
created by clang++ -v and the trace information on stderr.

I removed all optimisation etc. options down to:
clang++ -v -I. -c boost/regex/src/fileiter.cpp -o boost/regex/src/fileiter.o
and the SEGV remains. 

The development system is ubuntu 12.04, with clang pulled from 
https://launchpad.net/~kxstudio-team/+archive/builds,
versions are shown below.

If I run the shell script in the attachement, it reports 20+ errors. 
Could the SEGV be a subsequent problem ? But why do I get 
a SEGV instead of the error messages when just running clang++ ?

Yours,
Steffen

ii  clang                                  3.2-1~exp5ubuntu1~precise1          
   C, C++ and Objective-C compiler (LLVM based)
ii  clang-3.2                              3.2-1~exp5ubuntu1~precise1          
   C, C++ and Objective-C compiler (LLVM based)
ii  compiler-rt                            3.2-1~exp5ubuntu1~precise1          
   Runtime C library - LLVM based
ii  libllvm3.0                             3.0-4ubuntu1                        
   Low-Level Virtual Machine (LLVM), runtime library
ii  libllvm3.0:i386                        3.0-4ubuntu1                        
   Low-Level Virtual Machine (LLVM), runtime library
ii  libllvm3.2                             3.2-2ubuntu3~precise1               
   Low-Level Virtual Machine (LLVM), runtime library
ii  llvm-3.2                               3.2-2ubuntu3~precise1               
   Low-Level Virtual Machine (LLVM)
ii  llvm-3.2-dev                           3.2-2ubuntu3~precise1               
   Low-Level Virtual Machine (LLVM), libraries and headers
ii  llvm-3.2-runtime                       3.2-2ubuntu3~precise1               
   Low-Level Virtual Machine (LLVM), bytecode interpreter

-- 
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/20130502/89cef3d5/attachment.html>


More information about the llvm-bugs mailing list