Bug 110292 - libgcj-ssa Process.waitFor is incorrect
Summary: libgcj-ssa Process.waitFor is incorrect
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: gcc
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom Tromey
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-17 23:48 UTC by Tom Tromey
Modified: 2014-08-11 05:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-16 19:52:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.



Note You need to log in before you can comment on or make changes to this bug.