This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/12956] New: Process.exec() badly broken on linux...


Cannot do Process.waitFor from a different thread than the one that started the
process.  It is also broken in 3.4, but the is not too surprizing as
natPosixProcess.cc has not been modified in quite a while.

I am running on an older RedHat 7.1 system.  The problem might go away with NPTL
(or what ever it is called).

Run the program that I will attach.  You will notice that it creates 50 zombie
processes that are never reaped.

The same program run with Sun's JRE does not leave any zombies.

-- 
           Summary: Process.exec() badly broken on linux...
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]