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

Chrome: Thread lock and applet appears to be hanging when page is refreshed

XMLWordPrintable

    • generic
    • windows

      Under some scenarios applet fails to reload once the page is refreshed/reloaded or swicthed back and forth
      Try to load the following applet. Press Ok on the javascript POP-up
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ALC/PrintThread2.html

      Try to reload the applet, applet will fail to load and appears to be hanging.
      Below the Thread stack dump when process is hanging

      2009-09-04 15:19:10
      Full thread dump Java HotSpot(TM) Client VM (16.0-b08 mixed mode, sharing):

      "JRE 1.6.0.18.ea Heartbeat Thread" prio=6 tid=0x04634000 nid=0x52c waiting on condition [0x048ef000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      at java.lang.Thread.sleep(Native Method)
      at sun.plugin2.main.server.JVMInstance$HeartbeatThread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "JRE 1.6.0.18.ea Worker Thread" prio=6 tid=0x0462f000 nid=0x1120 in Object.wait() [0x04def000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
      - locked <0x24c403d8> (a sun.plugin2.message.Queue)
      at sun.plugin2.message.Pipe.receive(Unknown Source)
      at sun.plugin2.main.server.JVMInstance$WorkerThread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "JRE 1.6.0.18.ea Output Reader Thread" prio=6 tid=0x0462dc00 nid=0x1538 runnable [0x04cef000]
         java.lang.Thread.State: RUNNABLE
      at java.io.FileInputStream.readBytes(Native Method)
      at java.io.FileInputStream.read(Unknown Source)
      at sun.plugin2.main.server.JVMInstance$StreamMonitor.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "JRE 1.6.0.18.ea Output Reader Thread" prio=6 tid=0x0462c400 nid=0x13a0 runnable [0x04bef000]
         java.lang.Thread.State: RUNNABLE
      at java.io.FileInputStream.readBytes(Native Method)
      at java.io.FileInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read1(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      - locked <0x24c43540> (a java.io.BufferedInputStream)
      at java.io.FilterInputStream.read(Unknown Source)
      at sun.plugin2.main.server.JVMInstance$StreamMonitor.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "Thread-0" prio=6 tid=0x0462b800 nid=0x868 runnable [0x04aef000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ProcessImpl.waitFor(Native Method)
      at sun.plugin2.jvm.JVMLauncher$JVMWatcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "Java Plug-In Pipe Worker Thread (Server-Side)" daemon prio=6 tid=0x04628400 nid=0x16dc runnable [0x049ef000]
         java.lang.Thread.State: RUNNABLE
      at sun.plugin2.os.windows.Windows.ReadFile0(Native Method)
      at sun.plugin2.os.windows.Windows.ReadFile(Unknown Source)
      at sun.plugin2.ipc.windows.WindowsNamedPipe.read(Unknown Source)
      at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.read(Unknown Source)
      at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.readByte(Unknown Source)
      at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source)
      at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source)
      at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "traceMsgQueueThread" daemon prio=6 tid=0x01267400 nid=0xe38 in Object.wait() [0x01bef000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x24c447f8> (a java.util.ArrayList)
      at java.lang.Object.wait(Object.java:485)
      at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
      - locked <0x24c447f8> (a java.util.ArrayList)
      at java.lang.Thread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "Low Memory Detector" daemon prio=6 tid=0x01258800 nid=0x1088 runnable [0x00000000]
         java.lang.Thread.State: RUNNABLE

         Locked ownable synchronizers:
      - None

      "CompilerThread0" daemon prio=10 tid=0x01252000 nid=0x10f0 waiting on condition [0x00000000]
         java.lang.Thread.State: RUNNABLE

         Locked ownable synchronizers:
      - None

      "Attach Listener" daemon prio=10 tid=0x01250800 nid=0x1580 waiting on condition [0x00000000]
         java.lang.Thread.State: RUNNABLE

         Locked ownable synchronizers:
      - None

      "Signal Dispatcher" daemon prio=10 tid=0x0124f400 nid=0x774 runnable [0x00000000]
         java.lang.Thread.State: RUNNABLE

         Locked ownable synchronizers:
      - None

      "Finalizer" daemon prio=8 tid=0x01210400 nid=0x12fc in Object.wait() [0x015ef000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x24c44a20> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(Unknown Source)
      - locked <0x24c44a20> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(Unknown Source)
      at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

         Locked ownable synchronizers:
      - None

      "Reference Handler" daemon prio=10 tid=0x0120b800 nid=0xe40 in Object.wait() [0x014ef000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x24c44aa8> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(Object.java:485)
      at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
      - locked <0x24c44aa8> (a java.lang.ref.Reference$Lock)

         Locked ownable synchronizers:
      - None

      "main" prio=6 tid=0x00e27000 nid=0x1050 runnable [0x00d1f000]
         java.lang.Thread.State: RUNNABLE
      at sun.plugin2.main.server.WindowsHelper.runMessagePump0(Native Method)
      at sun.plugin2.main.server.WindowsHelper.runMessagePump(Unknown Source)
      at sun.plugin2.main.server.MozillaPlugin$WindowsHandler.waitForSignal(Unknown Source)
      at sun.plugin2.main.server.MozillaPlugin$WindowsHandler.waitForSignal(Unknown Source)
      at sun.plugin2.main.server.ResultHandler.waitForResult(Unknown Source)
      at sun.plugin2.main.server.AbstractPlugin.doJavaObjectOp(Unknown Source)
      at sun.plugin2.main.server.AbstractPlugin.javaObjectHasField(Unknown Source)

         Locked ownable synchronizers:
      - None

      "VM Thread" prio=10 tid=0x0120a400 nid=0x7f0 runnable

      "VM Periodic Task Thread" prio=10 tid=0x0125a800 nid=0x15d0 waiting on condition

      JNI global references: 39496

            ccheung Calvin Cheung
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: