public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4330] New: utrace: PTRACE_CONT SIGSTOP should not kill
@ 2007-04-06 17:52 jan dot kratochvil at redhat dot com
  2007-09-19 20:20 ` [Bug general/4330] utrace: ptrace operations should work on child in job control stop jan dot kratochvil at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2007-04-06 17:52 UTC (permalink / raw)
  To: frysk-bugzilla

Opened by Jan Kratochvil (jan.kratochvil@redhat.com)  	 on 2007-04-06 13:46
EST  	[reply]  	   Private

Description of problem:
Found a regression against kernel.org in RH kernels utrace based implementation
of ptrace(2).

Version-Release number of selected component (if applicable):
kernel-2.6.20-1.3045.fc7.x86_64
(on FC6 system)

How reproducible:
Always.

Steps to Reproduce:
1. gcc -o stopkills stopkills.c -Wall -ggdb3
2. ./stopkills

Actual results:
./stopkills: PTRACE_DETACH: No such process

Expected results:
(nothing; exit code 0)

Additional info:
ptrace (PTRACE_CONT, child_pid, NULL, (void *) SIGSTOP);
ptrace (PTRACE_DETACH, child_pid, NULL, NULL);
PTRACE_DETACH fails by ESRCH on the utrace kernels.

Red Hat bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235521

-- 
           Summary: utrace: PTRACE_CONT SIGSTOP should not kill
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: jan dot kratochvil at redhat dot com
OtherBugsDependingO 1496
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=4330

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug general/4330] utrace: ptrace operations should work on child in job control stop
  2007-04-06 17:52 [Bug general/4330] New: utrace: PTRACE_CONT SIGSTOP should not kill jan dot kratochvil at redhat dot com
@ 2007-09-19 20:20 ` jan dot kratochvil at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2007-09-19 20:20 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From jan dot kratochvil at redhat dot com  2007-09-19 20:20 -------
It is already fixed by Roland McGrath for some time:
  https://bugzilla.redhat.com/show_bug.cgi?id=235521#c4


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=4330

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-19 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-06 17:52 [Bug general/4330] New: utrace: PTRACE_CONT SIGSTOP should not kill jan dot kratochvil at redhat dot com
2007-09-19 20:20 ` [Bug general/4330] utrace: ptrace operations should work on child in job control stop jan dot kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).