Bug 110292

Summary: libgcj-ssa Process.waitFor is incorrect
Product: Red Hat Enterprise Linux 3 Reporter: Tom Tromey <tromey>
Component: gccAssignee: Tom Tromey <tromey>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: mckinlay, patrickm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-16 19:52:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom Tromey 2003-11-17 23:48:15 UTC
The libgcj-ssa Process.waitFor method is incorrect.
Currently we only reap child processes if waitFor is called.
However, this is not required by the Process contract.
This means that, eg, eclipse leaves zombie children around.

This is also in the upstream gcc bugzilla:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801

I'm submitting this here as well since we need to track
it locally; we need this fixed more urgently than does
gcc.gnu.org.

Comment 1 Bryce McKinlay 2005-03-16 19:52:06 UTC
Fixed in GCC 4.0 by a new implementation of java.lang.Process. The fix is in GCC
4, so I'm closing this bug.