Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 243555 - utrace: Failing PTRACE_DETACH after ATTACH+CONT(SIGSTOP)
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Roland McGrath
Martin Jenner
: Regression
Depends On: 244162
Blocks: 233852 233853
  Show dependency treegraph
Reported: 2007-06-09 13:34 EDT by Jan Kratochvil
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: RHBA-2007-0959
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 14:52:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Testcase (2.79 KB, text/plain)
2007-06-09 13:34 EDT, Jan Kratochvil
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0959 normal SHIPPED_LIVE Updated kernel packages for Red Hat Enterprise Linux 5 Update 1 2007-11-07 19:47:37 EST

  None (edit)
Description Jan Kratochvil 2007-06-09 13:34:21 EDT
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):

How reproducible:

Steps to Reproduce:
1. gcc -o cont-sigstop-detach cont-sigstop-detach.c -ggdb2 -Wall
2. ./cont-sigstop-detach 

Actual results:
utrace bug hit

Expected results:
[endless run on the upstream linux-]

Additional info:
The code does:
waitpid() -> SIGSTOP
PTRACE_DETACH -> upstream: 0 vs. utrace: ESRCH

The Bug should be cloned for Fedora if you consider it valid.
Comment 1 Jan Kratochvil 2007-06-09 13:34:21 EDT
Created attachment 156655 [details]
Comment 2 Roland McGrath 2007-06-14 05:11:06 EDT
This is a regression and will be fixed in the 5.1 utrace update.
Comment 3 RHEL Product and Program Management 2007-06-14 05:24:45 EDT
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
Comment 4 RHEL Product and Program Management 2007-06-14 05:28:45 EDT
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.
Comment 6 RHEL Product and Program Management 2007-06-20 08:31:19 EDT
This request was evaluated by Red Hat Kernel Team for inclusion in a Red
Hat Enterprise Linux maintenance release, and has moved to bugzilla 
status POST.
Comment 9 Don Zickus 2007-07-19 17:21:30 EDT
in kernel-2.6.18-30.el5
Comment 11 Mike Gahagan 2007-08-03 17:07:19 EDT
verified that the testcase does not abort with the -37 kernel. 

Comment 12 Jan Kratochvil 2007-09-27 14:38:51 EDT
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 14 Jan Kratochvil 2007-10-28 17:03:25 EDT
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
Comment 15 errata-xmlrpc 2007-11-07 14:52:15 EST
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.


Note You need to log in before you can comment on or make changes to this bug.