Community
Participate
Working Groups
20020624 integration build. In the middle of platform update, installed failed with a "Problem Occured" dialog saying: "unable to create new native thread". This problem occured when after one of the two swt shared library files (libswt-cde-motif-2047.sl) has been intstalled, and permission on the file have been changed to r-xr-xr-x. Now, trying to repeat the update process for the feature, install fails every time on the mentioned file with an error: "Unable to complete action for feature "Eclipse Platform (HP-UX MOTIF)" due to errors. Unble to create file "/bluebird/teamswt/kkolosow/eclipse/plugins/org.eclipse.swt.motif_2.0.0.v20 47/os/hpux/PA_RISC/libswt-cde-motif-2047.sl. [java.io.FileNotFoundException: /bluebird/teamswt/kkolosow/eclipse/plugins/org.e clipse.swt.motif_2.0.0.v2047/os/hpux/PA_RISC/libswt-cde-motif-2047.sl (Permission denied)]" The permission on the directory allow the files to be created and deleted, but permission on the file itself are r-x (see bug 20305). It seems that update tries to overwrite the file and fails due to no write permission.
This is fixed in 2.0.1
This is not really fixed, but does not manifest itself in 2.0. The shared library permissions on HP should be r-x. Our code is changing them from rw to rwx, but it is not correct since having w permission on shared libraries can cause performance problems. We decided to leave w permission unchanged to go around this bug. Therefore the permission map should allow to specify wheter w permission, and it should be removed from the file. The update code should recover if it tries to write a file over one that has no w permission. One way to do it is to catch exception, delete a file and write it again from scratch.
*** Bug 23474 has been marked as a duplicate of this bug. ***
Post 3.0
[LATER->WONTFIX] The "LATER" bugzilla resolution is being removed so reopening to mark as WONTFIX.