https://bugs.kde.org/show_bug.cgi?id=358915

            Bug ID: 358915
           Summary: Search large open file for reg ex 'error|' freezes
                    xorg
           Product: kate
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: search
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: malc...@boura.org

Arch Linux Kate version
Version 15.12.1
Using:
KDE Frameworks 5.18.0
Qt 5.5.1 (built against 5.5.1)
The xcb windowing system

KDE Plasma Version 5.5.4
Kernel Version 4.4.4-3-ARCH
64 bit
CPU 4@3.4G
Memory 7.7GiB

Using search plugin, open files, regular expression, case insensitive
Two files open: One small file with excerpts from a large one 134K, 1300 lines.

Entering expression 'error|warning|failed'
Got as far as the first | and the desktop froze.
Xorg CPU at 100%
Had not recovered after a coffee trip, probably 10 minutes or so. Killing Kate
did recover the desktop.

Second run: I started with search in folder plain text. Then switched into open
file, regular expression and it worked.

Third: I then deleted the string back to 'error', typed '|' and it froze again.

My guess is that 'error|' resulted in an attempt to build a found list
containing 1300 or so items which gave the UI more than it could handle in a
sensible time.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to