Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4894216

Java plugin locks during page switch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • solaris_10
    • deploy
    • None
    • sparc
    • solaris_10


      ###@###.### 2003-07-22

      Using Mozilla 1.4 with the java plugin on s10_38

      page% java -showversion
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

      An applet loads on http://viseng.sfbay that, when I try to close the page, sends the java_vm process into a spiral. The process starts to eat up an entire CPU and locks mozilla. I have to kill the java_vm process, with takes mozilla with it, in order to start working again.

      Stack trace of the java_vm process is attached but one odd thing is that the java_vm process was spinning on NLWP #22 according to prstat but that thread isn't in the stack trace.

         PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
        9774 tmcmahon 138M 39M cpu0 0 10 0:08:46 95% java_vm/22

      Note also that killing mozilla doesn't fix this. You have to nuke the java_vm process. I've also attached a truss output from the java_vm process for a few seconds.


      ###@###.### 2003-07-23

      Info on the plugin

      Java(TM) Plug-in: Version 1.4.2
      Using JRE version 1.4.2 Java HotSpot(TM) Client VM
      User home directory = /home/tmcmahon
      Proxy Configuration: Browser Proxy Configuration

      ----------------------------------------------------
      Dump system properties ...
      ----------------------------------------------------
      acl.read = +
      acl.read.default =
      acl.write = +
      acl.write.default =
      browser.vendor = Sun Microsystems, Inc.
      browser.version = 1.1
      deployment.system.cacerts = /usr/j2se/jre/lib/security/cacerts
      deployment.system.home = /etc/.java/deployment
      deployment.system.jssecacerts = /usr/j2se/jre/lib/security/cacerts
      deployment.system.profile = /etc
      deployment.system.security.policy = file:/etc/.java/deployment/security/java.policy
      deployment.user.cachedir = /home/tmcmahon/.java/deployment/cache
      deployment.user.certs = /home/tmcmahon/.java/deployment/security/deployment.certs
      deployment.user.extdir = /home/tmcmahon/.java/deployment/ext
      deployment.user.home = /home/tmcmahon/.java/deployment
      deployment.user.jssecerts = /home/tmcmahon/.java/deployment/security/deployment.jssecerts
      deployment.user.logdir = /home/tmcmahon/.java/deployment/log
      deployment.user.profile = /home/tmcmahon
      deployment.user.security.policy = file:/home/tmcmahon/.java/deployment/security/java.policy
      deployment.user.tmpdir = /home/tmcmahon/.java/deployment/cache/tmp
      file.encoding = ISO646-US
      file.encoding.pkg = sun.io
      file.separator = /
      file.separator.applet = true
      http.agent = Mozilla/4.0 (SunOS 5.10)
      http.auth.serializeRequests = true
      https.protocols = SSLv3,SSLv2Hello
      java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
      java.awt.printerjob = sun.print.PSPrinterJob
      java.class.path = /usr/j2se/jre/classes
      java.class.version = 48.0
      java.class.version.applet = true
      java.endorsed.dirs = /usr/j2se/jre/lib/endorsed
      java.ext.dirs = /usr/j2se/jre/lib/ext
      java.home = /usr/j2se/jre
      java.io.tmpdir = /var/tmp/
      java.library.path = /usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc:/usr/local/pkgs/mozilla:/usr/local/pkgs/mozilla/plugins:/usr/local/lib/mre/mre-1.4:/usr/lib
      java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
      java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
      java.runtime.version = 1.4.2-b28
      java.specification.name = Java Platform API Specification
      java.specification.vendor = Sun Microsystems Inc.
      java.specification.version = 1.4
      java.util.prefs.PreferencesFactory = java.util.prefs.FileSystemPreferencesFactory
      java.vendor = Sun Microsystems Inc.
      java.vendor.applet = true
      java.vendor.url = http://java.sun.com/
      java.vendor.url.applet = true
      java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
      java.version = 1.4.2
      java.version.applet = true
      java.vm.info = mixed mode
      java.vm.name = Java HotSpot(TM) Client VM
      java.vm.specification.name = Java Virtual Machine Specification
      java.vm.specification.vendor = Sun Microsystems Inc.
      java.vm.specification.version = 1.0
      java.vm.vendor = Sun Microsystems Inc.
      java.vm.version = 1.4.2-b28
      javaplugin.lib = /usr/j2se/jre/lib/sparc/libjavaplugin_jni.so
      javaplugin.nodotversion = 142
      javaplugin.proxy.config.bypass = *localhost,*127.0.0.1,*.east,*.east.sun.com,*.west,*.west.sun.com,*.central,*.central.sun.com,*.sfbay,*.sfbay.sun.com,*.eng,*.eng.sun.com,*.corp,*.corp.sun.com,*.ebay,*.ebay.sun.com,*.emea,*.emea.sun.com
      javaplugin.proxy.config.list = http=webcache2:8080,https=webcache2:8080,ftp=webcache2:8080,gopher=webcache2:8080
      javaplugin.proxy.config.type = browser
      javaplugin.version = 1.4.2
      javaplugin.vm.options = -DtrustProxy=true -Xverify:remote -Djava.class.path=/usr/j2se/jre/classes -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Xbootclasspath/a:/usr/j2se/jre/lib/plugin.jar:/usr/j2se/jre/lib/javaplugin_l10n.jar -Djavaplugin.lib=/usr/j2se/jre/lib/sparc/libjavaplugin_jni.so -Dmozilla.workaround=true -Djavaplugin.nodotversion=142 -Djavaplugin.version=1.4.2
      line.separator = \n
      line.separator.applet = true
      mozilla.workaround = true
      os.arch = sparc
      os.arch.applet = true
      os.name = SunOS
      os.name.applet = true
      os.version = 5.10
      os.version.applet = true
      package.restrict.access.netscape = false
      package.restrict.access.sun = true
      package.restrict.definition.java = true
      package.restrict.definition.netscape = true
      package.restrict.definition.sun = true
      path.separator = :
      path.separator.applet = true
      sun.arch.data.model = 32
      sun.boot.class.path = /usr/j2se/jre/lib/rt.jar:/usr/j2se/jre/lib/i18n.jar:/usr/j2se/jre/lib/sunrsasign.jar:/usr/j2se/jre/lib/jsse.jar:/usr/j2se/jre/lib/jce.jar:/usr/j2se/jre/lib/charsets.jar:/usr/j2se/jre/classes:/usr/j2se/jre/lib/plugin.jar:/usr/j2se/jre/lib/javaplugin_l10n.jar
      sun.boot.library.path = /usr/j2se/jre/lib/sparc
      sun.cpu.endian = big
      sun.cpu.isalist = sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
      sun.io.unicode.encoding = UnicodeBig
      sun.java2d.fontpath =
      sun.net.client.defaultConnectTimeout = 120000
      sun.os.patch.level = unknown
      trustProxy = true
      user.dir = /home/tmcmahon
      user.home = /home/tmcmahon
      user.language = en
      user.name = tmcmahon
      user.timezone =
      ----------------------------------------------------

      To reproduce the problem I bring up mozilla 1.4. Go to viseng.sfbay and an applet loads. Click on one of the links on the page......hang.

            zgu Zhengyu Gu
            tmcmahon Torrey McMahon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: