United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6188963 java web start cannot start on linux with newer glibc
JDK-6188963 : java web start cannot start on linux with newer glibc

Details
Type:
Bug
Submit Date:
2004-11-01
Status:
Resolved
Updated Date:
2010-04-04
Project Name:
JDK
Resolved Date:
2004-11-10
Component:
deploy
OS:
linux_redhat_4.0,linux_suse_sles_8.2,linux
Sub-Component:
webstart
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.4.2,1.4.2_06,1.4.2_10,5.0,6
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Duplicate:

Sub Tasks

Description
install java web start into linux os using newer version of glibc (2.3.3+)

for example, RH AS 4.0 beta

java web start cannot start and hang
###@###.### 11/1/04 20:00 GMT

                                    

Comments
EVALUATION

the problem is because we call waitid in linux with no options set;  Older
glibc does not have the sanity check for waitid options, so "0"
is accepted, and interpreted as if it's WEXITED, so it works in older glibc.
###@###.### 11/1/04 20:09 GMT

this bug is fixed in 5.0 update 2 and 6.0
###@###.### 2005-2-07 18:16:42 GMT
                                     
2004-11-01
SUGGESTED FIX

the fix is to use waitpid instead of waitid; which seems to be more robust and we don't need to set any options. it also works with both new and old glibc.  the same implementation is used in Runtime.exec() UNIXProcess_md.c:

http://web-east.east/deployment/www/webrevs/ngthomas/6188963/webrev/
###@###.### 11/1/04 20:09 GMT
                                     
2004-11-01



Hardware and Software, Engineered to Work Together