comp.lang.ada
 help / color / mirror / Atom feed
* fork; execve --> defunct process.
@ 2000-01-18  0:00 Bobby D. Bryant
  2000-01-18  0:00 ` Mats Weber
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Bobby D. Bryant @ 2000-01-18  0:00 UTC (permalink / 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






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-01-22  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-18  0:00 fork; execve --> defunct process Bobby D. Bryant
2000-01-18  0:00 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox