Bug 532951

Summary: [4.7] The strace hangs when strace is executed against a multi-thread process.
Product: Red Hat Enterprise Linux 4 Reporter: RHEL Program Management <pm-rhel>
Component: straceAssignee: Andreas Schwab <schwab>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.7CC: cdahlin, cward, ebachalo, jmarchan, mnowak, moshiro, pm-eus, schwab, tao
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: strace-4.5.16-1.el4_8.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 539506 (view as bug list) Environment:
Last Closed: 2010-04-08 06:48:03 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:
Bug Depends On: 488282, 539506, 567321    
Bug Blocks:    

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