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

            Bug ID: 510597
           Summary: Memory leak when using calculator with disabled numpad
    Classification: Plasma
           Product: krunner
      Version First 6.4.5
       Reported In:
          Platform: EndeavourOS
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: calculator
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 185763
  --> https://bugs.kde.org/attachment.cgi?id=185763&action=edit
Backtrace (hopefully)

SUMMARY
I tried to calculate 6*34 using krunner and I noticed it hung. I noticed it was
using multiple gigabytes of RAM and I had to kill the process. I later noticed
the numpad was disabled. 

STEPS TO REPRODUCE
1.   Open krunner using Alt+F2 
2.   Enter 6*34 with numpad disabled (so I basically entered  "cursor right *
page down,cursor left")
2.5 I tried "cursor right * page down,cursor left" on the normal keyboard and
it exhibits the same behaviour
3.   Possible memory leak occurs

OBSERVED RESULT
krunner hangs and its memory usages increases constantly. I usually kill it
when it reaches 25 GB after a minute or so.

EXPECTED RESULT
No memory leak. When I enable the numpad the calculations are performed
normally.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 128 GiB of RAM (125.7 GiB usable)
Graphics Processor: AMD Radeon RX 7900 XTX


ADDITIONAL INFORMATION
gdb output attached (if that helps. Spoiler alert, I'm not a programmer).

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

Reply via email to