https://bugs.kde.org/show_bug.cgi?id=385768

--- Comment #4 from Kevin Funk <kf...@kde.org> ---
Can reproduce. Offending file is NeptuneException.cpp in digikam.git.

Test run which crashes:
/kdevelop/kdevplatform/util/duchainify/duchainify
/home/kfunk/devel/src/kf5/digikam/utilities/mediaserver/upnpsdk/Platinum/Source/Extras/Managed/NeptuneException.cpp

Backtrace with a LLVM debug build (LLVM 5.0 branch):
#0  0x00007fffc52a8f5b in clang::Decl::setInvalidDecl (this=0x0, Invalid=true)
at /home/kfunk/devel/src/llvm/tools/clang/lib/AST/DeclBase.cpp:112
#1  0x00007fffc52a8fad in clang::Decl::setInvalidDecl (this=<optimized out>,
Invalid=<optimized out>) at
/home/kfunk/devel/src/llvm/tools/clang/lib/AST/DeclBase.cpp:129
#2  0x00007fffbb7020aa in clang::ASTDeclReader::VisitDecl (this=0x7fffaa7fb0b0,
D=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:537
#3  0x00007fffbb703da6 in clang::ASTDeclReader::VisitNamedDecl
(this=0x7fffaa7fb0b0, ND=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:609
#4  clang::ASTDeclReader::VisitValueDecl (this=0x7fffaa7fb0b0,
VD=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:746
#5  clang::ASTDeclReader::VisitDeclaratorDecl (this=0x7fffaa7fb0b0,
DD=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:759
#6  0x00007fffbb70863b in clang::ASTDeclReader::VisitVarDeclImpl
(this=0x7fffaa7fb0b0, VD=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:1260
#7  0x00007fffbb701db5 in clang::ASTDeclReader::VisitVarDecl
(this=0x7fffaa7fb0b0, VD=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:333
#8  clang::ASTDeclReader::VisitDecompositionDecl (this=0x7fffaa7fb0b0,
DD=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:1352
#9  clang::declvisitor::Base<clang::declvisitor::make_ptr,
clang::ASTDeclReader, void>::Visit (this=0x7fffaa7fb0b0, D=0x7fff94029eb8) at
tools/clang/include/clang/AST/DeclNodes.inc:445
#10 0x00007fffbb701332 in clang::ASTDeclReader::Visit (this=0x7fffaa7fb0b0,
D=0x7fff94029eb8) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:468
#11 0x00007fffbb7276e1 in clang::ASTReader::ReadDeclRecord
(this=0x7fff9406b030, ID=19) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:3623
#12 0x00007fffbb6c5d7d in clang::ASTReader::GetDecl (this=0x7fff9406b030,
ID=19) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReader.cpp:7102
#13 0x00007fffbb727ccb in clang::ASTReader::PassInterestingDeclsToConsumer
(this=0x7fff9406b030) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp:3674
#14 0x00007fffbb6dbefc in non-virtual thunk to
clang::ASTReader::StartTranslationUnit(clang::ASTConsumer*) () at
/home/kfunk/devel/src/llvm/tools/clang/lib/Serialization/ASTReader.cpp:7356
#15 0x00007fffbb821328 in clang::ParseAST (S=..., PrintStats=<optimized out>,
SkipFunctionBodies=<optimized out>) at
/home/kfunk/devel/src/llvm/tools/clang/lib/Parse/ParseAST.cpp:144

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to