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

Applets freeze in 5u7 on XP Japanese

    XMLWordPrintable

Details

    • x86
    • windows_xp

    Backports

      Description

        Test Configuration:
        -------------------
          - WindowsXP (only Japanese, SP1)
           (contact ###@###.### for access to this Virtual PC test JP env.)
          - IE 6
          - jre 5u7-b02


        Problem:
        -------
        Applet windows were frozen after repeatly trying to open and close "New Window"
        and "Call Dialog" buttons (for sometime between 1 minute to 15 minutes).
        The problem does not occur on 1.4.2


        Steps to reproduce:
        ------------------

        1) Using IE loads the attached <SampleApplet.html>
        2) The sleeping time can be set in the Text Field from 250 - 350
           (this is the delay time between actions)
        3) Repeatly click to open and close "New Window" button / "Call Dialog" button
        (for sometime between 1 minute to 15 minutes, and 1 second between each click)

        The applet windows eventually freeze. Attached is the screeshot <vpc_tc05_hang.bmp> at the time the applet windows hang (VPC Japanese XP was displayed on the top of English XP)
        ADPlus stack track attached
        Here's the java stack trace at the hang point:

        Thread 19: (state = BLOCKED, current Java SP = 0x08df7f70
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - java.lang.Object.wait() @bci=2, pc=0x046a2923, methodOop=0x2b3d1668 (Interpreted frame)
        - com.sun.deploy.util.DeployAWTUtil.invokeAndWait(java.awt.Component, java.lang.Runnable) @bci=52, pc=0x046a2923, methodOop=0x26d5f030 (Interpreted frame)
        - sun.plugin.viewer.frame.IExplorerEmbeddedFrame.setBean(java.lang.Object) @bci=10, pc=0x046a2923, methodOop=0x26cfb410 (Interpreted frame)
        - sun.plugin.viewer.IExplorerPluginObject.createFrame(int) @bci=44, pc=0x046a2923, methodOop=0x26d51d70 (Interpreted frame)


        Thread 18: (state = IN_NATIVE, current Java SP = 0x080ff450
        )
        - sun.awt.windows.WDialogPeer.showModal(), pc=0x046a826f, methodOop=0x26db1908 (Interpreted frame)
        - sun.awt.windows.WDialogPeer.show() @bci=30, pc=0x046a2923, methodOop=0x26db1ad0 (Interpreted frame)
        - java.awt.Dialog.conditionalShow() @bci=49, pc=0x046a2c29, methodOop=0x2b680698 (Interpreted frame)
        - java.awt.Dialog.show() @bci=53, pc=0x046a2a7b, methodOop=0x2b6806d0 (Interpreted frame)
        - javax.swing.JOptionPane.showOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) @bci=70, pc=0x046a2923, methodOop=0x26d9f9f0 (Interpreted frame)
        - SampleApplet.jButton1_actionPerformed(java.awt.event.ActionEvent) @bci=27, line=82, pc=0x046a29cf, methodOop=0x26d79408 (Interpreted frame)
        - SampleApplet$1.actionPerformed(java.awt.event.ActionEvent) @bci=5, line=31, pc=0x046a2923, methodOop=0x26d8adf8 (Interpreted frame)
        - javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent) @bci=84, pc=0x046a2c29, methodOop=0x2b6596e8 (Interpreted frame)
        - javax.swing.AbstractButton$Handler.actionPerformed(java.awt.event.ActionEvent) @bci=5, pc=0x046a2923, methodOop=0x2b6b98c0 (Interpreted frame)
        - javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent) @bci=35, pc=0x046a2c29, methodOop=0x2b6b8bf0 (Interpreted frame)
        - javax.swing.DefaultButtonModel.setPressed(boolean) @bci=117, pc=0x046a2923, methodOop=0x2b6b8988 (Interpreted frame)
        - javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent) @bci=35, pc=0x046a2c29, methodOop=0x2b6bea60 (Interpreted frame)
        - java.awt.Component.processMouseEvent(java.awt.event.MouseEvent) @bci=64, pc=0x046a2c29, methodOop=0x2b480d68 (Interpreted frame)
        - javax.swing.JComponent.processMouseEvent(java.awt.event.MouseEvent) @bci=23, pc=0x046a2923, methodOop=0x2b579f70 (Interpreted frame)
        - java.awt.Component.processEvent(java.awt.AWTEvent) @bci=81, pc=0x046a2923, methodOop=0x2b480c88 (Interpreted frame)
        - java.awt.Container.processEvent(java.awt.AWTEvent) @bci=18, pc=0x046a2923, methodOop=0x2b4874c0 (Interpreted frame)
        - java.awt.Component.dispatchEventImpl(java.awt.AWTEvent) @bci=477, pc=0x046a2923, methodOop=0x2b4802b0 (Interpreted frame)
        - java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) @bci=42, pc=0x046a2923, methodOop=0x2b487530 (Interpreted frame)
        - java.awt.Component.dispatchEvent(java.awt.AWTEvent) @bci=2, pc=0x046a2923, methodOop=0x2b480278 (Interpreted frame)
        - java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent) @bci=304, pc=0x046a2923, methodOop=0x2b4ae960 (Interpreted frame)
        - java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent) @bci=139, pc=0x046a2923, methodOop=0x2b4ae810 (Interpreted frame)
        - java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent) @bci=50, pc=0x046a2a7b, methodOop=0x2b4ae7a0 (Interpreted frame)
        - java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) @bci=12, pc=0x046a2a7b, methodOop=0x2b487530 (Interpreted frame)
        - java.awt.Component.dispatchEvent(java.awt.AWTEvent) @bci=2, pc=0x046a2923, methodOop=0x2b480278 (Interpreted frame)
        - java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) @bci=46, pc=0x046a2923, methodOop=0x2b52c788 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpOneEventForHierarchy(int, java.awt.Component) @bci=233, pc=0x046a2923, methodOop=0x2b54a268 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpEventsForHierarchy(int, java.awt.Conditional, java.awt.Component) @bci=26, pc=0x046a2a7b, methodOop=0x2b54a1f8 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpEvents(int, java.awt.Conditional) @bci=4, pc=0x046a2923, methodOop=0x2b54a1c0 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) @bci=3, pc=0x046a2923, methodOop=0x2b54a150 (Interpreted frame)
        - java.awt.EventDispatchThread.run() @bci=9, pc=0x046a2923, methodOop=0x2b54a118 (Interpreted frame)


        Thread 17: (state = BLOCKED, current Java SP = 0x07dffa74
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - javax.swing.TimerQueue.run() @bci=14, pc=0x046a2923, methodOop=0x2b6ad570 (Interpreted frame)
        - java.lang.Thread.run() @bci=11, pc=0x046a2c29, methodOop=0x2b3e1ae0 (Interpreted frame)


        Thread 16: (state = BLOCKED, current Java SP = 0x07effb18
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - java.lang.Object.wait() @bci=2, pc=0x046a2923, methodOop=0x2b3d1668 (Interpreted frame)
        - sun.applet.AppletPanel.getNextEvent() @bci=18, pc=0x046a2923, methodOop=0x26c209e8 (Interpreted frame)
        - sun.applet.AppletPanel.run() @bci=31, pc=0x046a29fa, methodOop=0x26c20f08 (Interpreted frame)
        - java.lang.Thread.run() @bci=11, pc=0x046a2c29, methodOop=0x2b3e1ae0 (Interpreted frame)


        Thread 15: (state = BLOCKED, current Java SP = 0x077ef7ac
        )
        - java.awt.Container.addImpl(java.awt.Component, java.lang.Object, int) @bci=8, pc=0x046ae417, methodOop=0x2b486b58 (Interpreted frame)
        - java.awt.Container.add(java.awt.Component) @bci=4, pc=0x046a2923, methodOop=0x2b4867a0 (Interpreted frame)
        - sun.plugin.viewer.frame.IExplorerEmbeddedFrame.setComponent(java.awt.Component) @bci=11, pc=0x046a29fa, methodOop=0x26cfb368 (Interpreted frame)
        - sun.plugin.viewer.frame.IExplorerEmbeddedFrame.access$100(sun.plugin.viewer.frame.IExplorerEmbeddedFrame, java.awt.Component) @bci=2, pc=0x046a2923, methodOop=0x26cfbce8 (Interpreted frame)
        - sun.plugin.viewer.frame.IExplorerEmbeddedFrame$1.run() @bci=65, pc=0x046a2923, methodOop=0x26d5e970 (Interpreted frame)
        - java.awt.event.InvocationEvent.dispatch() @bci=11, pc=0x046a2c29, methodOop=0x2b548e10 (Interpreted frame)
        - java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) @bci=26, pc=0x046a2c29, methodOop=0x2b52c788 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpOneEventForHierarchy(int, java.awt.Component) @bci=233, pc=0x046a2923, methodOop=0x2b54a268 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpEventsForHierarchy(int, java.awt.Conditional, java.awt.Component) @bci=26, pc=0x046a2a7b, methodOop=0x2b54a1f8 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpEvents(int, java.awt.Conditional) @bci=4, pc=0x046a2923, methodOop=0x2b54a1c0 (Interpreted frame)
        - java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) @bci=3, pc=0x046a2923, methodOop=0x2b54a150 (Interpreted frame)
        - java.awt.EventDispatchThread.run() @bci=9, pc=0x046a2923, methodOop=0x2b54a118 (Interpreted frame)


        Thread 14: (state = BLOCKED, current Java SP = 0x076ef9c4
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - java.lang.Object.wait() @bci=2, pc=0x046a2923, methodOop=0x2b3d1668 (Interpreted frame)
        - sun.awt.AWTAutoShutdown.run() @bci=32, pc=0x046a2923, methodOop=0x2b4bf508 (Interpreted frame)
        - java.lang.Thread.run() @bci=11, pc=0x046a2c29, methodOop=0x2b3e1ae0 (Interpreted frame)


        Thread 12: (state = BLOCKED, current Java SP = 0x074efb4c
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - java.lang.Object.wait() @bci=2, pc=0x046a2923, methodOop=0x2b3d1668 (Interpreted frame)
        - com.sun.deploy.util.Trace$TraceMsgQueueChecker.run() @bci=30, pc=0x046a2923, methodOop=0x26c50fb8 (Interpreted frame)
        - java.lang.Thread.run() @bci=11, pc=0x046a2c29, methodOop=0x2b3e1ae0 (Interpreted frame)


        Thread 11: (state = IN_NATIVE, current Java SP = 0x072dfc08
        )
        - sun.awt.windows.WToolkit.eventLoop(), pc=0x046a826f, methodOop=0x2b4bce80 (Interpreted frame)
        - sun.awt.windows.WToolkit.run() @bci=69, pc=0x046a2923, methodOop=0x2b4bce08 (Interpreted frame)
        - java.lang.Thread.run() @bci=11, pc=0x046a2c29, methodOop=0x2b3e1ae0 (Interpreted frame)


        Thread 10: (state = BLOCKED, current Java SP = 0x070df898
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - java.lang.ref.ReferenceQueue.remove(long) @bci=44, pc=0x046a2923, methodOop=0x2b40a430 (Interpreted frame)
        - java.lang.ref.ReferenceQueue.remove() @bci=2, pc=0x046a29fa, methodOop=0x2b40a468 (Interpreted frame)
        - sun.java2d.Disposer.run() @bci=3, pc=0x046a29fa, methodOop=0x2b519a80 (Interpreted frame)
        - java.lang.Thread.run() @bci=11, pc=0x046a2c29, methodOop=0x2b3e1ae0 (Interpreted frame)


        Thread 6: (state = BLOCKED, current Java SP = null
        )


        Thread 5: (state = BLOCKED, current Java SP = 0x069cfb44
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - java.lang.ref.ReferenceQueue.remove(long) @bci=44, pc=0x046a2923, methodOop=0x2b40a430 (Interpreted frame)
        - java.lang.ref.ReferenceQueue.remove() @bci=2, pc=0x046a29fa, methodOop=0x2b40a468 (Interpreted frame)
        - java.lang.ref.Finalizer$FinalizerThread.run() @bci=3, pc=0x046a29fa, methodOop=0x2b413e10 (Interpreted frame)


        Thread 4: (state = BLOCKED, current Java SP = 0x068cfbf4
        )
        - java.lang.Object.wait(long), pc=0x046a826f, methodOop=0x2b3d15f0 (Interpreted frame)
        - java.lang.Object.wait() @bci=2, pc=0x046a2923, methodOop=0x2b3d1668 (Interpreted frame)
        - java.lang.ref.Reference$ReferenceHandler.run() @bci=46, pc=0x046a2923, methodOop=0x2b413a00 (Interpreted frame)


        Thread 0: (state = IN_NATIVE, current Java SP = null
        )

        Attachments

          Issue Links

            Activity

              People

                ccheung Calvin Cheung
                hungnguy Hung Nguyen (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: