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

REGRESSION: Multiple signed applets cause browser to hang

XMLWordPrintable

    • b01
    • x86
    • windows_2000, windows_xp

      FULL PRODUCT VERSION :
      java version "1.5.0_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows 2000 [Version 5.00.2195]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Internet Explorer 6.0.2800.1106 or
      Mozilla Firefox 1.5 (20051111)

      A DESCRIPTION OF THE PROBLEM :
      The the browser attempts to load multiple independant signed applets at the same time (either on the same page or in different frames), it's possible for the browser to lock up. If the applets load fast enough, the signed applet warning will pop up for all the applets at the same time. When this happens, any response to the first popup will often hang the browser. The remaining popup dialogues will be sent to the background, and their buttons cannot be clicked.

      In local testing, the problem appears frequently if at least 3 different signed jars are loaded at the same time.

      This problem also happens with fewer signed jars if the server is using an invalid SSL certificate, although this does not happen as often as the first case described above.

      We have reproduced this when signing the applets with either a production certificate or a self-signed certificate.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I have prepared a web page demonstrating this problem, http://www.varju.ca/test/applet/. This page loads three applets from three different self-signed jar files. The applets are small (they are a HelloWorld reference applet), and should load fast enough to trigger the bug most times.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      When loading the page above, the expected result is that three warning dialogues pop up indicating that the applet has an invalid digital signature. You should be able to click Run or Cancel for each popup, and then continue using the browser.
      ACTUAL -
      When all three popups appear at the same time, clicking either Run or Cancel in the first one causes the other two popups to be sent to the background. The can be brought back to the foreground, but their buttons cannot be clicked. The browser is effectively hung, and must be killed manually.

      REPRODUCIBILITY :
      This bug can be reproduced often.

      CUSTOMER SUBMITTED WORKAROUND :
      If you select "Always trust content from this publisher" and then click Run, future accesses to this page will not crash.

            dgu Dennis Gu (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: