Bug 436849

Summary: Dolphin leaks resources via leftover processes
Product: [Applications] dolphin Reporter: Zoltan Puskas <zoltan>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 21.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: System Activity screenshot
ps aux output

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.