Bug 463401 - kdevelop crash when parsing the attached project.
Summary: kdevelop crash when parsing the attached project.
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-23 16:59 UTC by Alexander Puchmayr
Modified: 2022-12-23 17:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
strack trace (kcrash) created with dr-konqi (11.64 KB, text/vnd.kde.kcrash-report)
2022-12-23 16:59 UTC, Alexander Puchmayr
Details
Project that causes the crash (959 bytes, application/gzip)
2022-12-23 17:00 UTC, Alexander Puchmayr
Details

Note You need to log in before you can comment on or make changes to this bug.
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