Re: what may cause a parent process to defunct (zombie)?



vduber6er wrote:
It is the "original parent" that becomes a zombie. If the one that
executes my program is the problem, how can I fix this?

If I remember correct, we have had this thread about
some month ago!?
....
It is the "original parents' parent that doesn't call wait()
who is causing the 'original parent' to become defunct
as he exits.
....
This has nothing to do with your construction ... your
'original parent' would become defunct regardless
of his previous forking of some children and grandchildren
.... he becomes this just by exiting, because a fault
that is in his parent process.
....
Locate the parent of your 'original parent' and you
found the one who's guilty.

Rainer

.