Description of problem: I was having a problem with pnmtops in the netpbm package. When running pnmtops from within a parent process in which zombies are disabled, pnmtops does not complete successfully. It prints out: pnmtops: waitpid() for child 0 failed and returns a failure code. The resulting ps file is missing some trailer data and is incomplete. Bryan Henderson has emailed me that he has fixed the bug in 10.64.04. The problem can be replicated by forking pnmtops from a C program wrapper as follows, and then executing a pnmtops conversion using the wrapper: #include <signal.h> #include <unistd.h> int main() { signal(SIGCHLD, SIG_IGN); execlp("pnmtops", "pnmtops"); return 0; }
The fix for this seems to be already included in: netpbm-10.61.02-7.fc19.x86_64