There is a race condition that causes pldd to leave the process in stopped state if the SIGSTOP signal that is implied by PTRACE_ATTACH isn't delivered after the PTRACE_DETACH. The tracer should always wait for the tracee to enter ptrace-stop state before continuing to inspect it.
s/isn't/is/
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via b04acb2651e0aaf615de50e9138cddfd5c24021f (commit) from d4ec6ae19e3290abbb3cfff70a8dd6018ecb6e2e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b04acb2651e0aaf615de50e9138cddfd5c24021f commit b04acb2651e0aaf615de50e9138cddfd5c24021f Author: Andreas Schwab <schwab@suse.de> Date: Tue Jul 30 11:58:45 2013 +0200 Fix race conditions in pldd that may leave the process stopped after detaching Fixes bug 15804 ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 ++++++ NEWS | 2 +- elf/pldd.c | 25 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletions(-)
Fixed.