[Digikam-devel] [Bug 252443] New: digkam leaves a zombie after quit. doesn't free memory.

qigang grasscap at yahoo.com
Sun Sep 26 16:44:21 BST 2010


https://bugs.kde.org/show_bug.cgi?id=252443

           Summary: digkam leaves a zombie after quit. doesn't free
                    memory.
           Product: digikam
           Version: 1.3.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Time Line
        AssignedTo: digikam-devel at kde.org
        ReportedBy: grasscap at yahoo.com


Version:           1.3.0 (using KDE 4.5.1) 
OS:                Linux

I am using kubuntu10.04.1, with kubuntu Backports and Kubuntu Updates
repository enabled. Digikam's version is 1.3. The problem I have is that, every
time I launch and quit digikam, it leaves a process "digikam" after quit and
occupies a huge amount of memory. If I launch and quit digikam for 3 times, it
leaves 3 digikam zombie. The memory usage information is as below.


---------------------------------
Process 5750 - digikam

Summary

The process digikam (with pid 5750) is using approximately 243.4 MB of memory.
It is using 228.8 MB privately, and a further 51.9 MB that is, or could be,
shared with other programs.
Dividing up the shared memory between all the processes sharing that memory we
get a reduced shared memory usage of 14.5 MB. Adding that to the private usage,
we get the above mentioned total memory footprint of 243.4 MB.
Library Usage

The memory usage of a process is found by adding up the memory usage of each of
its libraries, plus the process's own heap, stack and any other mappings, plus
the stack of its 6 threads. 
Private
more
223968 KB    [heap]
3820 KB    /usr/lib/i686/cmov/libavcodec.so.52.20.1
708 KB    /usr/lib/libQtWebKit.so.4.7.0
476 KB    /usr/lib/i686/sse2/libx264.so.85
304 KB    /usr/lib/libkhtml.so.5.5.0
Shared
more
5652 KB    /usr/lib/libQtGui.so.4.7.0
3048 KB    /usr/lib/libkhtml.so.5.5.0
2152 KB    /usr/lib/libkdeui.so.5.5.0
1892 KB    /usr/lib/libdigikamcore.so.1.0.0
1796 KB    /usr/bin/digikam
Totals

Private    234328 KB    (= 1268 KB clean + 233060 KB dirty)
Shared    53096 KB    (= 53096 KB clean + 0 KB dirty)
Rss    287428 KB    (= Private + Shared)
Pss    249225 KB    (= Private + Shared/Number of Processes)
Swap    0 KB
Full Details

Information about the complete virtual space for the process is available, with
sortable columns. An empty filename means that it is an anonymous mapping.
Both the MMU page size and the kernel page size are 4 KB.

Show Full Details 


Reproducible: Always

Steps to Reproduce:
OS: kunbutu 10.04.1 with kubuntu Backports and kubuntu updates ppa. update to
latest version.
launch digikam and then quit it. The GUI does disappear. But there is still a
digikam process running, which takes hundreds of MB of memory.

Actual Results:  
digikam doesn't end. And it won't free up memory.


OS: Linux (i686) release 2.6.32-25-generic
Compiler: cc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list