Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214123 - app-text/acroread-8.1.2 severe memory leak when launched from firefox 2.0.0.12
Summary: app-text/acroread-8.1.2 severe memory leak when launched from firefox 2.0.0.12
Status: RESOLVED DUPLICATE of bug 211838
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-21 08:49 UTC by Ákos Maróy
Modified: 2008-03-21 09:10 UTC (History)
0 users

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 Ákos Maróy 2008-03-21 08:49:38 UTC
I'm encountering a severe memory leak when opening a PDF document from within Firefox using Acrobat Reader. Even after I close Firefox, all the acroread processes remain there, consuming vast amounts of memory.

For example, see the top memory consumer processes, and related process information. these are all acrobat reader processes launched from within firefox, when clicking on a PDF file:

output from top:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
16126 maroy     20   0  950m 626m  10m S   34 20.7   9:13.38 ld-linux.so.2      
15780 maroy     20   0 1012m 594m  10m S   24 19.7   9:56.22 ld-linux.so.2      
15930 maroy     20   0  923m 563m  10m S   23 18.6   8:53.13 ld-linux.so.2      

related output from ps:

    1 15780 12729 12729 ?           -1 R     1001   8:16 /lib/ld-linux.so.2 /opt/Adobe/Reader8/Reader/intellinux/bin/acroread --display :0.0 -progressPipe 3 -exitPipe 4
    1 15930 12729 12729 ?           -1 R     1001   7:11 /lib/ld-linux.so.2 /opt/Adobe/Reader8/Reader/intellinux/bin/acroread --display :0.0 -progressPipe 3 -exitPipe 4
    1 16126 12729 12729 ?           -1 R     1001   7:31 /lib/ld-linux.so.2 /opt/Adobe/Reader8/Reader/intellinux/bin/acroread --display :0.0 -progressPipe 3 -exitPipe 4


as I said, the above processes are still in place, even though I closed the calling application, Firefox

Reproducible: Always

Steps to Reproduce:
1. open a PDF document in firefox
2. just wait :)
3.

Actual Results:  
there's a massive memory leak, resulting in an unusable system which is deprived of resources

Expected Results:  
there should be no memory leak
the acrobat reader process should exit as the calling firefox process is closed

this is using Firefox 2.0.0.12, Acrobat Reader 8.1.2

# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r3 x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r3 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Wed, 12 Mar 2008 10:30:01 +0000
ccache version 2.4 [enabled]
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.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="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/share/X11/xkb"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en hu ja"
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/overlay1 /usr/local/portage/wolf31o2 /home/maroy/src/tyrell/src/corpora/src/tmote/src/tinyos-2-overlay /usr/local/portage/lu_zero /home/maroy/src/euedge/src/oss/svn.oss.euedge.com/packages/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aiglx alsa amd amd64 anthy apache2 automount avahi avi bash-completion bitmap-fonts bluetooth branding bzip2 cairo cdr cjk cli cpudetection cracklib crypt cups dbus dhcp dlloader dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam fbsplash ffmpeg firefox flac gdbm gif gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml hal http ical iconv ieee1394 immqt-bc ipv6 ipw3945 irda isdnlog java javacomm jpeg kerberos lcms ldap libcaca libg++ libnotify live logrotate mad midi mikmod mmx mp3 mp4live mpeg mpeg2 mplayer msn mudflap mysql ncurses network networkmanager nls nptl nptlonly nsplugin obex ogg openal opengl openmp oracle oss pam pcre pdf pdflib perl player plotutils png postgres postscript ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtsp sdl session smp sms spell spl sse sse2 ssl stream subtitles svg tcpd theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode urandom usb v4l v4l2 vim vim-syntax vorbis wma x264 xml xorg xprint xv xvid 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="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu ja" USERLAND="GNU" VIDEO_CARDS="dummy fglrx radeon v4l vesa vmware fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-21 09:10:37 UTC

*** This bug has been marked as a duplicate of bug 211838 ***