Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229969 - net-analyzer/netspeed_applet-0.14 leaks memory
Summary: net-analyzer/netspeed_applet-0.14 leaks memory
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2008-06-29 02:42 UTC by Alejandro Dubrovsky
Modified: 2008-10-02 22:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Valgrind output from running for a few minutes (valgrind.out,22.76 KB, text/plain)
2008-06-29 07:22 UTC, Arun Raghavan (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Dubrovsky 2008-06-29 02:42:49 UTC
netspeed_applet continuously leaks small amounts of memory.  If left over a week, it grows into a 200-400 Meg beast.  Growth seems to be close to linear. 


Reproducible: Always

Steps to Reproduce:
1. Add netspeed_applet to the gnome toolbar (or whatever that thing is called)
2. Use net for a while
3. Look at top, sort by memory
4. Observe existence of netspeed_applet in top 3 positions.

Actual Results:  
netspeed_applet continues to accrue DRAM real estate

Expected Results:  
netspeed_applet is a non-issue wrt memory as it doesn't do anything that should accumulate it

Running ~x86.  This has been happening for a long time (over a year).  It does not happen on Ubuntu.  

Relevant USE flags: -debug

Rest from make.conf:

USE="3ds a52 aac accessibility apache2 asf asm async audiofile avahi
     bash-completion blender-game bzip2 bzlib cal3d chroot clanVoice curl
     darcs deprecated dga discouraged divx dvdread effects emacs ext-png
     ext-zlib faad fame fat festival ffmpeg fftw flash fontconfig gcj gcl gd
     gdb gimp git glade glitz gmedia gmp gnomecanvas gnomedb gnuplot gnutls
     gphoto2 gs gsl gtkhtml icon icq imlib2 input_devices_joystick
     input_devices_keyboard input_devices_mouse ipod jabber javascript
     joystick jpeg2k lcms libffi libnotify lua lzo lzw lzw-tiff mbox mbrola
     mdnsresponder-compat mime mjpeg mmap mmx mono mozdevelop mozsvg mpeg2
     mpeg4 mplayer mpm-prefork msn music mysql nautilus net nfsv4 nspr
     numarray numeric nvidia ode offensive openal oscar pch pdf pear-db php
     plugin psyco pulseaudio pyste qt3support real realmedia ruby sblive
     sdl-image sdl-sound sdlaudio sharedext sharedmem smime sndfile sockets
     sound speech speex sql sqlite sse sse2 startup-notification stream
     subversion svg svgz swig sysfs sysvipc tcl theora threads tidy tiff tk
     type1 usb v4l v4l2 vcd vfat video_cards_nvidia videos wma wmp wxwindows
     xanim xine xinerama xpm xulrunner -cups -firefox -ipv6 -nls -oss"


Excerpts from emerge --info:

Portage 2.2_rc1 (default-linux/x86/2006.1/desktop, gcc-4.2.4, glibc-2.7-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-i686-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-glibc2.0
Timestamp of tree: Fri, 27 Jun 2008 12:45:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -mtune=native -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks keepwork parallel-fetch preserve-libs sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm dummy nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2008-06-29 07:22:41 UTC
Created attachment 158839 [details]
Valgrind output from running for a few minutes

I ran this under valgrind for a while, and it appears that there are a few definite leaks and some possible leaks.

Guessing this needs to be resolved upstream.
Comment 2 Alejandro Dubrovsky 2008-07-08 13:36:41 UTC
Thanks.  Now reported on bugs.gnome.org:
http://bugzilla.gnome.org/show_bug.cgi?id=542040
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-02 22:17:57 UTC
upstream is needinfo, please get back to us (and reopen) when upstream found something.