Created attachment 155390 [details] File that causes the freeze Everything KDE from git master. File that causes the freeze is attached. This is 100% reproducible with both apps. Gedit manages to open the file without freezing, but does complain about invalid encodings. Perhaps a clue.
Can confirm here as well.
Patience guys - it only takes 12 minutes to un-freeze 😉 During the freeze it is using a constant 50% load of my two-CPU system.
It opens instantly (no freeze) on Kate version 22.12.1
This seems to be due to the recently added Log file syntax file. https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/415
Git commit 5017c69a44ea29d6594d3b022f127a4b86be4950 by Christoph Cullmann, on behalf of jonathan poelen. Committed on 22/01/2023 at 16:19. Pushed by cullmann into branch 'master'. Log: fix slow search regex ; add Critical section ; some improvement in Log File (advanced) M +1 -1 autotests/folding/highlight.log-advanced.fold M +11 -11 autotests/html/highlight.log-advanced.dark.html M +11 -11 autotests/html/highlight.log-advanced.html M +1 -1 autotests/input/highlight.log-advanced M +11 -11 autotests/reference/highlight.log-advanced.ref M +207 -40 data/syntax/logfile-advanced.xml M +11 -6 data/syntax/logfile.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/5017c69a44ea29d6594d3b022f127a4b86be4950
Git commit 71c5ea39ee8dac88f74650467b45933be7baa294 by Christoph Cullmann, on behalf of jonathan poelen. Committed on 22/01/2023 at 19:34. Pushed by cullmann into branch 'kf5'. Log: fix slow search regex ; add Critical section ; some improvement in Log File (advanced) (cherry picked from commit 5017c69a44ea29d6594d3b022f127a4b86be4950) M +1 -1 autotests/folding/highlight.log-advanced.fold M +11 -11 autotests/html/highlight.log-advanced.dark.html M +11 -11 autotests/html/highlight.log-advanced.html M +1 -1 autotests/input/highlight.log-advanced M +11 -11 autotests/reference/highlight.log-advanced.ref M +207 -40 data/syntax/logfile-advanced.xml M +11 -6 data/syntax/logfile.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/71c5ea39ee8dac88f74650467b45933be7baa294
All better now. Thanks so much!