[kde] [Bug 496616] New: Memory leak in FstabHandling for krunner, kded6, plasmashell, kde-powerdevil and ksystemstats
jdl
bugzilla_noreply at kde.org
Sat Nov 23 18:30:18 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=496616
Bug ID: 496616
Summary: Memory leak in FstabHandling for krunner, kded6,
plasmashell, kde-powerdevil and ksystemstats
Classification: I don't know
Product: kde
Version: unspecified
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: 677ee1vp at duck.com
Target Milestone: ---
Created attachment 176067
--> https://bugs.kde.org/attachment.cgi?id=176067&action=edit
archive of heaptrack memory logs for components. Each file can be extracted and
analyzed with heaptrack-gui
SUMMARY
Memory usage of mentioned processes increase linearly, at identical rates,
reaching a roof of 4GiB after 4-5 hours. On my system, this leads to OOM, and
me having to manually kill e.g. krunner.
STEPS TO REPRODUCE
1. Boot the system
2. Observe the gradually increased memory usage
3. Analyze the processes with `heaptrack`
OBSERVED RESULT
Some KDE components leak memory. A common trait among the processes analyzed,
shows that the function `__GI__strdup` in `libc.so.6` of `fstabHandling` of
`libKFSolid.6.so` ; is responsible for 99% of the memory usage.
EXPECTED RESULT
Stable memory usage of KDE components when not being used.
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41 (KDE Atomic, base commit
79a1f077b6fba8adec804e1797b0d1c9114453a6331ed1b8b89c69c6102f1db8 )
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
ADDITIONAL INFORMATION
Kernel Version: 6.11.8-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070 with Max-Q Design/PCIe/SSE2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list