[kde] [Bug 477320] New: Very high CPU and memory consumption, no activity

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Nov 21 09:54:08 GMT 2023


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

            Bug ID: 477320
           Summary: Very high CPU and memory consumption, no activity
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: pierreballif.pb+kde at gmail.com
  Target Milestone: ---

Created attachment 163338
  --> https://bugs.kde.org/attachment.cgi?id=163338&action=edit
A Valgrind trace of the program execution.

SUMMARY
Many KDE applications exhibit the following behavior. They do not display a
window, nor write anything to the console, but they use 100% of one CPU and
their memory consumption increases enormously (1 more GB every 5-10 seconds)
until the OS runs out of RAM and freezes.

STEPS TO REPRODUCE
Run `dolphin` in a terminal, and `htop` in another terminal. (Other
applications than dolphin have a similar behaviour).

OBSERVED RESULT
Nothing is displayed in the terminal and no window appears. The process
`dolphin` is reported by `htop` to consume around 100% CPU and to increase its
memory consumption by 1 GB every 5-10 seconds, until the process is interrupted
or the system runs out of memory.

EXPECTED RESULT
The applications start a graphical window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.15.138-1-MANJARO #1 SMP PREEMPT
(available in About System)
KDE Plasma Version: plasmashell 5.27.9
KDE Frameworks Version: 5.112.0-1; dolphin 23.08.3
Qt Version: Qt 5.15.11

ADDITIONAL INFORMATION
I encountered this problem with the following applications: Kate, Dolphin,
System settings, and starting a Plasma session (since Plasma doesn't work, I
use the i3 WM for the other applications). Konsole and KDE Connect work fine;
Okular also works fine as long as I don't open the "Open File" or "Print to
File" menus. Sometimes, `/usr/lib/kactivitiesmanagerd` starts and exhibits the
same behaviour. I suspect this is linked to the kactivities framework, but I'm
not sure.
I also tried running `dolphin` in `valgrind` (`valgrind --leak-check=yes
dolphin 2>&1 | tee dolphin.log`). The log is attached.

THINGS I TRIED
- reinstalling applications (`pamac reinstall kcoreaddons kconfig5 kactivities5
kactivities-stats5 dolphin kate okular`)
- removing `~/.local/share/kactivitiesmanagerd` and `~/.config/KDE*`

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list