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

            Bug ID: 465345
           Summary: Kate Freezes when I go into 'vi-mode' and then do a
                    search and type in the Dollar sign:  $
    Classification: Applications
           Product: kate
           Version: 21.12.3
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Vi Input Mode
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: zpari...@gmail.com
  Target Milestone: ---

SUMMARY
Kate Freezes when I go into 'vi-mode' and then do a search and type in the
Dollar sign:  $


STEPS TO REPRODUCE
1.  Open a text file in 'kate'
2.  Change the Input Modes to 'vi-mode'
Click 'Edit' --> 'Input Modes' --> 'vi-mode'

(this allows kate to act like a vim editor - this is where the bug is)

3.  Make sure you are not in Insert mode 
(you can press 'esc' to ensure you are not in Insert mode)

4.  Do a search using the vim shortcut '/'

5.  Now immediately type the dollar sign: '$'

At this point, the kate editor freezes and starts leaking memory like a mofo!!!


(alternatively you could also click 'Edit --> Find' or 'Ctrl + F' while in
'vi-mode' and it does the same thing)



OBSERVED RESULT
a. Kate freezes
b. When i run 'top' I see the Memory being used by Kate increasing very rapidly


EXPECTED RESULT
a. Kate should be able to search for the '$' string


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Kubuntu 22.04.1 LTS
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.3

KATE Version: 21.12.3

ADDITIONAL INFORMATION
Linux Kernel 5.15.0-58-generic

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

Reply via email to