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

Win32: mantis installation proceeds when there is insufficient disk space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2
    • 1.4.1, 1.4.2
    • install
    • mantis
    • x86
    • windows_2000
    • Verified

      Platform: Windows 32-bit
      Build : J2SE 1.4.2 Mantis b-05
      Bundle: J2sdk.exe, j2re.exe
      Location : /java/re/jdk/1.4.2/promoted/beta/b05/bundles/windows-i586
      Test Case: Special Install cases

      Re Produced in: Win 2000 Pro, Win XP Pro

      Description:

      Mantis SDK/JRE installer fails due to insufficient disk space after it starts copying files to the destination folder.
      The following scenarios are encountered when there is insufficient disk space.

      1. Fill up a machine's hard drive (HDD) (c:\) to between 52-56 MB of free space.
      Start j2re.exe setup. After installer starts to copy the files to destination folder, it will create the jar files. Then it throws the following error message .

      ""Microsoft Visual C++ Runtime Library
        Program: C\WINNT\Installer\MSI46.tmp
        abnormal program termination""

      After this error message is thrown, the installer completes saying it finished successfully. But jar files are not fully unpacked. "rt.jar" has size of 0 bytes. Hence java.exe does not work.

      2. When the disk space in the HDD is between 17-49 MB, j2re.exe setup throws the following error message after it starts to copy the files to destination folder.

      " Out of disk space -- Volume: 'C:'; required space: 24,356KB; available space: 14,316KB. Free some disk space and retry."

      On selecting cancel, Installation is rolled back.

      3. When the disk space in the HDD is about 59-62 MB, j2re.exe setup throws the following error message when it creates the jar files (during the copying of files)

      "Error 1711. An error occured while writing installation information to disk. Check to make sure enough disk space is available, and click retry, or cancel to end the installation."
      On selecting cancel, it quits with the following message

      "Installation was interrupted. your system has not been modified. To complete installation at another time, please run setup again."

      But all the files have been copied to the destination folder and an entry exists in Add/Remove program menu. "rt.jar" has not been fully created (unpacked). Hence java.exe does not work.

      4. When disk space in the HDD is more than 70 MB, J2re setup completes in the expected way.

      5. When the diskspace in the local hard drive is between 115 - 160 MB, J2SDK installer throws a error message after it starts copying files to destination folder.

      " Out of disk space -- Volume: 'C:'; required space: xxxx KB; available space: xxxxx KB. Free some disk space and retry."
      On selecting cancel, Installation is rolled back.

      This is not the expected behaviour.
      The mantis installer should enforce disk space requirements before it starts to copy the files to the destination folder.

            billyh William Harnois
            aramanatsunw Ashwin Ramanathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: