[Digikam-devel] Possibly dangerous bug in 0.9.0-beta1

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Jul 29 14:25:31 BST 2006


Hi,

I am referring to bug 131277,
http://bugs.kde.org/show_bug.cgi?id=131277

Short summary:
The preview ioslave of 0.9.0-beta1 does not free its Shared Memory segments.
For every image that is selected or viewed, a 4MB memory segment is reserved.
These segments are not freed after the process has terminated!!! (Linux moves 
them to swap, though).
A longer usage of digikam will thus fill up swap and memory.
This is fixed in SVN.

Can anyone (except Rainer and me) verify this?
Use "ipcs -m" to display Shared memory segments.

As an intermediate solution, lost memory can be removed by ipcrm:
for i in `ipcs -m|grep 4194304|awk '{print $2}'`; do ipcrm -m $i; done

Assuming the problem can be verified:
It will be >4 weeks till beta2, with Gilles on holidays. I cannot with good 
conscience say "go on and test beta1, it has great new features" to users, 
"but it will eat your memory".

I am wondering if we should release a beta1-r1 or whatever which is 
beta1 + the fix for the problem.
I need your viewpoints!

Marcel



More information about the Digikam-devel mailing list