| Summary: | Kate and KWrite freeze when opening this one file | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Nate Graham <nate> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | jonathan.poelen, justin.zobel, miranda, p.r.worrall, walter.von.entferndt, waqar.17a |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/commit/71c5ea39ee8dac88f74650467b45933be7baa294 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | File that causes the freeze | ||
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! |
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.