Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214302 - ld-linux.so.2 eating ALL my memory
Summary: ld-linux.so.2 eating ALL my memory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-22 19:46 UTC by Thomas Witzel
Modified: 2010-09-09 15:40 UTC (History)
15 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Witzel 2008-03-22 19:46:20 UTC
When I run matlab or acrobat reader only notebook, after a little while a process called ld.linux.so.2 will have eaten all my memory and make it impossible to work. I have read that the new acrobat reader is bad, so I removed it, but the problem with matlab persists. I have used this version of matlab since over six months (7.4) and the problem just started very recently, so I doubt its due to matlab.
Thank you

Reproducible: Always

Steps to Reproduce:
1. start matlab
2. do nothing and wait for 15 minutes
3. find all your RAM gone and try to kill ld-linux.so.2 somehow or risk freeze

Actual Results:  
ld-linux.so.2 will have eaten all your RAM

Expected Results:  
hmm, not eat all your RAM

this ld-linux.so.2 comes from the emul-linux-**** packages. 
My bet would be that emul-linux is making a link from
/lib32/ld-linux.so.2 to /lib/ld-linux.so.2, so matlab will inadvertently call /lib32/ld-linux.so.2 which is not correct. As matter of fact I removed that link and had /lib/ld-linux.so.2 point to /lib/ld-linux-x86-64.so.2 and my problems went away. However then acrobat reader no longer works.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-22 20:07:25 UTC
emerge --info, please. 
Comment 2 Thomas Witzel 2008-03-22 20:12:53 UTC
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.7-r1, 2.6.24-rt1 x86_64)
=================================================================
System uname: 2.6.24-rt1 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Sat, 22 Mar 2008 19:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 arts berkdb cairo cdr cli cracklib crypt cups dbus dell dmx dri dvd fortran gdbm gpm iconv ipv6 isdnlog jpeg2k kde kdeenablefinal midi mmx mudflap ncurses nls nptl nptlonly nvidia openmp pam pcre perl png pppd python qt3 qt4 readline reflection samba sdl session spl sse sse2 ssl tcpd tiff unicode v4l v4l2 xinerama xorg xprint xv xvid xvmc zlib" ALSA_CARDS="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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Quincy 2008-04-17 14:10:12 UTC
I can confirm the bug (ld-linux.so.2 eating up all the memory), but i have only app-text/acroread-8.1.2-r1 installed.

emerge --info is:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Timestamp of tree: Mon, 14 Apr 2008 07:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -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/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=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://213.186.33.38/gentoo-distfiles/ http://gentoo.mneisen.org/ http://ftp.club-internet.fr/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
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/portage/local/layman/voip /usr/local/portage"
SYNC="rsync://frodo/gentoo-portage"
USE="X aac aalib acl acpi ads alsa apache2 arts authdaemond bash-completion berkdb branding bzip2 cairo caps cdb cdparanoia cdr clamd cli cracklib crypt css ctype cups curl dbus devil dga directfb dri dts dvd dvdr dvdread eds emboss encode esd evo exif expat fam fbcon ffmpeg firefox foomaticdb fortran ftp gcj gd gdbm gif gimp glut gmp gpm gps gs gstreamer gtk hal iconv icq idn imagemagick imap imlib isdnlog ithreads java javascript jpeg jpeg2k kde kipi lame lcms ldap libcaca libsamplerate lm_sensors logrotate mad maildir mcal memlimit mhash midi mikmod mime mmx mng mozilla mp3 mp4 mpeg mudflap multiuser musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam parport pcmcia pcre pdf perl php png pppd python qt3 qt3support qt4 quicktime quotas rdesktop readline real reflection replytolist rle rtc samba sasl scanner sdl session sharedmem slang smp sockets softquota spell spl sse sse2 ssl svg symlink syslog tcpd tga tidy tiff toolbar truetype unicode urandom usb userlocales vcd visualization vorbis wifi win32codecs wmf workbench x86 xine xinerama xml xorg xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0" 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Jeff Hansen 2008-04-24 18:00:50 UTC
I have seen this a couple of times since moving to 2.6.25.  It happened while I was running Firefox, Thunderbird, Kate, and Kopete, and just barely started Wireshark.  My system load went way up, and ld-linux.so.2 was consuming 1.6GB of memory (according to top).  After killing ld-linux.so.2, none of my apps seemed to be affected, except the oom killer started shutting down hald-addon-stor, then thunderbird, then firefox.  After that, I did a sync and echo 3 > /proc/sys/vm/drop_caches, and all of my memory was free again.  Could this be a bug in SLUB (that's what I'm using)?

emerge --info:

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25 x86_64)
=================================================================
System uname: 2.6.25 x86_64 Intel(R) Core(TM)2 Duo CPU T7800 @ 2.60GHz
Timestamp of tree: Mon, 21 Apr 2008 22:34:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -g -O1 -pipe"
CHOST="x86_64-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/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="-march=nocona -g -O1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 apm arts audiofile avi bash-completion bcmath berkdb bluetooth bzip2 bzlib cddb cdparanoia cdr cli cracklib crypt css ctype cups curl divx4linux dri dts dv dvb dvd dvdr dvdread encode esd exif fam ffmpeg fftw firefox flac flatfile foomaticdb fortran freetype ftp gdbm gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394 imagemagick imap innodb ipod ipv6 isdnlog jabber jack java javascript jpeg kde lame libcaca libnotify libsamplerate libwww mad matroska mhash midi mikmod mime mjpeg mmap mmx mmxext mozilla moznopango mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp oscar oss pam pcmcia pcre pda pdf perl php pic png posix ppds pppd pptp python quicktime rdesktop readline reflection rtsp samba sdl session sharedext sharedmem smartcard soap speex spl sqlite3 sse sse2 ssl stream svg tcpd theora tiff tk truetype unicode usb v4l v4l2 vcd vorbis wifi wmf wxwindows x264 xcomposite xine xinerama xml xorg xpm xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia apm dummy fbdev vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Pacho Ramos gentoo-dev 2008-04-24 19:10:04 UTC
I also suffer this problem, but it's caused by acroread8
Comment 6 Mauricio L. Pilla (RETIRED) gentoo-dev 2008-04-28 23:33:39 UTC
I'm also experiencing this, but on x86 with acroread-8.1.2-r1. Kernel is also 2.6.25.

Portage 2.1.5_rc6 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: 2.6.25-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Mon, 28 Apr 2008 17:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4 -march=pentium4 -pipe -O2 -fweb -frename-registers -momit-leaf-frame-pointer -fomit-frame-pointer"
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/kde/3.9/env /usr/kde/3.9/share/config /usr/kde/3.9/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=pentium4 -march=pentium4 -pipe -O2 -fweb -frename-registers -momit-leaf-frame-pointer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://ftp.ntua.gr/pub/linux/gentoo/"
LDFLAGS=""
LINGUAS="pt_BR en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi adsl aim alsa artswrappersuid asf async bash-completion berkdb bindist branding cairo cdb cddb cdparanoia cdrom cli cracklib crypt css cups dbus dhcp dri dts dvb dvd dvdr dvdread fbsplash flac fortran gdbm gif gimpprint gnome gs hal icc iconv imagemagick insecure-drivers ipod isdnlog java jpeg jpeg2k kde kdexdeltas lame latex logrotate lua madwifi midi mime mmx moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mplayer mudflap musicbrainz ncurses netcdf nls noamazon nptl nptlonly nsplugin ntfs ogg opengl openmp oscar pam pcre pdf perl pic png ppds pppd python qt3support qt4 readline real reflection samba session spell spl sqlite sse ssl svg tetex threads tiff truetype unicode usb vcd wifi win32codecs winbind x86 xcomposite xine xorg xpm xv zeroconf zlib" ALSA_CARDS="hda-intel intel8x0" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Jon Hood 2008-05-16 18:53:18 UTC
Please see bug #211838 for more information.
Comment 8 Nathan Sullivan 2008-05-16 23:38:32 UTC
i get this with acroread on a 2.6.20.12 (xen dom0) kernel, tbh ive kind of ignored the issue for a long time but it has definitely been there a while.

Portage 2.1.5_rc10 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.20.12-xen x86_64)
=================================================================
System uname: 2.6.20.12-xen x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sat, 10 May 2008 16:21:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
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-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r2  
ACCEPT_KEYWORDS="amd64 ~amd64"  
CBUILD="x86_64-pc-linux-gnu"    
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"     
CONFIG_PROTECT="/etc"           
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/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.iinet.net.au/pub/Gentoo http://ftp.iinet.net.au/pub/Gentoo"
LDFLAGS=""                      
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-overlays/layman/enlightenment /usr/local/portage-overlays/layman/gnash-cvs /usr/local/portage-overlays/layman/spring-unofficial /usr/local/portage-overlays/layman/mozilla /usr/local/portage-overlays/layman/xen /usr/local/portage-overlays/layman/java-overlay /usr/local/portage-overlays/layman/sunrise /usr/local/portage-overlays/testing /usr/local/portage-overlays/testing-xen /usr/local/portage-overlays/spring /usr/local/portage-overlays/x4x-portage"
SYNC="rsync://10.100.10.1/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 apache2 audiofile avahi avi bash-completion berkdb big-tables bzip2 cairo canvas cdr cli cpdflib cracklib crypt cups curl dba dbus divx4linux dlloader dri dts dv dvb dvd dvdr dvdread emboss encode ethereal evo exif extraengine fam fame ffmpeg firefox flac fortran gd gdbm gif gimpprint glut gmp gpm gstreamer gtk gtk2 hal iconv icq idn imap innodb ipv6 isdnlog jabber java jpeg json kerberos lcms ldap libcaca logrotate mad mhash midi mikmod mmx mng mono mozsvg mp3 mpeg mppe-mppc mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcntl pcre pdf pear perl php png posix pppd pulseaudio python qt3support quicktime readline reflection ruby samba sdl session slang snmp soap sockets spell spl sqlite sse sse2 ssl subtitles suhosin svg tcpd threads tiff truetype unicode userlocales utf8 vorbis wddx wma xine xinerama xml xml2 xmlrpc xorg xosd xprint xsl xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3      trident usb-audio via82xx via82xx-modem ymfpci" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

acroread: Sat May 10 14:38:00 2008 >>> app-text/acroread-8.1.2-r2

Comment 9 Thomas Witzel 2008-05-28 18:10:56 UTC
Is anyone working on fixing this ? I'm doing most of my office work with ubuntu now, as Linux is useless without proper pdf support. If there is no interest to fix this problem, which occurs ONLY in gentoo as far as I can tell, then acrobat reader should be removed from the portage tree, so people know its not supported in this distribution. 
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2008-05-28 19:40:28 UTC
Reassigning as this is not amd64 specific problem.
Comment 11 Ricardo Neves 2008-09-15 12:21:25 UTC
Hi all,

Hi had the same problem with acroread, but emerging acroread with USE="minimal" make the problem
disappear - at least the ld.linux.so stops running when acroread is closed.
Please give it a try.

Cheers,
\m/
Comment 12 Pacho Ramos gentoo-dev 2008-09-16 15:39:51 UTC
(In reply to comment #11)
> Hi all,
> 
> Hi had the same problem with acroread, but emerging acroread with USE="minimal"
> make the problem
> disappear - at least the ld.linux.so stops running when acroread is closed.
> Please give it a try.
> 
> Cheers,
> \m/
> 

Problems also disappeared for me merging it with minimal 
Comment 13 Nico Schlömer 2008-10-26 19:54:26 UTC
> Hi had the same problem with acroread, but emerging acroread with USE="minimal"
> make the problem disappear -

for me, the problem persists in app-text/acroread-8.1.2-r3 even when compiled with the minimal use flag.
Comment 14 Ricardo Neves 2008-10-26 21:43:39 UTC
In fact, I also have the same problem, but not so often as it would occur when emerged out without the "minimal" use flag... and it also depends how long is acroread opened or the size of the file (so it seems!)
This must be solved definitely ...
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2008-10-27 18:45:23 UTC
i'm not really sure what you expect us to do here.  we can't fix a proprietary package.
Comment 16 Mark Loeser (RETIRED) gentoo-dev 2008-10-28 15:37:02 UTC
Seems like a bug in Acroread anyway...reassigning to printing
Comment 17 Timo Gurr (RETIRED) gentoo-dev 2008-10-28 16:09:50 UTC

*** This bug has been marked as a duplicate of bug 211838 ***
Comment 18 Thomas Witzel 2008-11-14 23:30:07 UTC
(In reply to comment #15)
> i'm not really sure what you expect us to do here.  we can't fix a proprietary
> package.
> 

The interesting question is still, why is this an acrobat reader problem ? I switched the computer I use for work to ubuntu, and no such problem happens there, neither does it happen on the RHEL workstations at work. As far I can tell this is a gentoo specific problem.
Comment 19 Jon Hood 2008-11-14 23:35:03 UTC
I agree- keep this open. The memory leak appears to be in ld-linux.so.2. That it's caused by acroread is coincidental.
Comment 20 Pacho Ramos gentoo-dev 2008-11-15 13:31:34 UTC
(In reply to comment #18)
> (In reply to comment #15)
> > i'm not really sure what you expect us to do here.  we can't fix a proprietary
> > package.
> > 
> 
> The interesting question is still, why is this an acrobat reader problem ? I
> switched the computer I use for work to ubuntu, and no such problem happens
> there, neither does it happen on the RHEL workstations at work. As far I can
> tell this is a gentoo specific problem.
> 

Seems that other distros are also affected by this problem:
https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/260004/
http://www.adobeforums.com/webx?14@@.3c05a62b/3 (with possible workarounds I haven't tried yet)
http://ubuntuforums.org/showthread.php?t=754944 (suggets install lsb (lsb-release in gentoo?))

This last point seems insteresting as read in:
http://blogs.adobe.com/acroread/2007/09/adobe_reader_811_faqs.html

"Why does ld-linux.so.2 show up in the process list, instead of acroread?
On non-LSB compliant Linux distributions, acroread launches the default linux loader (ld-linux.so.2). This is why you see the name 'ld-linux.so.2" in the process list instead of acroread. This should have no effect on the working of the acroread program."

Comment 21 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-04 20:21:18 UTC
Thanks Pacho!

Ubuntu users have reported that the problem is gone when LSB's symlinks to ld-linux.so.2 are in place.

Other people affected, can you try this?
# ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3
and test for some time to see if it solves the problem?
Comment 22 Stefan G. Weichinger 2008-12-16 17:39:05 UTC
I also see this behavior here.
amd64, sys-kernel/tuxonice-sources-2.6.24-r9
app-text/acroread-8.1.3

ld-linux.so.2 currently eats 2.8 GB RAM of the 4 GB installed, and 1GB swap is full as well .... and this on a system which was booted only an hour ago.

This is the first time I see this behavior ...

# emerge --info
Portage 2.1.6.1 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 x86_64)
=================================================================
System uname: Linux-2.6.24-tuxonice-r9-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Tue, 16 Dec 2008 09:00:02 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS=""
LINGUAS="de 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="/mnt/ramportage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://172.32.99.6/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal howl iconv isdnlog jpeg mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptlonly ogg opengl openmp oss pam pcre pda pdf perl png pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x 	ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 	trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 23 Stefan G. Weichinger 2008-12-16 17:45:18 UTC
(In reply to comment #21)
> Ubuntu users have reported that the problem is gone when LSB's symlinks to
> ld-linux.so.2 are in place.
> 
> Other people affected, can you try this?
> # ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3
> and test for some time to see if it solves the problem?

Just created that link after having killed the memory-hogging ld-linux.so.2 and restarted acroread. So far it seems to behave OK, "top" shows no increased memory usage. Let's see how it develops ...
Comment 24 Francisco Lloret 2009-01-02 15:16:21 UTC
After doing:

# ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3

no ld-linux.so.2 processes eat 100% CPU in two core, but one or more acroread processes eat 100% CPU in one core.
Comment 25 Paul de Vrieze (RETIRED) gentoo-dev 2009-07-30 12:44:08 UTC
What could be related is a bug I encountered before with acroread and fonts. Basically there was/is a bug in certain acroread versions when upgrading from an old version, where the font cache would need to be updated all the time. Clearing out the acroread user configuration fixed that for me. Try to see whether this fixes the bug for you.
Comment 26 Pacho Ramos gentoo-dev 2010-09-09 13:40:03 UTC
This bug disappeared for me long ago, how about the rest of people?
Comment 27 Stephan Friedrichs 2010-09-09 15:25:15 UTC
(In reply to comment #26)
> This bug disappeared for me long ago, how about the rest of people?
> 

same here
Comment 28 Thomas Witzel 2010-09-09 15:40:31 UTC
Unfortunaly I got so used to not using acrobat reader on this machine, that I didn't notice when it got fixed, but with a current version of acroread the problem does no longer occur for me anymore.
I move to mark this as fixed.