Red Hat Bugzilla – Bug 243555
utrace: Failing PTRACE_DETACH after ATTACH+CONT(SIGSTOP)
Last modified: 2007-11-30 17:07:44 EST
Description of problem:
Developed on upstream the minimal raceless PTRACE_ATTACH method.
It unfortunately fails on UTRACE, I hope it is not a race.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gcc -o cont-sigstop-detach cont-sigstop-detach.c -ggdb2 -Wall
utrace bug hit
[endless run on the upstream linux-220.127.116.11.x86_64]
The code does:
waitpid() -> SIGSTOP
PTRACE_DETACH -> upstream: 0 vs. utrace: ESRCH
The Bug should be cloned for Fedora if you consider it valid.
Created attachment 156655 [details]
This is a regression and will be fixed in the 5.1 utrace update.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
This bugzilla has Keywords: Regression.
Since no regressions are allowed between releases,
it is also being proposed as a blocker for this release.
Please resolve ASAP.
This request was evaluated by Red Hat Kernel Team for inclusion in a Red
Hat Enterprise Linux maintenance release, and has moved to bugzilla
verified that the testcase does not abort with the -37 kernel.
On kernel-2.6.18-48.el5.x86_64 the testcase from Comment #1 hangs on line 105
(not the original goal of this testcase).
Did not find the other specific utrace Bug affecting it.
Comment on attachment 156655 [details]
Testcase had some racy assertion failures.
Updated testcase is at:
from the testsuite
It has been verified as FAILing on: kernel-xen-2.6.18-8.1.14.el5.x86_64
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.