Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68038 - Limewire dies and takes up ram and proc
Summary: Limewire dies and takes up ram and proc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 10:39 UTC by Liam Gilbride
Modified: 2005-01-12 00:08 UTC (History)
1 user (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 Liam Gilbride 2004-10-18 10:39:52 UTC
emerge --info
Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.5-gentoo-r1 i686)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks prelink sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://adelie.polymtl.ca/ ftp://gentoo.ccccom.com ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi berkdb bitmap-fonts bonobo cdr crypt cups divx4linux doc encode esd f77 firebird flash foomaticdb freetype gdbm gif gnutls gphoto2 gpm gstreamer gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mtrr ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xprint xv xvid zlib video_cards_radeon"

Java version:
*  dev-java/blackdown-jre
      Latest version available: 1.4.2
      Latest version installed: 1.4.1
      Size of downloaded files: 25,999 kB
      Homepage:    http://www.blackdown.org
      Description: Blackdown Java Runtime Environment 1.4.2
      License:     sun-bcla-java-vm

When using the latest unstable Limwire 4.1.5, either when it crashes, or when I close it, it will sit and take up about 15% of ram and proc usage. It is not visible in 'top', but it does come up in 'ps aux'. Killing its PID in top works to recover the system resources. Emerging the latest stable 4.0.8 and trying to run it gives me this error:
LimeWire version 4.0.8
Java version 1.4.2-rc1 from Blackdown Java-Linux Team
Linux v. 2.6.5-gentoo-r1 on i386
Free/total memory: 1232544/3149824

java.lang.ExceptionInInitializerError
   at com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java:165)
   at com.limegroup.gnutella.gui.Main.main(Main.java:49)
Caused by: java.lang.ClassCastException
   at com.limegroup.gnutella.bugs.BugManager.loadOldBugs(BugManager.java:280)
   at com.limegroup.gnutella.bugs.BugManager.<init>(BugManager.java:185)
   at com.limegroup.gnutella.bugs.BugManager.<clinit>(BugManager.java:57)
   ... 2 more

Underlying error:
java.lang.ClassCastException
   at com.limegroup.gnutella.bugs.BugManager.loadOldBugs(BugManager.java:280)
   at com.limegroup.gnutella.bugs.BugManager.<init>(BugManager.java:185)
   at com.limegroup.gnutella.bugs.BugManager.<clinit>(BugManager.java:57)
   at com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java:165)
   at com.limegroup.gnutella.gui.Main.main(Main.java:49)

STARTUP ERROR!

-- listing properties --
APP_HEIGHT=820
DIRECTORIES_TO_SEARCH_FOR_FILES=/winxp/mp3;/winxp/mp3
FRACTIONAL_UPTIME=0.20464042
LAST_EXPIRE_TIME=1096830368576
SESSIONS=3
DIRECTORY_FOR_SAVING_FILES=/winxp/mp3
RUN_ONCE=true
CLIENT_ID=39D2521B788A3C23FFC2D13CFCB97A00
FORCE_IP_ADDRESS=true
LAST_SHUTDOWN_TIME=1097897989819
IGNORE_ALL_BUGS=true
THEME_FILE=/home/glib/.limewire/themes/classic_t...
THEME_DIR=/home/glib/.limewire/themes/classic_t...
MAX_UPLOAD_BYTES_PER_SEC=99
TOTAL_UPTIME=611616
AVERAGE_UPTIME=203872
APP_WIDTH=1152
INSTALLED=true
MAX_SIM_DOWNLOAD=50
FORCED_IP_ADDRESS_STRING=24.108.192.152
LAST_GWEBCACHE_FETCH_TIME=1097706815852
CONNECTION_SPEED=350
WINDOW_Y=0
MAX_DOWNLOAD_BYTES_PER_SEC=333
WINDOW_X=0



FILES IN CURRENT DIRECTORY:
/opt/limewire/ProgressTabs.jar
LAST MODIFIED: 1097997637000
SIZE: 3921

/opt/limewire/xerces.jar
LAST MODIFIED: 1097997637000
SIZE: 1812019

/opt/limewire/xml.war
LAST MODIFIED: 1097997637000
SIZE: 5590

/opt/limewire/collections.jar
LAST MODIFIED: 1097997637000
SIZE: 259265

/opt/limewire/update.ver
LAST MODIFIED: 1097997637000
SIZE: 1618

/opt/limewire/MessagesBundles.jar
LAST MODIFIED: 1097997637000
SIZE: 554832

/opt/limewire/i18n.jar
LAST MODIFIED: 1097997637000
SIZE: 21649

/opt/limewire/themes.jar
LAST MODIFIED: 1097997637000
SIZE: 329568

/opt/limewire/logicrypto.jar
LAST MODIFIED: 1097997637000
SIZE: 130255

/opt/limewire/hashes
LAST MODIFIED: 1097997637000
SIZE: 298

/opt/limewire/jl011.jar
LAST MODIFIED: 1097997637000
SIZE: 107851

/opt/limewire/MessagesBundle.properties
LAST MODIFIED: 1097997637000
SIZE: 122719

/opt/limewire/id3v2.jar
LAST MODIFIED: 1097997637000
SIZE: 45958

/opt/limewire/README.txt
LAST MODIFIED: 1097997637000
SIZE: 1167

/opt/limewire/mp3sp14.jar
LAST MODIFIED: 1097997637000
SIZE: 21556

/opt/limewire/commons-httpclient.jar
LAST MODIFIED: 1097997637000
SIZE: 223744

/opt/limewire/commons-logging.jar
LAST MODIFIED: 1097997637000
SIZE: 26463

/opt/limewire/icu4j.jar
LAST MODIFIED: 1097997637000
SIZE: 351876

/opt/limewire/LimeWire.jar
LAST MODIFIED: 1097997637000
SIZE: 2370576

/opt/limewire/runLime.sh
LAST MODIFIED: 1097997637000
SIZE: 477 

I also got an error with the latest unstable, however I was able to ignore it, and the program would still run. Not the case with 4.0.8. I then re-emerged 4.1.5, and now everything seems to work, and it doesn't die and take up resources.
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-10-18 10:46:17 UTC
I told Liam to report this bug because it had some java stuff in it I was hoping one of the java gurus could look into. Anyone seen this stuff before on the java front?
Comment 2 Liam Gilbride 2004-10-19 10:18:35 UTC
A followup:

I discovered that the re-emerging didn't really fix my problem. I also see what's causing the issue now. Sometimes when I'm downloading a lot of files concurrently, some of them will hang at the "Saving File..." stage indefinitely. If I close limewire while it's doing this, it sits in my mem and needs to be killed. After I start it up again after doing this, it redownloads the files from 0% and saves fine. Then when I close it, it clears itself just fine.
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-11-27 10:37:47 UTC
does this happen with limewire-4.2.3?
Comment 4 Liam Gilbride 2005-01-12 00:08:03 UTC
Sorry for the lapse, the problem resolved itself, but I have no idea what caused it, or what fixed it. Resolved is resolved I guess though.