In LTP's ptrace03 test, there is a exit() preceded by ptrace(PTRACE_TRACEME). In this case, processes will be usually finished immediately. But mcexec will fall into waiting for parent's ptrace(PTRACE_CONT), because mcexec sends itself a signal in processing of exit().