Bug 75709
| Summary: | strace -p leaves attached process in stopped state | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Han Holl <han.holl> |
| Component: | strace | Assignee: | Roland McGrath <roland> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | mgahagan, tao |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-01-10 23:11:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Han Holl
2002-10-11 11:06:05 UTC
I get exactly the same thing, and am also amazed that this hasn't been reported more widely: sh-2.05a# ps fax | grep xinetd 1200 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pidsh-2.05a# strace -p1200 select(8, [3 5 6 7], NULL, NULL, NULL <unfinished ...> sh-2.05a# ps fax | grep xinetd 1200 ? T 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pidsh-2.05a# kill -CONT 1200 sh-2.05a# ps fax | grep xinetd 1200 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pidsh-2.05a# sh-2.05a# rpm -q strace ; rpm -q kernel strace-4.4-4 kernel-2.4.18-5 sh-2.05a# I don't see anything related in the strace changelog, but this might have been cleared up in latest version from rawhide (at least when compiled from src locally - I didn't try the binary from RedHat): [root@vmware-charlieb root]# rpm -Uhv strace-4.4-9.1.i386.rpm Preparing... ########################################### [100%] 1:strace ########################################### [100%] ps fax |[root@vmware-charlieb root]# ps fax | grep xinetd 1167 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid 2246 pts/1 S 0:00 \_ grep xinetd [root@vmware-charlieb root]# strace -p1167 select(7, [3 5 6], NULL, NULL, NULL <unfinished ...> [root@vmware-charlieb root]# ps fax | grep xinetd 1167 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid 2249 pts/1 S 0:00 \_ grep xinetd [root@vmware-charlieb root]# *** Bug 79782 has been marked as a duplicate of this bug. *** I have a fix for this in the current upstream version and we will have an errata version fixing it before too long. Version 4.4.91-1 should work fine. Works for me now. |