| Summary: | Search large open file for reg ex 'error|' freezes xorg | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Malcolm Boura <malcolm> |
| Component: | search | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | kare.sars |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kate/d7acc4ceeeeb0603eefc208a5420ec4036384204 | Version Fixed/Implemented In: | 15.12.2 |
| Sentry Crash Report: | |||
|
Description
Malcolm Boura
2016-02-02 12:07:34 UTC
It is not dependent on file size. Same freeze with a three line file. I can reproduce this. The problem is the empty regexp after | matches also no character and the search continues the search on the line without going forward and thus getting into an eternal loop. A workaround for the moment is to add the | after the rest of the regexp is entered. Git commit 9b3f722ba514097aa4166c04f7a7167209c81584 by Kåre Särs. Committed on 02/02/2016 at 16:38. Pushed by sars into branch 'Applications/15.12'. S&R: Fix eternal loop on unexpected regular expression. FIXED-IN: 15.12.2 M +2 -3 addons/search/SearchDiskFiles.cpp M +2 -2 addons/search/search_open_files.cpp http://commits.kde.org/kate/9b3f722ba514097aa4166c04f7a7167209c81584 Git commit d7acc4ceeeeb0603eefc208a5420ec4036384204 by Kåre Särs. Committed on 02/02/2016 at 16:41. Pushed by sars into branch 'master'. S&R: Fix eternal loop on unexpected regular expression. FIXED-IN: 15.12.2 M +2 -3 addons/search/SearchDiskFiles.cpp M +2 -2 addons/search/search_open_files.cpp http://commits.kde.org/kate/d7acc4ceeeeb0603eefc208a5420ec4036384204 |