This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 46042 - Can't install on Linux if there are too many mount points
Summary: Can't install on Linux if there are too many mount points
Status: CLOSED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 44098 47914 51031 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-12 14:58 UTC by zikmund
Modified: 2006-03-24 10:15 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test case to reproduce problem (1.09 KB, text/plain)
2004-07-13 13:04 UTC, mslama
Details
Thread dump (8.22 KB, text/plain)
2004-07-26 09:30 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-07-12 14:58:56 UTC
Build 200407111800 (internal)

Java Desktop System 2 (Quicksilver) build 09

1) Run installer
2) Go to JDK selection panel
3) Choose JDK and press Next
4) ERROR:
installer freezes. You have to kill the process.
Comment 1 mslama 2004-07-12 15:59:33 UTC
Yes reproducible on given machine.
Comment 2 mslama 2004-07-13 13:03:39 UTC
Issue #5073268 is filed to Bugtraq against JDK.
Comment 3 mslama 2004-07-13 13:04:12 UTC
Created attachment 16218 [details]
Test case to reproduce problem
Comment 4 mslama 2004-07-13 13:06:30 UTC
Attached test case executes process with command "sh -c df
/home/ms124458". But command Process.waitFor never returns. Folder
must be on nfs mount. It happens on JDS with JDK 1.4.2_04, JDK
1.4.2_05, JDK 1.5.0 build 57.
Comment 5 mslama 2004-07-13 13:07:28 UTC
*** Issue 44098 has been marked as a duplicate of this issue. ***
Comment 6 zikmund 2004-07-13 13:17:46 UTC
Just a notice Marku, the previous installer worked well on JDS
Quicksilver (this issue), but it failed on issue #44098. It seems
strange to me that it's a duplicate now.
Comment 7 mslama 2004-07-13 13:32:16 UTC
There is not enough info in issue #44098 to confirm or reject.
Actually in this issue command 'df' report disk space usage ie. it can
be used to check free (available) space. And it corresponds to
description in issue #44098.
Comment 8 mslama 2004-07-15 09:10:34 UTC
Problem is that command "df <nfs home dir>" does not finish on given
machine with JDS. Need to find if it is problem of just given machine
configuration/installation or general JDS problem. The same command on
the same NFS folder (server) works fine from Solaris 9 and RH 8/9.
Workaround is to install product elsewhere (not nfs directory but
local disk) or use zip. (unzip zip archive, do not use installer).

Note: If you this issue #44098 is different issue you can reopen it.
(But as I said we have no reproducible case for it so we cannot say.)
Comment 9 Tomas Brandalik 2004-07-15 15:15:32 UTC
This bug doesn't have workaround for mobility because we cannot get
fully functional ide simply unzipping from zip file. It is necessary
to use installer.I tested mobility (Radegast release) installer on 2
machines with jds2.0 ( qa-quicksilver-s1 and tbrandalik-ws) and on
both installation hangs. df command runs ok
Comment 10 mslama 2004-07-15 15:39:47 UTC
Please run df command on target installation folder on target machine.
If it works fine let me know. I need installation jar so I am able to
run it with java to get thread dump to find where it hangs. It can be
simply the same hang with another command. There is debug command line
option to print what external processes are executed by installer.
Please let me know what installer do you use and how can I get it.
What is your JDK and what is your target directory?
Comment 11 mslama 2004-07-15 16:15:12 UTC
It is weird: This time it hangs on "mount" command only from java (I
have the same simple example with "sh -c mount" command when nfs
automount is on osprey. It is enough when I open another shell and
make "cd /net/osprey". After that java example and installer hangs.
Many disks are mounted from osprey. mount command from command line
works fine.
Comment 12 mslama 2004-07-15 16:28:13 UTC
I can reproduce it also from RH9 when I make cd /net/ospray to get
many mounts first. So it is not specific to JDS.
Comment 13 mslama 2004-07-26 09:30:10 UTC
It is bug in InstallShield. IS hangs when executing external process
which generates more output. (More than 8KB in this case.) I will
attach thread dump.
Comment 14 mslama 2004-07-26 09:30:38 UTC
Created attachment 16429 [details]
Thread dump
Comment 15 _ ttran 2004-08-13 15:25:06 UTC
this is related to too many mount points not JDS per se.  I changed
the subject line.

This is an confirmed bug in IS.  We can't work around it.

Candidate for waiver and a note in INSTALL guide
Comment 16 _ ttran 2004-08-14 22:25:14 UTC
added 40-waiver-candidate.  This is a bug in InstallShield, we can't
workaround it in code.

Suggested workaround for users: the big number of mount points is
usually created by the automounter daemon.  Before running the
installer, log in as root and temporarily stop the daemon.
Comment 17 _ ttran 2004-08-14 23:11:01 UTC
InstallShield company just released InstallShield X / SP2 which fixed
this bug.  We seriously consider upgrading from InstallShield
Multiplatform 5 to IS X to get this bug fixed.  For beta1 it's too
late.  We'll have to wait for beta2 if we want to upgrade
Comment 18 mslama 2004-08-25 14:16:52 UTC
*** Issue 47914 has been marked as a duplicate of this issue. ***
Comment 19 _ ttran 2004-09-01 12:44:43 UTC
we found the way to hackaround the bug in IS.  Please verify the fix
w/ installers from tonight's build, on linux all installers: IDE,
Mobility and JDK bundle
Comment 20 Petr Blaha 2004-09-02 11:41:04 UTC
NB installer and JDK bundle, build 200409011800, is working on system
with JDS 2, where bug has been reproduced. 
Comment 21 _ ttran 2004-09-02 12:17:44 UTC
then mark this as verified and close the bug
Comment 22 Petr Blaha 2004-09-02 12:22:58 UTC
I will test the latest Mobility installer and then mark as verified.
Comment 23 Petr Blaha 2004-09-02 12:56:16 UTC
Verified Mobility installer Build040902
Comment 24 mslama 2004-11-01 14:13:55 UTC
*** Issue 51031 has been marked as a duplicate of this issue. ***