teemperor added a comment.

If you can't reproduce, you should try running a debug build through valgrind. 
It points out this issue:

  ==29522== Invalid read of size 4
  ==29522==    at 0x16EBED0: clang::LocationContext::getCurrentStackFrame() 
const (in /opt/clang/build/bin/clang-6.0)
  ==29522==    by 0x1686BA9: clang::ento::isUnrolledLoopBlock(clang::CFGBlock 
const*, clang::ento::ExplodedNode*, clang::ento::AnalysisManager&) (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==    by 0x164F009: 
clang::ento::ExprEngine::processCFGBlockEntrance(clang::BlockEdge const&, 
clang::ento::NodeBuilderWithSinks&, clang::ento::ExplodedNode*) (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==    by 0x162A0B7: 
clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, 
clang::ento::ExplodedNode*) (in /opt/clang/build/bin/clang-6.0)
  ==29522==    by 0x162A455: 
clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, 
clang::ProgramPoint, clang::ento::WorkListUnit const&) (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==    by 0x162A782: 
clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, 
unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==    by 0xC6995E: (anonymous 
namespace)::AnalysisConsumer::ActionExprEngine(clang::Decl*, bool, 
clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, 
llvm::DenseMapInfo<clang::Decl const*> >*) [clone .part.4645] (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==    by 0xC6A1C9: (anonymous 
namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, 
clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, 
llvm::DenseMapInfo<clang::Decl const*> >*) (in /opt/clang/build/bin/clang-6.0)
  ==29522==    by 0xC7577B: (anonymous 
namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) [clone 
.part.4696] (in /opt/clang/build/bin/clang-6.0)
  ==29522==    by 0xC7EB19: clang::ParseAST(clang::Sema&, bool, bool) (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==    by 0xA2CD65: clang::FrontendAction::Execute() (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==    by 0x9F471D: 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (in 
/opt/clang/build/bin/clang-6.0)
  ==29522==  Address 0x10 is not stack'd, malloc'd or (recently) free'd

Try fixing this invalid read and the buildbots (and my builds :) ) should be 
working again.


https://reviews.llvm.org/D34260



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to