r186565 crash on builidng bullet

Chad Rosier chad.rosier at gmail.com
Thu Jul 18 09:52:10 PDT 2013


This is very likely the same as http://llvm.org/bugs/show_bug.cgi?id=16651.

 Chad


On Thu, Jul 18, 2013 at 12:43 PM, Yi Jiang <yjiang at apple.com> wrote:

> I believe that this build failure was caused by chandlerc in
> revision r186565.  Please refer the details below:
>
> error: command failed while generating
> Output/btGImpactCollisionAlgorithm.llvm.o.compile
> ---
> Assertion failed: (CanSROA), function visit, file
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.apple-clang-x86_64-darwin12-RA_master/clang.roots/Sources/clang/src/lib/Transforms/Scalar/SROA.cpp,
> line 1954.
> 0  clang             0x0000000100e0264f
> PrintStackTraceSignalHandler(void*) + 47
> 1  clang             0x0000000100e02594 SignalHandler(int) + 468
> 2  libsystem_c.dylib 0x00007fff8eef58ea _sigtramp + 26
> 3  clang             0x0000000100054c2b
> llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&) + 155
> 4  clang             0x0000000100e023a6 abort + 22
> 5  clang             0x0000000100e02381 __assert_rtn + 81
> 6  clang             0x00000001017b1fb7 (anonymous
> namespace)::AllocaPartitionRewriter::visit((anonymous namespace)::Partition
> const*) + 887
> 7  clang             0x00000001017b1572 (anonymous
> namespace)::SROA::rewritePartitions(llvm::AllocaInst&, (anonymous
> namespace)::AllocaPartitioning&, (anonymous namespace)::Partition*,
> (anonymous namespace)::Partition*, long long, long long,
> llvm::ArrayRef<(anonymous namespace)::Partition*>) + 5298
> 8  clang             0x00000001017ad06f
> _ZN12_GLOBAL__N_14SROA13runOnFunctionERN4llvm8FunctionE91377 + 10927
> 9  clang             0x0000000100277551
> llvm::FPPassManager::runOnFunction(llvm::Function&) + 385
> 10 clang             0x000000010027af5f (anonymous
> namespace)::CGPassManager::runOnModule(llvm::Module&) + 2703
> 11 clang             0x0000000100277e7e
> llvm::PassManager::run(llvm::Module&) + 750
> 12 clang             0x000000010024fcf4
> clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
> const&, clang::TargetOptions const&, clang::LangOptions const&,
> llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 9812
> 13 clang             0x000000010023381e
> clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 2014
> 14 clang             0x0000000100047d12 clang::ParseAST(clang::Sema&,
> bool, bool) + 402
> 15 clang             0x0000000100045b35
> clang::CodeGenAction::ExecuteAction() + 581
> 16 clang             0x0000000100044106 clang::FrontendAction::Execute() +
> 134
> 17 clang             0x000000010001b4ff
> clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1023
> 18 clang             0x0000000100007ecd main + 25453
> 19 libdyld.dylib     0x00007fff8ffff7e1 start + 0
> 20 libdyld.dylib     0x0000000000000042 start + 1879050337
> Stack dump:
> 0. Program arguments:
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/host-compiler/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> -cc1 -triple x86_64-apple-macosx10.8.0 -emit-llvm-bc -disable-free
> -main-file-name btGImpactCollisionAlgorithm.cpp -mrelocation-model
> dynamic-no-pic -pic-level 2 -masm-verbose -munwind-tables -target-cpu core2
> -target-linker-version 136 -coverage-file
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/tests/nt/build/MultiSource/Benchmarks/Bullet/Output/btGImpactCollisionAlgorithm.llvm.o
> -resource-dir
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/host-compiler/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0
> -D NO_TIME -D _GNU_SOURCE -D __STDC_LIMIT_MACROS -D NDEBUG -D
> SMALL_PROBLEM_SIZE -I
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/test-suite/MultiSource/Benchmarks/Bullet/include
> -I
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/tests/nt/build/MultiSource/Benchmarks/Bullet
> -I
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/test-suite/MultiSource/Benchmarks/Bullet
> -I
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/test-suite/include
> -I ../../..//include -O3 -fdeprecated-macro -fdebug-compilation-dir
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/tests/nt/build/MultiSource/Benchmarks/Bullet
> -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign
> -fblocks -fobjc-runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed
> -fobjc-default-synthesize-properties -fencode-extended-block-signature
> -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o
> Output/btGImpactCollisionAlgorithm.llvm.o -x c++
> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/test-suite/MultiSource/Benchmarks/Bullet/btGImpactCollisionAlgorithm.cpp
> 1. <eof> parser at end of file
> 2. Per-module optimization passes
> 3. Running pass 'CallGraph Pass Manager' on module
> '/Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.lnt_apple-clang-x86_64-darwin12-RA_x86_64-O3-flto_master/test-suite/MultiSource/Benchmarks/Bullet/btGImpactCollisionAlgorithm.cpp'.
> 4. Running pass 'SROA' on function
> '@_ZNK17btTriangleShapeEx7getAabbERK11btTransformR9btVector3S4_'
> clang: error: unable to execute command: Illegal instruction: 4
> clang: error: clang frontend command failed due to signal (use -v to see
> invocation)
> Apple LLVM version 5.0 (me
> gaclang/trunk 185873) (based on LLVM 3.4svn)
> Target: x86_64-apple-darwin12.2.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:
> ********************
>
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> clang: note: diagnostic msg:
> /var/folders/xx/p6lp1ww97912btlldbr22zgm0000gn/T/btGImpactCollisionAlgorithm-6202b2.cpp
> clang: note: diagnostic msg:
> /var/folders/xx/p6lp1ww97912btlldbr22zgm0000gn/T/btGImpactCollisionAlgorithm-6202b2.sh
> clang: note: diagnostic msg:
>
> ********************
>
>
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130718/9b85e68b/attachment.html>


More information about the llvm-commits mailing list