Bug 532951 - [4.7] The strace hangs when strace is executed against a multi-thread process.
Summary: [4.7] The strace hangs when strace is executed against a multi-thread process.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: strace
Version: 4.7
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Andreas Schwab
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 488282 539506 567321
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-04 13:42 UTC by RHEL Program Management
Modified: 2011-05-13 13:20 UTC (History)
9 users (show)

Fixed In Version: strace-4.5.16-1.el4_8.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 539506 (view as bug list)
Environment:
Last Closed: 2010-04-08 06:48:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0074 0 normal SHIPPED_LIVE strace bug fix update 2010-04-08 06:47:55 UTC

Description RHEL Program Management 2009-11-04 13:42:06 UTC
This bug has been copied from bug #488282 and has been proposed
to be backported to 4.8 z-stream (EUS).

Comment 5 Andreas Schwab 2009-11-10 15:55:53 UTC
That appears to be a kernel bug: the process that strace is waiting for is in uninteruptable sleep.

Comment 6 Michal Nowak 2009-11-11 10:21:16 UTC
I can hardly verify this bug is gone then. Can you please file a kernel bug with possibly more appropriate information, than I could ever provide, and block against this bug? I believe kernel guys can give us more clue what's wrong here.

Comment 14 Andreas Schwab 2009-11-20 11:43:33 UTC
I see no way to work around this kernel bug again.  wait4 should return with ESRCH if the process is already gone, but blocks instead.

Comment 15 Casey Dahlin 2009-12-17 18:51:49 UTC
Do we want a separate BZ for the kernel issue?

Comment 16 Michal Nowak 2009-12-18 11:18:28 UTC
Casey: You mean "Bug 539506 -  [4.7] wait4 blocks on non-existing pid"?

Comment 17 Casey Dahlin 2009-12-18 15:06:41 UTC
That'd do it, thank you.

Comment 22 Michal Nowak 2010-03-30 11:21:35 UTC
Note: This bug is fixed when bug 567321 is fixed. Fix for bug 567321 will be included in next 4.8.z kernel erratum however we ship this strace erratum RHBA-2010:0074 now due to bug 567206. Thank you for your understanding.

Comment 25 errata-xmlrpc 2010-04-08 06:48:03 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0074.html


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