100% CPU in IcedTea plugin

Andrew Azores aazores at redhat.com
Thu Jan 9 12:19:54 PST 2014

On 01/09/14 14:14, Stefan Reich wrote:
> > custom build head?
> That sounds... complicated. Is it compiling, linking and stuff?
> I'm more in favor of single-click installations :o)
> I'll try to do the stackdump, I think that'll help us all find the reason.
> Thanks for the answer!
> Stefan

It's really not all that bad.

hg clone http://icedtea.classpath.org/hg/icedtea-web
cd icedtea-web
mkdir build
cd build
../configure --prefix=$(pwd)
make install
make user-links

The user-links step installs the plugin for your user account, and your 
account only. To uninstall it afterward, cd back to the 
icedtea-web/build directory (if you aren't already there) and run "make 
restore-user-links". Then you can delete the icedtea-web directory if 
you so desire. Note that you will have to restart your browser after 
running make user-links in order for it to be recognized.

If you can somehow get profiling information on which method(s) are 
eating up CPU time then that would be great, however.

You're also using a very old version of IcedTea-Web there (1.2.3) - 
looks like Peppermint is (unfortunately) pulling from Ubuntu's 12.04 LTS 
repos for that, because I know 13.10 actually has 1.4 in its repos. It's 
quite possible that this problem will be fixed just by upgrading to 
something more recent. If you'd rather go this route rather than 
compiling from source, go to [1] and select the icedtea-netx and 
icedtea-netx-common packages from a newer release such as Saucy, which 
has 1.4. Then download and install them on your system just like any 
other .deb. The download links for Precise will bring you back to the 
currently installed versions you have now, if you need those to 
downgrade later on.

Note that I'm not a Peppermint or Ubuntu user at all, so I can't really 
provide too much support with this in particular. It *should* be 
completely safe, but I make no guarantees :)

Since it's affecting 1.2, I wonder if it's this [2] bug, or something 

[2] http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=854


Andrew A

More information about the distro-pkg-dev mailing list