Bug 450378 - ptrace: Stepping out of a signal handler runs away
ptrace: Stepping out of a signal handler runs away
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
9
i686 Linux
low Severity low
: ---
: ---
Assigned To: Roland McGrath
Fedora Extras Quality Assurance
:
Depends On: 441406
Blocks:
  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-2.6.25.9-76.fc9.x86_64
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-22 18:48:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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-2.6.25.4-30.fc9.i686

How reproducible:
Always.

Steps to Reproduce:
wget -O step-through-sigret.c
'http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/step-through-sigret.c?cvsroot=systemtap';
gcc -o step-through-sigret step-through-sigret.c -Wall -ggdb2 -D_GNU_SOURCE;
./step-through-sigret; echo $?

Actual results:
1

Expected results:
0
Comment 1 Jan Kratochvil 2008-07-22 18:48:44 EDT
Thanks, verified as fixed on kernel-2.6.25.9-76.fc9.x86_64.

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