Bug 436849 - Dolphin leaks resources via leftover processes
Summary: Dolphin leaks resources via leftover processes
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-10 04:23 UTC by Zoltan Puskas
Modified: 2021-05-23 23:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
System Activity screenshot (116.40 KB, image/png)
2021-05-10 04:28 UTC, Zoltan Puskas
Details
ps aux output (12.34 KB, text/plain)
2021-05-10 04:35 UTC, Zoltan Puskas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Puskas 2021-05-10 04:23:11 UTC
SUMMARY

Closing Dolphin window will not terminate the process or it's relevant file.so and trash.so. Opening a new Dolphin instance will launch a new process and friends. With time these processes accumulate depleting resources, mainly RAM.


STEPS TO REPRODUCE
1. Open Dolphin
2. Close Dolphin
3. GOTO 1

OBSERVED RESULT
Dolphin window closes, but process does not die. Process cannot be brought to the foreground again or used for anything.

EXPECTED RESULT
Dolphin and it's related {file|trash}.so processes die when the window is closed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.12.0-gentoo
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
- No session restore is used.
Comment 1 Zoltan Puskas 2021-05-10 04:28:10 UTC
Created attachment 138279 [details]
System Activity screenshot

I've opened and closed a bunch of Dolphin instances. Only one window of Dolphin is actually active on the desktop (the one with the icon next to it, that also has a window title).
Comment 2 Zoltan Puskas 2021-05-10 04:35:04 UTC
Created attachment 138280 [details]
ps aux output

Output from `ps aux`, where one can see left over Dolphin, file.so, and trash.so processes.

I'd like to note that file.so and trash.so tend to slowly die off, however Dolphin processes stay around forever.
Comment 3 Zoltan Puskas 2021-05-23 23:18:12 UTC
This does not appear to be an issue any more after upgrading to:
- Dolphin 21.04.1 (from 21.04.0)
- KDE Plasma 5.21.5
- KDE Frameworks 5.82.0
- Linux: Linux 5.12.5-gentoo

QT version remained at 5.15.2.

Not sure which bump fixed it as they got installed onto my box with the same upgrade.