Bug 502827

Summary: Kdevelop crash on typing "#include <".
Product: [Applications] kdevelop Reporter: David Murray <dave>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: igorkuo
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/163374/events/7b6b238d52a0491ebfa1e67c709bd907/
Attachments: New crash information added by DrKonqi

Description David Murray 2025-04-15 10:19:59 UTC
Application: kdevelop (6.1.241203 (24.12.3))

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.12.0
Operating System: Linux 6.13.8-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
Kdevelop often crashes on typing the open < bracket in a #include.

We've had this problem some time ago, but it went away with an update.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  llvm::function_ref<bool(clang::Decl::Kind)>::operator() () at /usr/include/llvm/ADT/STLFunctionalExtras.h:68
#6  operator() () at /usr/src/debug/clang/clang-19.1.7.src/lib/Serialization/ASTReader.cpp:7929
#7  clang::ASTReader::FindExternalLexicalDecls () at /usr/src/debug/clang/clang-19.1.7.src/lib/Serialization/ASTReader.cpp:7957
#8  0x000072bf66185716 in clang::ExternalASTSource::FindExternalLexicalDecls () at /usr/src/debug/clang/clang-19.1.7.src/include/clang/AST/ExternalASTSource.h:187
#9  clang::DeclContext::LoadLexicalDeclsFromExternalStorage () at /usr/src/debug/clang/clang-19.1.7.src/lib/AST/DeclBase.cpp:1564


Reported using DrKonqi
Comment 1 David Murray 2025-04-15 10:20:00 UTC
Created attachment 180282 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Igor Kushnir 2025-04-16 06:13:24 UTC

*** This bug has been marked as a duplicate of bug 486932 ***