Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708876 - kde-frameworks/kio: Fix memory leak in KUrlNavigatorPlacesSelector::updateMenu
Summary: kde-frameworks/kio: Fix memory leak in KUrlNavigatorPlacesSelector::updateMenu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: frameworks-5.67-stable
Blocks:
  Show dependency tree
 
Reported: 2020-02-09 20:10 UTC by David Korth
Modified: 2020-02-09 22:28 UTC (History)
0 users

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


Attachments
Patch from upstream for KUrlNavigatorPlacesSelector memory leak (D27002.diff,537 bytes, patch)
2020-02-09 20:12 UTC, David Korth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)