Bug 410946 - Full Crash when Parsing std::apply by the background parser
Summary: Full Crash when Parsing std::apply by the background parser
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: All build tools (other bugs)
Version First Reported In: 5.3.1
Platform: Debian stable Linux
: NOR critical
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-15 16:01 UTC by dayspam
Modified: 2023-04-07 07:43 UTC (History)
1 user (show)

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


Attachments
KDevelop Crash Report and the code snippet (99.21 KB, text/plain)
2019-08-15 16:01 UTC, dayspam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dayspam 2019-08-15 16:01:08 UTC
Created attachment 122143 [details]
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.
Comment 1 Gleb Popov 2022-09-30 06:05:06 UTC
Can't reproduce with KDevelop 22.08.1

Can you verify?