[LLVMbugs] [Bug 14008] New: between svn r163806 to r165015 clang became unable to build VTK, crashes.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 3 12:15:26 PDT 2012


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

             Bug #: 14008
           Summary: between svn r163806 to r165015 clang became unable to
                    build VTK, crashes.
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sean at rogue-research.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9298
  --> http://llvm.org/bugs/attachment.cgi?id=9298
requested file

Yesterday, I updated my VTK buildbot's clang from svn r163806 to r165015, and
now my build of VTK fails:

0  clang-3.2         0x00000001094fa932 PrintStackTrace(void*) + 34
1  clang-3.2         0x00000001094fad89 SignalHandler(int) + 505
2  libsystem_c.dylib 0x00007fff92c3c8ea _sigtramp + 26
3  clang-3.2         0x00000001093eb526 llvm::hash_code
llvm::hash_combine<llvm::Type*, llvm::APInt>(llvm::Type* const&, llvm::APInt
const&) + 214
4  clang-3.2         0x000000010922526b (anonymous
namespace)::SROA::runOnAlloca(llvm::AllocaInst&) + 1931
5  clang-3.2         0x0000000109223fd9 (anonymous
namespace)::SROA::runOnFunction(llvm::Function&) + 601
6  clang-3.2         0x0000000109454b90
llvm::FPPassManager::runOnFunction(llvm::Function&) + 304
7  clang-3.2         0x00000001094544b5
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 197
8  clang-3.2         0x00000001094543c5
llvm::FunctionPassManager::run(llvm::Function&) + 117
9  clang-3.2         0x000000010968827b
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4795
10 clang-3.2         0x000000010974e82f
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 703
11 clang-3.2         0x0000000109888154 clang::ParseAST(clang::Sema&, bool,
bool) + 516
12 clang-3.2         0x000000010974d925 clang::CodeGenAction::ExecuteAction() +
1157
13 clang-3.2         0x00000001098222a1 clang::FrontendAction::Execute() + 97
14 clang-3.2         0x00000001097f9792
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 866
15 clang-3.2         0x00000001094fd5a4
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3380
16 clang-3.2         0x0000000108b2c0e2 cc1_main(char const**, char const**,
char const*, void*) + 2802
17 clang-3.2         0x0000000108b285ed main + 669
18 libdyld.dylib     0x00007fff8e5487e1 start + 0
19 libdyld.dylib     0x000000000000004b start + 18446603338128259178
Stack dump:
0.    Program arguments: /Users/builder/llvm/llvm-rel-install/bin/clang-3.2
-cc1 -triple x86_64-apple-macosx10.8.0 -emit-obj -disable-free
-disable-llvm-verifier -main-file-name proj_mdist.c -pic-level 2
-mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -g
-coverage-file
/Users/builder/external/VTK-clang-rel-x86_64/ThirdParty/libproj4/vtklibproj4/CMakeFiles/vtkproj4.dir/proj_mdist.c.o
-resource-dir /Users/builder/llvm/llvm-rel-install/bin/../lib/clang/3.2
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
-D VTK_IN_VTK -D vtkproj4_EXPORTS -D _FORTIFY_SOURCE=2 -D NDEBUG -I
/Users/builder/external/VTK-clang-rel-x86_64/ThirdParty/libproj4/vtklibproj4 -I
/Users/builder/external/VTK-clang-rel-x86_64/ThirdParty/libproj4 -I
/Users/builder/external/VTK/ThirdParty/libproj4 -I
/Users/builder/external/VTK/ThirdParty/libproj4/vtklibproj4 -fmodule-cache-path
/var/folders/fk/hnnmm2h91xl6zvz8dl4y6b8r0000gn/T/clang-module-cache -O3 -Wall
-Wextra -Wformat=2 -Wno-format-nonliteral -Wunused -Wpointer-arith
-Winvalid-pch -Wdisabled-optimization -Wnewline-eof -Wno-array-bounds
-Wno-deprecated-declarations -Wno-uninitialized -Wno-missing-braces -w
-fdebug-compilation-dir
/Users/builder/external/VTK-clang-rel-x86_64/ThirdParty/libproj4/vtklibproj4
-ferror-limit 19 -fmessage-length 0 -stack-protector 2 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed
-fobjc-default-synthesize-properties -fdiagnostics-show-option -o
CMakeFiles/vtkproj4.dir/proj_mdist.c.o -x c
/Users/builder/external/VTK/ThirdParty/libproj4/vtklibproj4/proj_mdist.c 
1.    <eof> parser at end of file
2.    Per-function optimization
3.    Running pass 'SROA' on function '@vtk_proj_mdist_ini'
clang-3: error: unable to execute command: Segmentation fault: 11
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 165015)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
clang-3: note: diagnostic msg: PLEASE submit a bug report to  and include the
crash backtrace, preprocessed source, and associated run script.
clang-3: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3: note: diagnostic msg:
/var/folders/fk/hnnmm2h91xl6zvz8dl4y6b8r0000gn/T/proj_mdist-DUGTVf.c
clang-3: note: diagnostic msg:
/var/folders/fk/hnnmm2h91xl6zvz8dl4y6b8r0000gn/T/proj_mdist-DUGTVf.sh
clang-3: note: diagnostic msg: 

********************

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list