lftp 3.0.13 (from x86) causes terrible memleak when downloading from ftp when compiled with socks5 in USE Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 16 2005, 23:07:06)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -ffast-math -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.du.se/pub/os/gentoo http://mirror.aiya.ru/pub/gentoo/ http://mirror.gentoo.no/ http://mirror.uni-c.dk/gentoo/" LANG="en_US.UTF-8" LC_ALL="" MAKEOPTS="-j2" PKGDIR="/usr/portage/pkgs" PORTAGE_TMPDIR="/home/portage" PORTDIR="/usr/portage/ports" PORTDIR_OVERLAY="/usr/src/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X acl acpi alsa apache2 audiofile authdaemond bash-completion berkdb bitmap-fonts cap cdparanoia cdr cdrom crypt cups curl divx4linux dvd dvdr dvdread encode esd expat flac foomaticdb gd gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl imap innodb ipv6 ithreads java jce jikes jpeg junit lcms ldap libclamav libg++ lirc lm_sensors mad maildir matroska memlimit mikmod mmap mmx mmx2 mozilla mp3 mpeg mysql ncurses nntp nomalloccheck nomotif nptl nptlonly nvidia odbc oggvorbis opengl oss pam pcre perl php png postgres ppds pwdb python qt quicktime quotas readline real rtc samba sasl scanner sdl slang sndfile snmp socks5 spell sqlite sse ssl svg svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 wmf xgetdefault xinerama xml xml2 xmms xscreensaver xv xvid xvmc zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Same thing with lftp-3.1.0 (from ~x86)
has this been fixed/reported upstream. Have you used some tools to identify where its leaking from?
does lftp-3.1.3 suffer thse same leak?
known problem upstream - I'm adding the latest version from upstream and the patch from the mail thread if not already there. 3.0.3 added (soon)
correction adding 3.1.3 that does include the fix.