Created attachment 114171 [details] Minimal example to reproduce the crash When a function name is parenthesized in its declaration, it can’t be used in autocompletion. To reproduce, open the attached file, press Ctrl+Space inside the `main` function, select `fn1` (not “implement fn1”), press Enter. On my system, it crashes with SEGV reliably. Personally, I consider such declarations weird, but they are valid C, and used extensively in Lua. Possibly related: #388971, #396196
It doesn't crash here, but it doesn't work either (the item does not execute).
Discovered that it depends on completion type. If I choose “simple” (marked with {}) autocompletion, it doesn’t crash. But if I choose “function” (marked with a purple rect) one, it does crash. @Sven Brauch that may depend on installed libraries, despite AppImage expected to be self-contained. I have Parabola GNU/Linux, that’s almost Arch Linux.
Works for me with kdevelop built from master, OS: Antergos. Executing `fn1`, it completes to `fn1(|)` as expected.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!