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

JRE install goes into infinite loop in plugin install

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.1_02
    • deploy
    • None
    • x86
    • windows_2000

      This is with JRE 1.4.1_02 build b03 of 2/9/03 on win32.

      This is not a critical bug for 02, but may be worth considering for Mantis.

      I was trying to install JRE 1.4.1_02 but the JRE install kept hanging
      near the end of the install. The last dialog said "installing plugin".

      This was very reproducible.

      After assorted futzing, I discovered that the installer hang only happens
      if I have Netscape 7 running. In particular, if the installer hang happens
      and I then exit Netscape 7, the installer un-hangs and continues OK.

      I have a strong suspicion that the hang is happening during
      the call to actpanel.dll MakeJava2GeckoDefault

      That procedure contains a loop which appears to have a bug in it.
      It calls a procedure RemoveNPPluginFile. Unfortunately, if that
      call returns FALSE, we simply do a "continue" and repeat the loop
      without advancing to the next element.

      So if RemoveNPPluginFile ever returns false, we'll get stuck
      in an infinite loop in MakeJava2GeckoDefault

      I suspect that this is happening here, and is somehow caused by
      netscape 7 having a lock on the installed plugin files.

      This looks to me like it is worth fixing.

      We do warn users to exit other programs before running the install.
      The hang will only occur if they ignore that advice, have a copy of
      netscape 7 or Mozialla active, and have an old Java plug-in installed.
      That is a sufficiently rare set of circumstance that I am only
      rating this as a P3 initially, but we may still want to evaluate
      this one for Mantis.

      ###@###.### 2003-02-09

            billyh William Harnois
            ghamiltosunw Graham Hamilton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: