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

Applet using Legacy_lifecycle fails to reload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 7
    • 7
    • deploy
    • b123
    • generic
    • generic, windows

      Applets using legacy_lifecycle fails to reload when applet page inside the browser is refreshed/reloaded or applet is revisited again using back/forward button
      On IE VM keeps on runing with no applet getting displayed while on firefox VM terminates on mulitple reload attempts and Server VM throws following error message
      JRE 1.7.0.ea: # A fatal error has been detected by the Java Runtime Environment:

      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d08a4d5, pid=3284, tid=2736
      #
      # JRE version: 7.0-b255
      # Java VM: Java HotSpot(TM) Client VM (20.0-b02--nightly-deploypit-101122 mixed
      mode, sharing windows-x86 )
      # Problematic frame:
      # C [awt.dll+0x8a4d5]
      #
      JRE 1.7.0.ea: # An error report file with more information is saved as:
      # C:\Program Files\Mozilla Firefox\hs_err_pid3284.log
      JRE 1.7.0.ea: #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      Terminating Java Plug-In Pipe Worker Thread (Server-Side) due to exception:
      java.io.IOException: Error 0 reading from named pipe, numRead 0, ReadFile ts: 30
      28778316315, now ts: 3028781589947, dT 3273632
              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.readB
      yte(Unknown Source)
              at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source)
              at sun.plugin2.message.transport.SerializingTransport.read(Unknown Sourc
      e)
              at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)
      JVM instance for 1.7.0.ea exited
      JVMInstance.unregisterApplet for applet ID 5
        LiveConnectSupport.shutdown(5)
      JVMInstance.unregisterApplet for applet ID 6
        LiveConnectSupport.shutdown(6)
      java.lang.InterruptedException
              at java.lang.Object.wait(Native Method)
              at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
              at sun.plugin2.message.Pipe.receive(Unknown Source)
              at sun.plugin2.main.server.JVMInstance$WorkerThread.run(Unknown Source)

      Memory dumps while running this scenario:
      Memory: 16,000K Free: 10,878K (67%) ... completed.
      Memory: 16,000K Free: 11,026K (68%) ... completed.
      Memory: 16,000K Free: 11,534K (72%) ... completed.
      Memory: 16,000K Free: 13,952K (87%) ... completed.
      Memory: 16,000K Free: 14,593K (91%) ... completed.

      Steps to reproduce:
      1) Try to load any of following applets using legacy_lifecycle tag inisde the browser
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ALC/PrintThread_legacy.html
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ALC/SimpleCLCacheLegacyTest.html

      Do a page reloads(sometimes applet fails to reload on first relaod)
      If applet fails to reload then issue is reproduced

            henryjen Henry Jen
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: