Bug 276091 - pstack suspends process
pstack suspends process
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Jan Kratochvil
Depends On: 276861
  Show dependency treegraph
Reported: 2007-09-04 08:44 EDT by Olle Liljenzin
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-04 14:21:04 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 Olle Liljenzin 2007-09-04 08:44:37 EDT
Description of problem:
The process is stopped by pstack

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

How reproducible:

Steps to Reproduce:

   #include <sys/stat.h>
   int main(int argc, char *argv[])
     struct stat b1;
     while(1) { stat("/", &b1); }

1. 'cc t.c' and run a.out
2. strace -p <pid> (where pid is the process id for the a.out process)
3. stop strace with CTRL-C
4. pstack <pid>
Actual results:
a.out is stopped

Expected results:
a.out should keep running
Comment 1 Jan Kratochvil 2007-09-04 14:21:04 EDT
This is a kernel bug and it is present even in recent upstream kernels (tested
The kernel bug reproduces a different way in RHEL-4.6 GDB, the problem has been
resubmitted as Bug 276861.
Thanks for the notification.
RHEL-5 and F-7 kernels provide a utrace interface which does not have this bug.

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