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

Browser Freeze for Yokogawa TC03_02 Testcase becs of Memory Leak on HT m/c.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 5.0u12
    • deploy
    • x86
    • windows

      Yokogawa TC03_02 Browser Freezes after running aroung 13 hours. There is a major Memory Leak and GDI Objects leak observed.
      M/c Windows XP - Hyper Threaded m/c ( This passes on non HT m/c)

      Time Recorded 16:02:01 .. 05:46:15
      Thread Count [27 .. 34]
      Handle Count Range [817 .. 1565]
      Private Bytes [34,508,800 .. 68,177,920]
      Working Set [42,487,808 .. 73,805,824]
      GDI [277 .. 9996]

      Following Exceptions are recorded in trace file just beore the freeze.
      Exception in thread "frame-creator" java.lang.InternalError: couldn't create component peer
              at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
              at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
              at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
              at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
              at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
              at sun.awt.windows.WFramePeer.<init>(Unknown Source)
              at sun.awt.windows.WEmbeddedFramePeer.<init>(Unknown Source)
              at sun.awt.windows.WToolkit.createEmbeddedFrame(Unknown Source)
              at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
              at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
              at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.<init>(Unknown Source)
              at sun.plugin.viewer.IExplorerPluginObject.createFrame(Unknown Source)
              at sun.plugin.viewer.IExplorerPluginObject$1.run(Unknown Source)
      java.lang.NullPointerException
              at sun.plugin.viewer.IExplorerPluginObject$2.run(Unknown Source)
      Exception in thread "frame-creator" java.lang.InternalError: couldn't create component peer
              at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
              at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
              at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
              at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
              at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
              at sun.awt.windows.WFramePeer.<init>(Unknown Source)
              at sun.awt.windows.WEmbeddedFramePeer.<init>(Unknown Source)
              at sun.awt.windows.WToolkit.createEmbeddedFrame(Unknown Source)
              at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
              at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
              at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.<init>(Unknown Source)
              at sun.plugin.viewer.IExplorerPluginObject.createFrame(Unknown Source)
              at sun.plugin.viewer.IExplorerPluginObject$1.run(Unknown Source)
      java.lang.NullPointerException
              at sun.plugin.viewer.IExplorerPluginObject$2.run(Unknown Source)
      Exception in thread "frame-creator" java.lang.OutOfMemoryError: too many window handles
              at sun.awt.windows.WToolkit.eventLoop(Native Method)
              at sun.awt.windows.WToolkit.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      Exception in thread "frame-creator" java.lang.OutOfMemoryError: too many window handles
              at sun.awt.windows.WToolkit.eventLoop(Native Method)
              at sun.awt.windows.WToolkit.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      Exception in thread "frame-creator" java.lang.OutOfMemoryError: too many window handles
              at sun.awt.windows.WToolkit.eventLoop(Native Method)
              at sun.awt.windows.WToolkit.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)


      Applet Location:
      http://sqindia.india.sun.com/~rn195728/TC03_02/TC03-02_Top.html

      How to reproduce:

      How to reproduce. ( You need to install MKS on this system or rewrite the scripts to bat)
      1. Unzip the the attached yokogawa.zip file to a dir say C:\temp
      2. cd C:\temp\yokogawa
      3. set the TEST_JRE_HOME env. variable
      e.g. set TEST_JRE_HOME=c:\Program Files\Java\jre1.5.0_12 ( with out quates)
      4. sh tc3_002.sh
      This test case will launch an applet and will run for 24 hours. You can custmize the duration to run by changing "-timeout" value in
      yokogawa.sh script.

      Output directory also can be customized by changing "-outputdir"
      TestCase URL can be hosted on a local system and customize it by changing the yokogawa.sh script.
      Trace and log file will be located under outputdir by defalut (from where you are running)
      iexplore.csv will contain the handle count, thread count, privite bytes, working set, %Processor Time and GDI Objects counter values at various points for iexplore.exe process.

            ccheung Calvin Cheung
            rnairsunw Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: