[Pkg-xfce-devel] Bug#440858: xfce4-sensors-plugin: sensors-plugin using 1/2GB after 21 days
xsdg
xsdg at mit.edu
Tue Feb 26 15:36:36 UTC 2008
Package: xfce4-sensors-plugin
Followup-For: Bug #440858
I started three instances of xfce-sensors-plugin on Feb 5, 2008. This is what
top says currently:
2677 xsdg 15 0 184m 85m 2304 S 0 1.1 0:01.11 xfce4-sensors-p
2678 xsdg 16 0 521m 422m 2192 S 0 5.3 0:04.20 xfce4-sensors-p
2679 xsdg 15 0 511m 409m 2240 S 0 5.1 0:06.35 xfce4-sensors-p
The first has been idle (displaying "Sensors"), whereas the second two have
been showing three measurements each (one of them updating every minute, the
other every 10 seconds). Notably, I find the following in /proc/2678/smaps:
0060b000-1a986000 rw-p 0060b000 00:00 0 [heap]
Size: 429548 kB
Rss: 429472 kB
Shared_Clean: 0 kB
Shared_Dirty: 0 kB
Private_Clean: 0 kB
Private_Dirty: 429472 kB
Referenced: 429472 kB
The identical section for 2677 is:
0060b000-05a6f000 rw-p 0060b000 00:00 0 [heap]
Size: 86416 kB
Rss: 86348 kB
Shared_Clean: 0 kB
Shared_Dirty: 0 kB
Private_Clean: 0 kB
Private_Dirty: 86348 kB
Referenced: 86348 kB
This clearly suggests that pointers are being malloc()ed that aren't being
free()d. Also, in case it's useful, here's an excerpt from /proc/2788/status:
VmPeak: 533860 kB
VmSize: 533856 kB
VmLck: 0 kB
VmHWM: 433736 kB
VmRSS: 432456 kB
VmData: 429704 kB
VmStk: 88 kB
VmExe: 44 kB
VmLib: 12180 kB
VmPTE: 1052 kB
This was against xfce4-sensors-plugin 0.10.99.2-1, though since nothing appears
in the changelog about this leak, I presume it still exists in the latest
packaged version.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22.9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xfce4-sensors-plugin depends on:
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libc6 2.7-2 GNU C Library: Shared libraries
ii libcairo2 1.5.4-1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.14.1-4 The GLib library of C routines
ii libgtk2.0-0 2.12.3-2 The GTK+ graphical user interface
ii libpango1.0-0 1.18.4-1 Layout and rendering of internatio
ii libpng12-0 1.2.24-1 PNG library - runtime
ii libsensors4 1:3.0.0-4 library to read temperature/voltag
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxfce4util4 4.4.2-1 Utility functions library for Xfce
ii libxfcegui4-4 4.4.2-1 Basic GUI C functions for Xfce4
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii xfce4-panel 4.4.2-1 The Xfce4 desktop environment pane
ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime
Versions of packages xfce4-sensors-plugin recommends:
ii hddtemp 0.3-beta15-37 Utility to monitor the temperature
ii lm-sensors 1:3.0.0-4 utilities to read temperature/volt
-- no debconf information
More information about the Pkg-xfce-devel
mailing list