Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

clang gets into infinite loop on xerces #105

Closed
dkrupp opened this issue Mar 23, 2017 · 1 comment
Closed

clang gets into infinite loop on xerces #105

dkrupp opened this issue Mar 23, 2017 · 1 comment
Assignees
Milestone

Comments

@dkrupp
Copy link
Member

dkrupp commented Mar 23, 2017

analysis command:

/mnt/storage/xtu_service/clang_build/buildrelwdeb/bin/clang-5.0 -cc1 -triple x86_64-unknown-linux-gnu -analyze -disable-free -disable-llvm-verifier -discard-value-names -main-file-name IGXMLScanner.cpp -analyzer-store=region -analyzer-opt-analyze-nested-blocks -analyzer-eagerly-assume -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=cplusplus -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist-multi-file -w -analyzer-config xtu-dir=/mnt/storage/xtu_service/projects/xerces/build/.xtu -analyzer-config reanalyze-xtu-visited=true -analyzer-stats -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-feature +sse2 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -resource-dir /mnt/storage/xtu_service/clang_build/buildrelwdeb/lib/clang/5.0.0 -D HAVE_CONFIG_H -D XERCES_BUILDING_LIBRARY -I /mnt/storage/xtu_service/projects/xerces/build/src -I /mnt/storage/xtu_service/projects/xerces/build -I /mnt/storage/xtu_service/projects/xerces/build/src/xercesc/util -I /usr/include/c++/5 -I /usr/include/x86_64-linux-gnu/c++/5 -I /usr/include/c++/5/backward -I /usr/local/include -I /usr/include/x86_64-linux-gnu -I /usr/include -D PIC -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward -internal-isystem /usr/local/include -internal-isystem /mnt/storage/xtu_service/clang_build/buildrelwdeb/lib/clang/5.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -fdeprecated-macro -fdebug-compilation-dir /mnt/storage/xtu_service/projects/xerces/build/src -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /mnt/storage/xtu_service/projects/xerces/build/.xtu-out-init/report-18hKmc.plist -x c++ /mnt/storage/xtu_service/projects/xerces/build/src/xercesc/internal/IGXMLScanner.cpp

stack trace of a process in the infinite loop.

#0 0x00007fd5be9b9c00 in clang::TagDecl::getCanonicalDecl()@plt () from /mnt/storage/xtu_service/clang_build/buildrelwdeb/bin/../lib/../lib/libclangAST.so.5
#1 0x00007fd5bea4883d in IsStructurallyEquivalent (Context=..., D1=0x2a66490, D2=0x1c8b670)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:1574
#2 0x00007fd5bea4d3c1 in IsStructurallyEquivalent (Context=..., T1=..., T2=...) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:904
#3 0x00007fd5bea4dba9 in (anonymous namespace)::StructuralEquivalenceContext::IsStructurallyEquivalent (this=0x7ffd698c6c60, T1=..., T2=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:1599
#4 0x00007fd5bea57213 in clang::ASTImporter::IsStructurallyEquivalent (this=0x28c2fd0, From=..., To=..., Complain=Complain@entry=true)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7672
#5 0x00007fd5bea656e4 in clang::ASTNodeImporter::VisitFriendDecl (this=0x7ffd698c6e60, D=0x2b462f8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3631
#6 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2b462f8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#7 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c7120, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#8 0x00007fd5bea5f872 in clang::ASTNodeImporter::ImportDefinition (this=this@entry=0x7ffd698c7120, From=From@entry=0x296a0e8, To=To@entry=0x2b3bf98,
Kind=Kind@entry=clang::ASTNodeImporter::IDK_Default) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2411
#9 0x00007fd5bea66bea in clang::ASTNodeImporter::VisitRecordDecl (this=, D=0x296a0e8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3160
#10 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x296a0e8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#11 0x00007fd5bea669d8 in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c72e0, D=0x2969f78)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3003
#12 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2969f78)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#13 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c7470, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#14 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c7470, D=0x28d4318)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#15 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d4318)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#16 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d4340)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#17 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698c76c0, D=D@entry=0x2a5dec8, DC=@0x7ffd698c75c8: 0x7ffd698c75e0,
LexicalDC=@0x7ffd698c75d0: 0x16, Name=..., ToD=@0x7ffd698c75d8: 0x2b084f0, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#18 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c76c0, D=0x2a5dec8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#19 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x2a5dec8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#20 0x00007fd5bea50637 in clang::ASTNodeImporter::VisitRecordType (this=0x7ffd698c7750, T=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2050
#21 0x00007fd5bea52bf5 in clang::TypeVisitor<clang::ASTNodeImporter, clang::QualType>::Visit (this=this@entry=0x7ffd698c7750, T=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/include/clang/AST/TypeNodes.def:91
#22 0x00007fd5bea52e0f in clang::ASTImporter::Import (this=0x28c2fd0, FromT=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:6964
#23 0x00007fd5bea5f585 in clang::ASTNodeImporter::ImportDefinition (this=this@entry=0x7ffd698c79f0, From=From@entry=0x2b433b0, To=To@entry=0x2b3be70,
Kind=Kind@entry=clang::ASTNodeImporter::IDK_Default) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2386
---Type to continue, or q to quit---
#24 0x00007fd5bea66bea in clang::ASTNodeImporter::VisitRecordDecl (this=, D=0x2b433b0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3160
#25 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2b433b0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#26 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c7b80, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#27 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c7b80, D=0x28d2c20)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#28 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d2c20)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#29 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d2c48)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#30 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698c7dd0, D=D@entry=0x2b433b0, DC=@0x7ffd698c7cd8: 0x14,
LexicalDC=@0x7ffd698c7ce0: 0x7fd500000000, Name=..., ToD=
@0x7ffd698c7ce8: 0x7fd5bcad8d32 <clang::ASTReader::FindExternalLexicalDecls(clang::DeclContext const*, llvm::function_ref<bool (clang::Decl::Kind)>, llvm::SmallVectorImplclang::Decl*&)+290>, Loc=...) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#31 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c7dd0, D=0x2b433b0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#32 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x2b433b0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#33 0x00007fd5bea669d8 in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c7f90, D=0x2b36420)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3003
#34 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2b36420)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#35 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c8120, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#36 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c8120, D=0x28d6a88)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#37 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d6a88)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#38 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d6ab0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#39 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698c8370, D=D@entry=0x2ae4150, DC=@0x7ffd698c8278: 0x1a,
LexicalDC=@0x7ffd698c8280: 0x7fd500000000, Name=...,
ToD=@0x7ffd698c8288: 0x7fd5bcad8d32 <clang::ASTReader::FindExternalLexicalDecls(clang::DeclContext const*, llvm::function_ref<bool (clang::Decl::Kind)>, llvm::SmallVectorImplclang::Decl*&)+290>, Loc=...) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#40 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c8370, D=0x2ae4150)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#41 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x2ae4150)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#42 0x00007fd5bea669d8 in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c8530, D=0x2ae3fe0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3003
#43 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2ae3fe0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#44 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c86c0, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#45 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c86c0, D=0x28d6180)
---Type to continue, or q to quit---
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#46 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d6180)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#47 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d61a8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#48 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698c8910, D=D@entry=0x296a0e8, DC=@0x7ffd698c8818: 0x2b35b98,
LexicalDC=@0x7ffd698c8820: 0x2b35d18, Name=..., ToD=@0x7ffd698c8828: 0x7ffd698c88a0, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#49 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c8910, D=0x296a0e8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#50 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x296a0e8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#51 0x00007fd5bea669d8 in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c8ad0, D=0x2969ea8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3003
#52 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2969ea8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#53 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c8c60, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#54 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c8c60, D=0x28d1c98)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#55 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d1c98)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#56 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d1cc0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#57 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698c8eb0, D=D@entry=0x296d088, DC=@0x7ffd698c8db8: 0x6dfe76fc6d0a3e00,
LexicalDC=@0x7ffd698c8dc0: 0x2969a58, Name=..., ToD=@0x7ffd698c8dc8: 0x28f8da0, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#58 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c8eb0, D=0x296d088)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#59 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x296d088)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#60 0x00007fd5bea50637 in clang::ASTNodeImporter::VisitRecordType (this=0x7ffd698c8f40, T=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2050
#61 0x00007fd5bea52bf5 in clang::TypeVisitor<clang::ASTNodeImporter, clang::QualType>::Visit (this=this@entry=0x7ffd698c8f40, T=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/include/clang/AST/TypeNodes.def:91
#62 0x00007fd5bea52e0f in clang::ASTImporter::Import (this=0x28c2fd0, FromT=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:6964
#63 0x00007fd5bea5f585 in clang::ASTNodeImporter::ImportDefinition (this=this@entry=0x7ffd698c91e0, From=From@entry=0x2969880, To=To@entry=0x2b3bc60,
Kind=Kind@entry=clang::ASTNodeImporter::IDK_Default) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2386
#64 0x00007fd5bea66bea in clang::ASTNodeImporter::VisitRecordDecl (this=, D=0x2969880)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3160
#65 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2969880)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#66 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c9370, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#67 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c9370, D=0x28d2b98)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
---Type to continue, or q to quit---
#68 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d2b98)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#69 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d2bc0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#70 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698c95c0, D=D@entry=0x2969880, DC=@0x7ffd698c94c8: 0x1e67b80,
LexicalDC=@0x7ffd698c94d0: 0x1e67b80, Name=..., ToD=@0x7ffd698c94d8: 0x2b1ae80, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#71 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c95c0, D=0x2969880)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#72 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x2969880)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#73 0x00007fd5bea669d8 in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c9780, D=0x2969430)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3003
#74 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2969430)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#75 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c9910, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#76 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c9910, D=0x28d6758)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#77 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d6758)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#78 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d6780)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#79 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698c9b60, D=D@entry=0x2aa45c0,
DC=@0x7ffd698c9a68: 0x7fd5beab3287 <clang::DeclContext::lookup(clang::DeclarationName) const+439>, LexicalDC=@0x7ffd698c9a70: 0x1c8dd48, Name=...,
ToD=@0x7ffd698c9a78: 0x7fd5c3b100b1 llvm::StringMapImpl::LookupBucketFor(llvm::StringRef)+321, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#80 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c9b60, D=0x2aa45c0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#81 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x2aa45c0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#82 0x00007fd5bea669d8 in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698c9d20, D=0x2aa46e0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3003
#83 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x2aa46e0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#84 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698c9eb0, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#85 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698c9eb0, D=0x28d67e0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#86 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d67e0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#87 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d6808)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#88 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698ca100, D=D@entry=0x29ed2f0, DC=@0x7ffd698ca008: 0x1e67b80,
LexicalDC=@0x7ffd698ca010: 0x1e67b80, Name=..., ToD=@0x7ffd698ca018: 0x1bffaf0, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#89 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698ca100, D=0x29ed2f0)
---Type to continue, or q to quit---
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#90 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=0x29ed2f0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#91 0x00007fd5bea669d8 in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698ca2c0, D=0x29ed238)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3003
#92 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=0x28c2fd0, FromD=FromD@entry=0x29ed238)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#93 0x00007fd5bea5e7ac in clang::ASTNodeImporter::ImportDeclContext (this=0x7ffd698ca450, FromDC=, ForceImport=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2304
#94 0x00007fd5bea605c1 in clang::ASTNodeImporter::VisitNamespaceDecl (this=0x7ffd698ca450, D=0x28d60f8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2796
#95 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x28d60f8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#96 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x28d6120)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#97 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698ca6a0, D=D@entry=0x296d4c8, DC=@0x7ffd698ca5a8: 0x7ffd698ca760,
LexicalDC=@0x7ffd698ca5b0: 0x2aea518, Name=..., ToD=@0x7ffd698ca5b8: 0x7ffd698ca820, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211
#98 0x00007fd5bea66a5d in clang::ASTNodeImporter::VisitRecordDecl (this=0x7ffd698ca6a0, D=0x296d4c8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3015
#99 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x296d4c8)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#100 0x00007fd5bea5e59c in clang::ASTImporter::ImportContext (this=0x28c2fd0, FromDC=0x296d500)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7050
#101 0x00007fd5bea5fc77 in clang::ASTNodeImporter::ImportDeclParts (this=this@entry=0x7ffd698ca950, D=D@entry=0x2aea518, DC=@0x7ffd698ca7e8: 0x7ffd698caa50,

LexicalDC=@0x7ffd698ca7f0: 0x7ffd698ca818, Name=..., ToD=
@0x7ffd698ca7f8: 0x7fd5be9ee21a <iterateContextDecls(clang::DeclContext const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unique_ptr<clang::MangleContext, std::default_delete<clang::MangleContext> >&)+250>, Loc=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:2211

#102 0x00007fd5bea4edfe in clang::ASTNodeImporter::VisitFunctionDecl (this=0x7ffd698ca950, D=0x2aea518)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:3232
#103 0x00007fd5bea4ffba in clang::ASTImporter::Import (this=this@entry=0x28c2fd0, FromD=0x2aea518)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTImporter.cpp:7014
#104 0x00007fd5bea03fea in clang::ASTContext::getXTUDefinition(clang::FunctionDecl const*, clang::CompilerInstance&, llvm::StringRef, clang::DiagnosticsEngine&, std::function<clang::ASTUnit* (llvm::StringRef)>) (this=0x1770940, FD=FD@entry=0x1c8bec8, CI=..., XTUDir=..., Diags=..., Loader=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/AST/ASTContext.cpp:1555
#105 0x00007fd5bb14e19c in clang::ento::AnyFunctionCall::getRuntimeDefinition (this=this@entry=0x24b6e08)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:397
#106 0x00007fd5bb14fefc in clang::ento::CXXInstanceCall::getRuntimeDefinition (this=0x24b6e08)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:533
#107 0x00007fd5bb14ff8f in clang::ento::CXXDestructorCall::getRuntimeDefinition (this=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:724
#108 0x00007fd5bb1b7313 in clang::ento::ExprEngine::defaultEvalCall (this=this@entry=0x7ffd698cb540, Bldr=..., Pred=0x2818280, CallTemplate=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:912
#109 0x00007fd5bb1a7981 in clang::ento::ExprEngine::VisitCXXDestructor (this=this@entry=0x7ffd698cb540, ObjectType=..., Dest=, Dest@entry=0x2817d78,
S=S@entry=0x27e2940, IsBaseDtor=IsBaseDtor@entry=false, Pred=Pred@entry=0x2817f70, Dst=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:417
---Type to continue, or q to quit---
#110 0x00007fd5bb18b022 in clang::ento::ExprEngine::ProcessDeleteDtor (this=this@entry=0x7ffd698cb540, Dtor=..., Pred=0x2817f70, Dst=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:696
#111 0x00007fd5bb1980d0 in clang::ento::ExprEngine::ProcessImplicitDtor (this=this@entry=0x7ffd698cb540, D=..., Pred=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:622
#112 0x00007fd5bb19ab26 in clang::ento::ExprEngine::processCFGElement (this=0x7ffd698cb540, E=..., Pred=0x2817f70, StmtIdx=13, Ctx=0x7ffd698cb2c0)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:371
#113 0x00007fd5bb16429e in clang::ento::CoreEngine::HandlePostStmt (this=this@entry=0x7ffd698cb560, B=, StmtIdx=,
Pred=Pred@entry=0x2817f70) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:530
#114 0x00007fd5bb164484 in clang::ento::CoreEngine::dispatchWorkItem (this=this@entry=0x7ffd698cb560, Pred=0x2817f70, Loc=..., WU=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:278
#115 0x00007fd5bb164fcd in clang::ento::CoreEngine::ExecuteWorkList (this=this@entry=0x7ffd698cb560, L=, Steps=149949, Steps@entry=150000,
InitState=...) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:235
#116 0x00007fd5bc216a6c in clang::ento::ExprEngine::ExecuteWorkList (Steps=150000, L=, this=0x7ffd698cb540)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:110
#117 (anonymous namespace)::AnalysisConsumer::ActionExprEngine (this=this@entry=0x177ec30, D=D@entry=0x1d43600, ObjCGCEnabled=,
IMode=IMode@entry=clang::ento::ExprEngine::Inline_Regular, VisitedCallees=VisitedCallees@entry=0x7ffd698cc150)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:825
#118 0x00007fd5bc2174c9 in (anonymous namespace)::AnalysisConsumer::ActionExprEngine (this=this@entry=0x177ec30, D=D@entry=0x1d43600,
ObjCGCEnabled=ObjCGCEnabled@entry=false, IMode=IMode@entry=clang::ento::ExprEngine::Inline_Regular, VisitedCallees=VisitedCallees@entry=0x7ffd698cc150)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:853
#119 0x00007fd5bc217938 in (anonymous namespace)::AnalysisConsumer::RunPathSensitiveChecks (Visited=0x7ffd698cc150, IMode=clang::ento::ExprEngine::Inline_Regular,
D=0x1d43600, this=0x177ec30) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:861
#120 (anonymous namespace)::AnalysisConsumer::HandleCode (this=this@entry=0x177ec30, D=D@entry=0x1d43600, Mode=, Mode@entry=2,
IMode=clang::ento::ExprEngine::Inline_Regular, VisitedCallees=VisitedCallees@entry=0x7ffd698cc150)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:791
#121 0x00007fd5bc221563 in (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph (this=this@entry=0x177ec30, LocalTUDeclsSize=LocalTUDeclsSize@entry=567)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:572
#122 0x00007fd5bc223442 in (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit (this=0x177ec30, C=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:654
#123 0x00007fd5bd601ca8 in clang::ParseAST (S=..., PrintStats=, SkipFunctionBodies=)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/Parse/ParseAST.cpp:159
#124 0x00007fd5c24b0f9e in clang::FrontendAction::Execute (this=this@entry=0x1764700)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/Frontend/FrontendAction.cpp:468
#125 0x00007fd5c2479226 in clang::CompilerInstance::ExecuteAction (this=this@entry=0x175eb10, Act=...)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp:950
#126 0x00007fd5c21fe5e2 in clang::ExecuteCompilerInvocation (Clang=Clang@entry=0x175eb10)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:249
#127 0x000000000040ee98 in cc1_main (Argv=..., Argv0=, MainAddr=MainAddr@entry=0x40d380 <GetExecutablePath[abi:cxx11](char const*, bool)>)
at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/tools/driver/cc1_main.cpp:221
#128 0x000000000040b95f in ExecuteCC1Tool (Tool=..., argv=...) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/tools/driver/driver.cpp:299
#129 main (argc_=, argv_=) at /mnt/storage/xtu_service/clang_build/llvm/tools/clang/tools/driver/driver.cpp:380

@dkrupp dkrupp added the bug label Mar 23, 2017
@dkrupp dkrupp added this to the April 4 milestone Mar 24, 2017
@dkrupp dkrupp modified the milestones: apr11, April 4, apr18 Apr 6, 2017
@dkrupp dkrupp modified the milestones: apr18, may-9 May 2, 2017
@dkrupp
Copy link
Member Author

dkrupp commented May 9, 2017

map this to ctu-master after rebase
https://reviews.llvm.org/D32947

@dkrupp dkrupp modified the milestones: may-9, may 16, may23 May 9, 2017
@dkrupp dkrupp modified the milestones: may23, may30, june6 May 23, 2017
@dkrupp dkrupp modified the milestones: june6, jun13 Jun 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants