Kate does not crash, it just freezes for a dozen seconds or so. Viewing my system monitor a "ctags" process appears during the freeze and uses a lot of CPU. Then after the freeze it resumes as normal and the "ctags" process disappears. STEPS TO REPRODUCE 1. Git clone a large C code base like the linux kernel 2. Save a session which involves being inside of the large project 3. Switch out the the session with "new session" or switch to another session within the "recent sessions" menu 4. Observe long freeze Note it only seems to happen when switching out of the session, not when loading it in. OBSERVED RESULT A dozen second GUI freeze in Kate with the application turning grey for a bit EXPECTED RESULT No GUI freeze or at least some kind of loading bar to indicate something is happening. SOFTWARE/OS VERSIONS KDE Plasma Version: 6.0.3 and Kate version 24.02.1
Known issue. An easier way to reproduce is to enable ctags support in project plugin, start Kate in a large project and then close it immediately. The shutdown of kate will take a long time.
To fix this, we need to make the ctags process cancelable
Would be a nice enhancement for any part of the project worker stuff. Patches welcome.