Package: netapplet
Version: 1.0.8-1
Severity: normal

Gnome netapplet-1.0.8 constantly leaks memory. On my PowerPC-333, it
leaks, on average, one kilobyte per second. When I have a wireless
card plugged in, the increase in memory usage corresponds with stdout
from netapplet such as the following:

    Got Bulldogs 0.306581 1
    Got linksys 0.509220 0
    Got NETGEAR 0.613162 1
    Got linksys 0.485919 0

I believe that the unfreed mallocs may be occuring whenever the
network is scanned. Note that netapplet still leaks memory even
without a wireless card, it just doesn't say anything on stdout.

It is very simple to reproduce this bug. Run netapplet and watch the
RSS memory steadily increase without bound. Here's a little script to
help you to do that:


#!/bin/sh
# watchleak: every second, print how much the netapplet process has grown

PID=$(pgrep netapplet)

ORIGINAL=$(( $(cut -f2 -d' ' /proc/$PID/statm) * 4))
sleep 1

while :;
do
  SIZE=$(( $(cut -f2 -d' ' /proc/$PID/statm) * 4))
  echo $(( SIZE - ORIGINAL )) kB
  sleep 1
done | cat -n



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages netapplet depends on:
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.12.1-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.14.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.14.0-3      The Bonobo UI library
ii  libc6                      2.3.6-15      GNU C Library: Shared libraries
ii  libgconf2-4                2.14.0-1      GNOME configuration database syste
ii  libglade2-0                1:2.5.1-2     library to load .glade files at ru
ii  libglib2.0-0               2.10.3-3      The GLib library of C routines
ii  libgnome-keyring0          0.4.9-1       GNOME keyring services library
ii  libgnome2-0                2.14.1-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgnomeui-0               2.14.1-2      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             2.14.2-1      GNOME virtual file-system (runtime
ii  libgtk2.0-0                2.8.18-1      The GTK+ graphical user interface 
ii  libice6                    1:1.0.0-3     X11 Inter-Client Exchange library
ii  libiw28                    28-1          Wireless tools - library
ii  liborbit2                  1:2.14.0-2    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.12.3-1+b1   Layout and rendering of internatio
ii  libpopt0                   1.10-2        lib for parsing cmdline parameters
ii  libsm6                     1:1.0.0-4     X11 Session Management library
ii  libx11-6                   2:1.0.0-7     X11 client-side library
ii  libxml2                    2.6.26.dfsg-3 GNOME XML library
ii  lsb-base                   3.1-10        Linux Standard Base 3.1 init scrip
ii  zlib1g                     1:1.2.3-13    compression library - runtime

Versions of packages netapplet recommends:
ii  gnome-system-tools            2.14.0-1.1 Cross-platform configuration utili

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to