Bug Fix Advisory strace bug fix update

Advisory: RHBA-2009:1317-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2009-09-02
Last updated on: 2009-09-02
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
OVAL: N/A

Details

An strace update that fixes several bugs is now available.

The strace program intercepts and records system calls issued and received
by a running process. Strace can print a record of each system call, its
arguments and its return value.

With this update, strace is now upgraded to version 4.5.18. This applies
several upstream bug fixes and enhancements, including:

* An erroneous file locking instruction caused strace to incorrectly decode
fcntl64() system call parameters in 32-bit programs running on 64-bit
systems. This release corrects the errant file locking instruction,
ensuring that fcntl64() system call parameters are decoded correctly.
(BZ#471169)

* A race condition made it possible for ptrace_do_wait() to prematurely
conclude an exit report of a terminated process before the kill signal
could set the proper exit code. Whenever this occurred, strace could leave
out details of the kill signal in its exit report. This update applies a
workaround that instructs strace to check SIGKILL queues before issuing an
exit report. (BZ#472053)

* When strace was executed with the -f option on a multi-threaded process,
it was possible for some threads in that process to stop. This could
prevent the traced process from terminating. This was caused by a bug that
prevented some threads in a traced multi-threaded process from receiving
ample CPU time. This update provides functions for providing CPU time to
threads in traced multi-threaded processes, along with instructions for
resuming halted threads. (BZ#478419)

Users of strace should apply this update.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
strace-4.5.18-5.el5.src.rpm     dc8906e4a3137488a53d5589683990e9
 
IA-32:
strace-4.5.18-5.el5.i386.rpm     7477bdf7692c175866cde72943e65c05
 
IA-64:
strace-4.5.18-5.el5.ia64.rpm     0bf3e60a7c2cc26bc8825b142d45f1a9
 
PPC:
strace-4.5.18-5.el5.ppc.rpm     ebf3888f87e5a33abbccd3c6e697162b
strace64-4.5.18-5.el5.ppc64.rpm     697a782996dae3f4aea5d61978ea79ee
 
s390x:
strace-4.5.18-5.el5.s390x.rpm     5e0f8254b9b290e42cfdb73c4c900291
 
x86_64:
strace-4.5.18-5.el5.x86_64.rpm     399ea10fda8d8de7d16a7d44ff2b9f4d
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
strace-4.5.18-5.el5.src.rpm     dc8906e4a3137488a53d5589683990e9
 
IA-32:
strace-4.5.18-5.el5.i386.rpm     7477bdf7692c175866cde72943e65c05
 
x86_64:
strace-4.5.18-5.el5.x86_64.rpm     399ea10fda8d8de7d16a7d44ff2b9f4d
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

471169 - [ biarch ] format fcntl64() system calls for 32 bit application incorrect.


Keywords

debugging, strace


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/