Created attachment 108503 [details] Two files known to cause the problem I've been writing C code using Kate. Adding newlines to the end of certain longer files always causes Kate to crash. Attached are: C source code files which produce the problem Logs from both of the C files crashing Kate swap files left over from the crashes
Created attachment 108504 [details] Two files known to cause the problem
Please add the backtrace for the crash. For more information, please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
This is a regression in the indentation in the KTextEditor framework 5.38 and 5.39. This regression was introduced since we switched from the Qt Script to the Qt QML javascript implementation. Unfortunately, the Qt QML implementation still had issues which we did not catch early enough. The good news is that if you upgrade your Qt version to Qt >= 5.9.1, then this crash is fixed. A workaround will also be available with KDE Frameworks 5.40 which should prevent the crash. Sorry for the inconvenience! *** This bug has been marked as a duplicate of bug 384404 ***