Could this be related to https://bugs.kde.org/show_bug.cgi?id=352627 ? I run into this bug with kate 4:15.08.1-1, and upgrading kate5-data to 4:15.08.2-1 didn't solve the issue. Disabling "Autoload repositories" in Kate settings helped to stop Kate crashing when opening a file, inside a git repository, from Dolphin or from Kate itself, but it didn't help when opening a file (even outside a git repository) from a shell while the current directory of the shell is a git repository.
- Bug#801781: kate: Error in `kate': free(): invalid poin... Salvo Tomaselli
- Bug#801781: kate: Error in `kate': free(): invalid... Ignacio R. Morelle
- Bug#801781: kate: Error in `kate': free(): invalid... Luca Ghio