From: "Bobby D. Bryant" <bdbryant@mail.utexas.edu>
Subject: fork; execve --> defunct process.
Date: 2000/01/18
Date: 2000-01-18T07:21:15+00:00 [thread overview]
Message-ID: <388414AD.E4D4C00D@mail.utexas.edu> (raw)
I am trying to get a program to start a second job. I import fork() and
execve() from C, and the calls apparently work OK (i.e., the fork
returns a legitimate PID, and the execve returns a non-negative status).
However, the child process immediately(?) goes into "defunct" status.
For example, if I try to run the testgtk program, the program's GUI
never pops up, and a ps x shows:
29765 pts/6 ZN 0:00 [testgtk <defunct>]
The parent process continues without any apparent problem. I have tried
different programs for the child process to run, and all have the same
problem.
I am using GNAT 3.12p under Linux/glibc 2.1.
Help/suggestions/explanations will be appreciated.
Thanks,
Bobby Bryant
Austin, Texas
next reply other threads:[~2000-01-18 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-18 0:00 Bobby D. Bryant [this message]
2000-01-18 0:00 ` fork; execve --> defunct process Mats Weber
2000-01-18 0:00 ` Bobby D. Bryant
2000-01-19 0:00 ` Mats Weber
2000-01-21 0:00 ` Robert A Duff
2000-01-22 0:00 ` Bobby D. Bryant
2000-01-18 0:00 ` Mats Weber
2000-01-19 0:00 ` Mario Klebsch
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox