Bug 421343

Summary: kdevelop crashed while reloading the project view after a source file has been renamed externally.
Product: [Applications] kdevelop Reporter: Jan-Matthias Braun <jan_braun>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED UPSTREAM    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 5.5.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jan-Matthias Braun 2020-05-11 15:48:31 UTC
Application: kdevelop (5.5.1)

Qt Version: 5.15.0
Frameworks Version: 5.70.0
Operating System: Linux 5.6.11 x86_64
Windowing system: X11
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
- What I was doing when the application crashed:
I externally renamed a source file, updated CMakeLists.txt and then updated the project view.
The file chanced its name. I believe I have tried to open the file when kdevelop crashed.

-- Backtrace (Reduced):
#5  0x00007f25629f3546 in isSameEntity(clang::NamedDecl*, clang::NamedDecl*) () at /usr/lib/llvm/10/lib64/libclang.so.10
#6  0x00007f2562a1ff80 in clang::ASTDeclReader::findExisting(clang::NamedDecl*) () at /usr/lib/llvm/10/lib64/libclang.so.10
#7  0x00007f2562a28010 in void clang::ASTDeclReader::mergeRedeclarable<clang::RedeclarableTemplateDecl>(clang::Redeclarable<clang::RedeclarableTemplateDecl>*, clang::ASTDeclReader::RedeclarableResult&, unsigned int) () at /usr/lib/llvm/10/lib64/libclang.so.10
#8  0x00007f2562a2810c in clang::ASTDeclReader::VisitRedeclarableTemplateDecl(clang::RedeclarableTemplateDecl*) () at /usr/lib/llvm/10/lib64/libclang.so.10
#9  0x00007f2562a28f7f in clang::ASTDeclReader::VisitFunctionTemplateDecl(clang::FunctionTemplateDecl*) () at /usr/lib/llvm/10/lib64/libclang.so.10


Possible duplicates by query: bug 420998, bug 420516, bug 420134, bug 419831, bug 419798.

Reported using DrKonqi
Comment 1 Jan-Matthias Braun 2020-05-11 15:48:33 UTC
Created attachment 128363 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Milian Wolff 2020-05-14 11:09:49 UTC
I believe this is a bug within clang, as the crash points only to libclang - I doubt it's related to the fact that you reloaded something in the project view? Or can you reliably make it crash then? If so, can you attach a project to reproduce this with the exact steps required to trigger this issue?