Bug 448871 - Possible memory leak: 3 instances of QtWebEngine running even after completely closing akregator
Summary: Possible memory leak: 3 instances of QtWebEngine running even after completel...
Status: REPORTED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: 5.19.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-21 09:00 UTC by Dipta Biswas
Modified: 2022-05-07 23:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dipta Biswas 2022-01-21 09:00:03 UTC
SUMMARY
Akregator uses QtWebEngine to render feeds, but those don't close even after closing akregator properly.

STEPS TO REPRODUCE
1. Close akregator from menu or using Ctrl+Q
2. Check processes using ps aux | grep webengine and ps aux | grep akregator

OBSERVED RESULT
ps aux | grep webengine
[REDACTED]       5522  0.0  0.0 464616     0 ?        S    Jan20   0:00 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --no-zygote-sandbox --disable-in-process-stack-traces --application-name=akregator --webengine-schemes=qrc:sLV --lang=en
[REDACTED]       5523  0.0  0.0 464616     0 ?        S    Jan20   0:00 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --disable-in-process-stack-traces --application-name=akregator --webengine-schemes=qrc:sLV --lang=en
[REDACTED]       5525  0.0  0.0 464616     0 ?        S    Jan20   0:00 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --disable-in-process-stack-traces --application-name=akregator --webengine-schemes=qrc:sLV --lang=en
[REDACTED]      46508  0.0  0.0   6496  2556 pts/0    S+   14:44   0:00 grep webengine

ps aux | grep akregator
[REDACTED]       5522  0.0  0.0 464616     0 ?        S    Jan20   0:00 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --no-zygote-sandbox --disable-in-process-stack-traces --application-name=akregator --webengine-schemes=qrc:sLV --lang=en
[REDACTED]       5523  0.0  0.0 464616     0 ?        S    Jan20   0:00 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --disable-in-process-stack-traces --application-name=akregator --webengine-schemes=qrc:sLV --lang=en
[REDACTED]       5525  0.0  0.0 464616     0 ?        S    Jan20   0:00 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --disable-in-process-stack-traces --application-name=akregator --webengine-schemes=qrc:sLV --lang=en
[REDACTED]      46697  0.0  0.0   6496  2564 pts/0    S+   14:50   0:00 grep akregator

EXPECTED RESULT
Only grep process should be shown. When I close falkon, there is no such residue of adChromium. Akregator should work similarly

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.10.92-1-lts510 (64-bit)
Graphics Platform: Wayland
Processors: 2 × AMD E2-9000e RADEON R2, 4 COMPUTE CORES 2C+2G
Memory: 3.7 GiB of RAM
Graphics Processor: AMD STONEY

ADDITIONAL INFORMATION
Comment 1 pixelplanetdev 2022-05-07 23:52:40 UTC
Can confirm.
However, it does not happen every single time.

The WebEngineProcesses are also running when Akregator is only in the system tray.