Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708876

Summary: kde-frameworks/kio: Fix memory leak in KUrlNavigatorPlacesSelector::updateMenu
Product: Gentoo Linux Reporter: David Korth <gerbilsoft>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 708820    
Bug Blocks:    
Attachments: Patch from upstream for KUrlNavigatorPlacesSelector memory leak

Description David Korth 2020-02-09 20:10:55 UTC
An incorrect assumption about QMenu submenu handling in KUrlNavigatorPlacesSelector results in a massive memory leak in some KDE applications, including Dolphin. Upstream has fixed this for the upcoming kio-5.68.0:

https://phabricator.kde.org/D27002

Reproducible: Always
Comment 1 David Korth 2020-02-09 20:12:05 UTC
Created attachment 613126 [details, diff]
Patch from upstream for KUrlNavigatorPlacesSelector memory leak

Applies to kio-5.67.0 and kio-5.64.0-r2.
Comment 2 Larry the Git Cow gentoo-dev 2020-02-09 22:28:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dba7f7eba3b961468d2477f4e35da63419298f9

commit 8dba7f7eba3b961468d2477f4e35da63419298f9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-09 20:20:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-09 22:27:51 +0000

    kde-frameworks/kio: Fix memory leak in KUrlNavigatorPlacesSelector
    
    Reported-by: David Korth <gerbilsoft@gerbilsoft.com>
    Closes: https://bugs.gentoo.org/708876
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kio/files/kio-5.67.0-memleak.patch | 43 +++++++++++
 kde-frameworks/kio/kio-5.67.0-r1.ebuild           | 88 +++++++++++++++++++++++
 2 files changed, 131 insertions(+)