Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744418 - xfce-base/xfdesktop-4.14.2(?) - Memory leak when disconnecting monitor or use KVM
Summary: xfce-base/xfdesktop-4.14.2(?) - Memory leak when disconnecting monitor or use...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-24 04:59 UTC by Gerhard Hintermayer
Modified: 2020-09-25 07:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Hintermayer 2020-09-24 04:59:29 UTC
When turning off/disconnecting/switching KVM to other machine memory usage of xfdesktop grows like crazy. There is already a patch available in bleow link/bug report, can we have this already ported to portage tree as well ?
https://bugzilla.xfce.org/show_bug.cgi?id=16314

Reproducible: Always

Steps to Reproduce:
1.disconnect monitor
2.reconnect monitor
3.
Actual Results:  
depending on background image size memory is growing every time. up to several GB !!

Expected Results:  
no memeory leak

free up unused memory
Comment 1 Gerhard Hintermayer 2020-09-24 12:08:32 UTC
Sorry, oversaw the possibility to add the specific patch as user patch under /etc/portage/patch.... with that option xfdesktop is build after applying the patch, did not verify yet, since I'm not at home now, but this would definitely be an option.
But having a new subrelease and just updating to 14.2-r1 or so would be a lot easier ....


regards
Comment 2 Gerhard Hintermayer 2020-09-25 07:09:17 UTC
the patch definitely fixes the issue (this is what I expected anyhow). Would be great if this upstream already fixed issue would be ported to gentoo as well.
Comment 3 Larry the Git Cow gentoo-dev 2020-09-25 07:22:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921adfef70d2c2a43ab32549f985d15e1c9d0392

commit 921adfef70d2c2a43ab32549f985d15e1c9d0392
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-09-25 07:20:56 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-09-25 07:22:33 +0000

    xfce-base/xfdesktop: Backport memleak fix to 4.14.2
    
    Closes: https://bugs.gentoo.org/744418
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../xfdesktop/files/xfdesktop-4.14.2-memleak.patch | 37 ++++++++++++++++++++++
 ...op-4.14.2.ebuild => xfdesktop-4.14.2-r1.ebuild} |  4 +++
 2 files changed, 41 insertions(+)