Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242862 - sun-jre-bin 1.6.0.10 consumes 100% CPU on Juniper SSL-VPN and doesn't start
Summary: sun-jre-bin 1.6.0.10 consumes 100% CPU on Juniper SSL-VPN and doesn't start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://www.juniper.net/products_and_s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 07:53 UTC by Ferry
Modified: 2011-01-19 03:45 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 Ferry 2008-10-20 07:53:29 UTC
When loading the java SSL-VPN app the CPU goes to 100%, firefox stops responding. Works fine with 1.6.0.07. Java games seems to work fine. Running firefox from terminal doesn't show (useful) output.

Not familiar with java and no clue on where to start troubeshooting.

Portage 2.2_rc12 (default-linux/x86/2007.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname: Linux-2.6.26-gentoo-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-glibc2.0
Timestamp of tree: Mon, 20 Oct 2008 07:15:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 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:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -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/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.gentoo.no/ "
LANG="en_US.UTF-8"
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/portage/local/layman/ftd4linux /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avi berkdb bluetooth cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode fam firefox fortran gdbm gif glitz gnome gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mmx mmxext mozbranding mp3 mpeg mudflap mysql ncurses newspr nls nptl nptlonly offensive ogg openal opengl openmp pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session smp spell spl sse sse2 sse3 ssl svg svga tcpd tiff truetype unicode usb vorbis win32codecs wmf x86 xinerama xml xml2 xorg xv xvid 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 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" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1. Install sun-jre-bin 1.6.0.10
2. Log on to SSL-VPN

Actual Results:  
100% CPU, firefox stops responding, SSL-VPN doesn't start.

Expected Results:  
Load SSL-VPN properly, be able to make connection, not stop of functionality in firefox.
Comment 1 Ferry 2008-10-20 09:30:15 UTC
Downgraded sun-jre-bin to 1.6.0.07 and all is fine.
Comment 2 Ferry 2008-10-20 09:31:56 UTC
Btw, if needed I can setup a VPN to test against if needed. But will only provide credentials through e-mail, preferably only to known gentoo devs/bugtrackers on a @gentoo.org e-mail address.
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2008-10-20 11:21:18 UTC
which Java plugin are you using? You can/change it via "eselect java-nsplugin". See if one variant (old or new) works for you.
Comment 4 Ferry 2008-10-20 11:24:05 UTC
Back on the .07 now, but if I recall correctly the .10 didn't let me choose either. I'm on firefox 3 btw, maybe it only allows new generations plugin.


freaky@flaptoppy ~ $ eselect java-nsplugin list
Available Java browser plugins
  [1]   sun-jre-bin-1.6  current
freaky@flaptoppy ~ $ java-config -L
The following VMs are available for generation-2:
*)	Sun JRE 1.6.0.07 [sun-jre-bin-1.6]
Comment 5 Serkan Kaba (RETIRED) gentoo-dev 2008-10-20 12:25:43 UTC
with .10 you can select between 2. It will just not work if you're not using Firefox 3.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-10-20 14:18:11 UTC
(In reply to comment #1)
> Downgraded sun-jre-bin to 1.6.0.07 and all is fine.
> 

There isn't much we can do as we are talking about upstream produced binaries here. Please report this issue to http://bugs.sun.com/ and then post the link to the upstream bug back here when you get one.
Comment 7 Ferry 2008-10-24 11:42:00 UTC
This is under discussion with Sun. You are right about the plugins tho'. What had me confused is java-config -L.

flaptoppy ~ # java-config -L
The following VMs are available for generation-2:
*)	Sun JRE 1.6.0.10 [sun-jre-bin-1.6]

It shows only one.

eselect however has 2. Have the second one selected now, but it was on the first one with the issues. The second one seems to be fine. Loads way faster too! (compared to previous java _07 release). This library is called libnpjp2.so.

flaptoppy ~ # eselect java-nsplugin list
Available Java browser plugins
  [1]   sun-jre-bin-1.6 
  [2]   sun-jre-bin-1.6-plugin2  current

One q though, why isn't the second plugin selected by default if the first is known to have issues with firefox 3 and/or isn't entire API compatible or whatever the deal is?
Comment 8 Serkan Kaba (RETIRED) gentoo-dev 2008-12-08 08:39:14 UTC
Can you test and report with 1.6.0.11
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2008-12-10 19:00:13 UTC
(In reply to comment #7)
> 
> One q though, why isn't the second plugin selected by default if the first is
> known to have issues with firefox 3 and/or isn't entire API compatible or
> whatever the deal is?
> 

You could file a bug so that the default is determined by the firefox version installed. It probably defaults to the old one because FF 2 is the current stable version but Serkan knows for sure.
Comment 10 Serkan Kaba (RETIRED) gentoo-dev 2008-12-17 07:12:57 UTC
Eclass code[1] shows that the default variant (i.e old plugin) is always favoured.
As there are other Mozilla browsers around (and more if you count Opera, too), there's no safe route to default to plugin2 just looking at FX version. Users may choose to stick with the old to support more browsers.

1: http://tinyurl.com/6e88n4
Comment 11 Miroslav Šulc gentoo-dev 2011-01-19 03:45:32 UTC
this version is not in tree anymore. please reopen if the problem still persists with versions that are in tree.