Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144433 - digikam-0.9.0-beta1 memory leak
Summary: digikam-0.9.0-beta1 memory leak
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://bugs.kde.org/show_bug.cgi?id=1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 09:50 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2006-08-22 06:10 UTC (History)
0 users

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


Attachments
patch with described upstream fix (0.9.0_beta1-memleak_fix.diff,2.62 KB, patch)
2006-08-19 09:51 UTC, Peter Gantner (a.k.a. nephros)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gantner (a.k.a. nephros) 2006-08-19 09:50:08 UTC
(at least) beta1 has a memory leak which causes swap space to fill up after repeatedly using digikam.
The swapspace cannot be reclaimed after the program is exited which eventually leads to OOM killing of random, innocent processes (in my case apache was almost always the victim).
Details, workaround and fix can be found in the URL (upstream bugzilla) above.


diff to ebuild:
--- /usr/portage/media-gfx/digikam/digikam-0.9.0_beta1.ebuild   2006-08-13 18:26:04.000000000 +0200
+++ /usr/local/portage/media-gfx/digikam/digikam-0.9.0_beta1.ebuild     2006-08-19 18:47:08.000000000 +0200
@@ -72,6 +72,8 @@
                local MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d | tr '\n' ' ')
                einfo "Enabling documentation for: en ${LANG_DOCS}"
        fi
+
+       epatch ${FILESDIR}/${PV}-memleak_fix.diff
 }
 
 src_compile(){
Comment 1 Peter Gantner (a.k.a. nephros) 2006-08-19 09:51:11 UTC
Created attachment 94615 [details, diff]
patch with described upstream fix
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-22 05:57:41 UTC
Picking up.
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-22 06:10:52 UTC
Revision fixed in CVS. Thanks for reporting it.