Bug 463401

Summary: kdevelop crash when parsing the attached project.
Product: [Applications] kdevelop Reporter: Alexander Puchmayr <alexander.puchmayr>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: crash CC: alexander.puchmayr
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: strack trace (kcrash) created with dr-konqi
Project that causes the crash

Description Alexander Puchmayr 2022-12-23 16:59:15 UTC
Created attachment 154785 [details]
strack trace (kcrash) created with dr-konqi

SUMMARY

KDevelop segfaults when trying to background-parse the project. Seems to be a clang++ issue, but kdevelop gets the segfault. 
See also https://github.com/llvm/llvm-project/issues/59656

STEPS TO REPRODUCE
1. Extract attached crashing_project.tar.gz, open the kdev file with kdevelop 
2. open the files 

OBSERVED RESULT
Kdevelop has stopped unexpectedly (dr-konqi)

EXPECTED RESULT
No crash


SOFTWARE/OS VERSIONS
Windows: N/A
macOS:  N/A
Linux/KDE Plasma: gentoo 
(available in About System)
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
* tried with dev-util/kdevelop-22.08.3 and dev-util/kdevelop-22.12.0
* tried with clang/llvm-14.0 and clang/llvm-15
* stack trace attached is created with kdevelop-22.12.0
* test project attached with sources for reproducability
Comment 1 Alexander Puchmayr 2022-12-23 17:00:42 UTC
Created attachment 154786 [details]
Project that causes the crash