Closed nico closed 12 years ago
Run with -arch i386 on the (unzipped) attached file. This happened at r142072.
-arch i386
Subtype of ScopedDecl not handled. UNREACHABLE executed at /Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h:72! 0 clang++ 0x00000001013bbda2 PrintStackTrace(void) + 34 1 clang++ 0x00000001013bc389 SignalHandler(int) + 713 2 libSystem.B.dylib 0x00007fff80f0d1ba _sigtramp + 26 3 libSystem.B.dylib 000000000000000000 _sigtramp + 2131701344 4 clang++ 0x000000010001d726 abort + 22 5 clang++ 0x00000001013adb59 llvm::llvm_unreachable_internal(char const, char const, unsigned int) + 457 6 clang++ 0x00000001005676ec clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::FindEscaped, void>::Visit(clang::Stmt) + 2748 7 clang++ 0x00000001005669c2 void clang::ento::check::ASTCodeBody::_checkBody<(anonymous namespace)::DeadStoresChecker>(void, clang::Decl const, clang::ento::AnalysisManager&, clang::ento::BugReporter&) + 562 8 clang++ 0x00000001005c65bb clang::ento::CheckerManager::runCheckersOnASTBody(clang::Decl const, clang::ento::AnalysisManager&, clang::ento::BugReporter&) + 111 9 clang++ 0x0000000100546bba (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl) + 902 10 clang++ 0x0000000100546f75 (anonymous namespace)::AnalysisConsumer::HandleDeclContext(clang::ASTContext&, clang::DeclContext) + 747 11 clang++ 0x000000010054743a (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) + 394 12 clang++ 0x000000010025088f clang::ParseAST(clang::Sema&, bool) + 431 13 clang++ 0x0000000100039e42 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 958 14 clang++ 0x00000001000253b1 clang::ExecuteCompilerInvocation(clang::CompilerInstance) + 2177 15 clang++ 0x000000010001f47b cc1_main(char const, char const, char const, void) + 2923 16 clang++ 0x0000000100022430 main + 640 17 clang++ 0x000000010001e904 start + 52 18 clang++ 0x00000000000000db start + 4294842379 Stack dump:
Fixed: r153283
The 'compile-fail' keyword doesn't make sense here. This is a static analyzer crash, not a compiler failure.
cloned to rdar://problem/10297166
assigned to @tkremenek
Extended Description
Run with
-arch i386
on the (unzipped) attached file. This happened at r142072.Subtype of ScopedDecl not handled. UNREACHABLE executed at /Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h:72! 0 clang++ 0x00000001013bbda2 PrintStackTrace(void) + 34 1 clang++ 0x00000001013bc389 SignalHandler(int) + 713 2 libSystem.B.dylib 0x00007fff80f0d1ba _sigtramp + 26 3 libSystem.B.dylib 000000000000000000 _sigtramp + 2131701344 4 clang++ 0x000000010001d726 abort + 22 5 clang++ 0x00000001013adb59 llvm::llvm_unreachable_internal(char const, char const, unsigned int) + 457 6 clang++ 0x00000001005676ec clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::FindEscaped, void>::Visit(clang::Stmt) + 2748 7 clang++ 0x00000001005669c2 void clang::ento::check::ASTCodeBody::_checkBody<(anonymous namespace)::DeadStoresChecker>(void, clang::Decl const, clang::ento::AnalysisManager&, clang::ento::BugReporter&) + 562 8 clang++ 0x00000001005c65bb clang::ento::CheckerManager::runCheckersOnASTBody(clang::Decl const, clang::ento::AnalysisManager&, clang::ento::BugReporter&) + 111 9 clang++ 0x0000000100546bba (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl) + 902 10 clang++ 0x0000000100546f75 (anonymous namespace)::AnalysisConsumer::HandleDeclContext(clang::ASTContext&, clang::DeclContext) + 747 11 clang++ 0x000000010054743a (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) + 394 12 clang++ 0x000000010025088f clang::ParseAST(clang::Sema&, bool) + 431 13 clang++ 0x0000000100039e42 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 958 14 clang++ 0x00000001000253b1 clang::ExecuteCompilerInvocation(clang::CompilerInstance) + 2177 15 clang++ 0x000000010001f47b cc1_main(char const, char const, char const, void) + 2923 16 clang++ 0x0000000100022430 main + 640 17 clang++ 0x000000010001e904 start + 52 18 clang++ 0x00000000000000db start + 4294842379 Stack dump: