Bug 491807

Summary: KDevelop crashes on minor code refactor.
Product: [Applications] kdevelop Reporter: Kott <kv>
Component: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/58559/events/ad87eb206f3f4ab3810ab346b9a43a30/
Attachments: New crash information added by DrKonqi

Description Kott 2024-08-17 08:10:55 UTC
Application: kdevelop (5.14.240502 (24.05.2))

Qt Version: 6.7.2
Frameworks Version: 6.5.0
Operating System: Linux 6.10.4-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 6.1.4 [CoredumpBackend]

-- Information about the crash:
I changed a couple of members in the Class1 from private to public.
Then I switched to the tab with Class0 and started to update the usage of class1.
Seems that KDevelop tried to update the suggestions then crashed.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#4  0x00007f09426bc670 in ??? () at /lib64/libclang-cpp.so.18.1
#5  0x00007f09426bc51c in clang::ASTReader::get(llvm::StringRef) () at /lib64/libclang-cpp.so.18.1
#6  0x00007f0940511447 in ??? () at /lib64/libclang-cpp.so.18.1
#7  0x00007f0940685982 in clang::Preprocessor::LookUpIdentifierInfo(clang::Token&) const () at /lib64/libclang-cpp.so.18.1
#8  0x00007f0974120644 in ??? () at /lib64/libclang.so.13


Reported using DrKonqi
Comment 1 Kott 2024-08-17 08:10:57 UTC
Created attachment 172684 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.