Bug 450378 - ptrace: Stepping out of a signal handler runs away
ptrace: Stepping out of a signal handler runs away
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i686 Linux
low Severity low
: ---
: ---
Assigned To: Roland McGrath
Fedora Extras Quality Assurance
Depends On: 441406
  Show dependency treegraph
Reported: 2008-06-07 05:17 EDT by Jan Kratochvil
Modified: 2008-07-22 18:48 EDT (History)
2 users (show)

See Also:
Fixed In Version: kernel-
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-22 18:48:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Kratochvil 2008-06-07 05:17:02 EDT
+++ This bug was initially created as a clone of Bug #441406 +++

Description of problem:
On repeated PTRACE_SINGLESTEP when a signal gets delivered the signal handler
gets traced but on the `int 0x80' of `__kernel_sigreturn' it starts to
PTRACE_CONT instead.

Version-Release number of selected component (if applicable):
FAILs kernel-

How reproducible:

Steps to Reproduce:
wget -O step-through-sigret.c
gcc -o step-through-sigret step-through-sigret.c -Wall -ggdb2 -D_GNU_SOURCE;
./step-through-sigret; echo $?

Actual results:

Expected results:
Comment 1 Jan Kratochvil 2008-07-22 18:48:44 EDT
Thanks, verified as fixed on kernel-

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