[Xorp-hackers] potential race condition in run_command.cc?

Pavlin Radoslavov pavlin at icir.org
Thu Jul 20 17:46:03 PDT 2006


> From your description it appears that the SIGCHLD blocking hasn't
> taken effect, which seems odd.
> 
> Can you apply a simple patch (included below) to print the parent's
> signal mask before and after popen2().

You might want to print the signal mask inside the child_handler()
as well. Make sure you print the pid of the process as well to make
sure you are in the parent process :)

Pavlin



More information about the Xorp-hackers mailing list