[Goodies-dev] [Bug 9125] New: Memory leak in cpugraph-plugin 1.0.1 ?

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Jul 15 19:42:26 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=9125

          Priority: Medium
            Bug ID: 9125
                CC: brho at cs.berkeley.edu, brian at interlinx.bc.ca,
                    bugs at da.mcbf.net, dark.knight.ita at gmail.com,
                    john at johnanddalene.net, landry at xfce.org,
                    pariksheet.nanda at gmail.com
          Assignee: mmassonnet at xfce.org
           Summary: Memory leak in cpugraph-plugin 1.0.1 ?
        QA Contact: goodies-dev at xfce.org
          Severity: normal
    Classification: Panel Plugins
                OS: Linux
          Reporter: mmassonnet at xfce.org
          Hardware: PC (x86)
            Status: NEW
           Version: unspecified
         Component: General
        Depends on: 8521
           Product: Xfce4-netload-plugin

+++ This bug was initially created as a clone of Bug #8521 +++

I think there is a memory leak in the cpugraph plugin.  Over time, it uses up
more and more memory, and I have to kill it.  Here's its consumption (via top)
after a day or so:  

16201 brho      20   0  336m 142m  15m R   0.0  7.2   5:13.62 xfce4-cpugraph-

I checked the /proc/PID/maps, and here's how it changes over a 15 minute
window:

-08053000-0e734000 rw-p 00000000 00:00 0          [heap]
-a906d000-a9073000 rw-p 00000000 00:00 0 
+08053000-0e994000 rw-p 00000000 00:00 0          [heap]
+a9067000-a9073000 rw-p 00000000 00:00 0 

FWIW, netgraph also seems to consume an increasing amount of memory, but it's
not as bad:
16202 brho      20   0 98.3m  72m  13m S   0.0  3.6   1:11.53 xfce4-netload-p

Is there a way I can run the plugin from the command line with valgrind or
something to help track this down?

I'm using xfce4-cpugraph-plugin-1.0.1 on Gentoo, kernel 3.2.5-gentoo, on a 32
bit machine.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list