https://bugs.kde.org/show_bug.cgi?id=410946
Bug ID: 410946
Summary: Full Crash when Parsing std::apply by the background
parser
Product: kdevelop
Version: 5.3.1
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: critical
Priority: NOR
Component: All build tools
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 122143
--> https://bugs.kde.org/attachment.cgi?id=122143&action=edit
KDevelop Crash Report and the code snippet
SUMMARY
I was doing some refactoring, shifting towards compile time routines.
it started crashing when i entered this line:
std::apply([](auto&&... arg) {((Textures[frameID] =
textureInterface.GetElement(arg)), ...);}, t);
the parser started in the background, and in the process, it killed the whole
IDE.
STEPS TO REPRODUCE
1. Create a CMake C++17 Project
2. Paste the code included in the crash report
3. Wait for the background parser
OBSERVED RESULT
Crash
EXPECTED RESULT
No Crash
Application: kdevelop (5.3.1)
Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-5-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)
The crash can be reproduced every time.
--
You are receiving this mail because:
You are watching all bug changes.