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

--- Comment #5 from Fredrik Haikarainen <fredrik.haikarai...@gmail.com> ---
Created attachment 115046
  --> https://bugs.kde.org/attachment.cgi?id=115046&action=edit
New crash information added by DrKonqi

kdevelop (5.2.4) using Qt 5.11.1

- What I was doing when the application crashed:
After having issues with the parser not working correctly, I attempted to clear
the cache and restart KDevelop. Reparsing of the project then commenced, and
after a while it crashes. Sometimes instantly, sometimes after some parsing
progress. Happens 7/7 times.

- Unusual behavior I noticed:
Before this happened, KDevelop crashed once or twice. Clearing the cache did
the trick then, but it no longer works.  Also, the parser has been working very
badly. It doesn't recognize most header files, even though include paths are
set for the project.  It also misidentifies some classes as being part of the
"std::"-namespace for the headers that are recognized. So if I for example
declare `class Foo` in Foo.hpp, then I will get parser errors on usages of this
class that suggest that I change them to std::Foo instead, (message says: did
you mean std::Foo? Solutions: include Foo.hpp)

- Custom settings of the application:
Session has 3 projects. All are configured with regular makefiles, and uses gcc
with the C++17 standard for compilation. The parser uses clang with the
-std=c++17 flag. One of the projects also uses libclang as a dependency for
static code generation.
All KDE applications are installed via official Arch Linux repository.

-- Backtrace (Reduced):
#6  0x00007fea5f993450 in clang::Decl::setInvalidDecl(bool) () at
/usr/lib/../lib/libclangAST.so.6
#7  0x00007fea5f99349c in clang::Decl::setInvalidDecl(bool) () at
/usr/lib/../lib/libclangAST.so.6
#8  0x00007fea58dddbc8 in clang::ASTDeclReader::VisitDecl(clang::Decl*) () at
/usr/lib/../lib/../lib/libclangSerialization.so.6
#9  0x00007fea58dde482 in
clang::ASTDeclReader::VisitNamedDecl(clang::NamedDecl*) () at
/usr/lib/../lib/../lib/libclangSerialization.so.6
#10 0x00007fea58dde982 in
clang::ASTDeclReader::VisitValueDecl(clang::ValueDecl*) () at
/usr/lib/../lib/../lib/libclangSerialization.so.6

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

Reply via email to