- Issued:
- 2013-09-30
- Updated:
- 2013-09-30
RHBA-2013:1317 - Bug Fix Advisory
Synopsis
ltrace bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated ltrace packages that fix several bugs are now available for Red Hat
Enterprise Linux 5.
Description
The ltrace utility is a debugging program that runs a specified command until
the command exits. While the command is executing, ltrace intercepts and records
both the dynamic library calls called by the executed process and the signals
received by the executed process. The ltrace utility can also intercept and
print system calls executed by the process.
This update fixes the following bugs:
- On a system with the Itanium architecture, a SIGILL signal was occasionally
delivered as a valid signal that informed the ltrace utility about events in a
traced binary. However, ltrace misinterpreted the SIGILL signal as a signal
delivered to the traced binary. With this update, ltrace handles SIGILL as
expected. (BZ#239057)
- When tracing a process with many threads, the traced process was often killed
as the threads ran into breakpoints that could not be handled by the ltrace
utility. With this update, ltrace attaches to the newly created threads and
carefully handles the breakpoints so that tracing events are not missed.
Note that when ltrace attached to a running process, that process could have
been detached from with the instruction pointer pointed to mid-instruction, or
with pending events, which would kill the process. This update improves the
detach logic so that the process is left in a consistent state before detaching.
(BZ#526007)
- Due to a bug in the logic of tracing processes, the ltrace utility missed
tracing events in forked processes on PowerPC systems. The logic of tracing
processes that fork or clone has been improved and ltrace now works as expected.
(BZ#639947)
- On PowerPC systems, the "-e" option did not work correctly. Consequently, when
the option was given with a symbol name that did not match any of the symbols in
the traced binary, the ltrace utility terminated unexpectedly. This update
provides a patch to fix this bug and ltrace no longer crashes in the described
scenario. (BZ#754096)
- Previously, the ltrace utility did not support PIE (Position Independent
Executables) binaries, which are linked similarly to shared libraries, and
processes. Consequently, addresses found in images of those binaries needed
additional adjustment for the actual address where the binary was loaded during
the process startup. With this update, the support for PIE binaries and
processes has been added and ltrace now handles the additional processing for
the PIE binaries correctly. (BZ#868281)
- When copying internal structures after cloning a process, the ltrace utility
did not copy a string containing a path to an executable properly. This behavior
led to errors in heap management and could cause ltrace to terminate
unexpectedly. The underlying source code has been modified and ltrace now copies
memory when cloning traced processes correctly. (BZ#890961)
Users of ltrace are advised to upgrade to these updated packages, which fix
these bugs.
Solution
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 526007 - ltrace cannot properly handle multi-threaded processes
- BZ - 639947 - testsuite: FAIL: '^\[pid [0-9]*\][ \t]*(printf|puts)' in ./ltrace.minor/trace-fork.ltrace for 1 times ,should be 2
- BZ - 754096 - ltrace crashes on PowerPC if tracing is limited by `-e' to event not present in trace
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
ltrace-0.5-20.45svn.el5.src.rpm | SHA-256: 9ef9e490bc36f7cf8b5981e23c8f23ad34d64cdc700c2c42799ab2c816486172 |
x86_64 | |
ltrace-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 597f17be708b3b78a3f6ef934286ab1b4441f6958018c1b3876c1f7942c5f97e |
ltrace-debuginfo-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 69dfd50bff3c64cbe995cf2e7fe35f08ff3afdabf569af3c592cff1ca47e3756 |
ia64 | |
ltrace-0.5-20.45svn.el5.ia64.rpm | SHA-256: eb8761f94ace87c12286bb5e5b8ee42dd26cf50d0cb41cb42f7e0b0b608f8f10 |
ltrace-debuginfo-0.5-20.45svn.el5.ia64.rpm | SHA-256: f4f0fb05d227e5dee5112ac3f4b520c49b552fcc1c1dbdc4868ae8d65a3717c5 |
i386 | |
ltrace-0.5-20.45svn.el5.i386.rpm | SHA-256: 38fd8bc9afa39e9fa6e62991d7459daca6de0fcf38843d52c08fb05dacaa42d0 |
ltrace-debuginfo-0.5-20.45svn.el5.i386.rpm | SHA-256: b7a1cd917c7f226c5d0a2dce8d707819cbda5584f3a693bdb21c1d376b2b6226 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
ltrace-0.5-20.45svn.el5.src.rpm | SHA-256: 9ef9e490bc36f7cf8b5981e23c8f23ad34d64cdc700c2c42799ab2c816486172 |
x86_64 | |
ltrace-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 597f17be708b3b78a3f6ef934286ab1b4441f6958018c1b3876c1f7942c5f97e |
ltrace-debuginfo-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 69dfd50bff3c64cbe995cf2e7fe35f08ff3afdabf569af3c592cff1ca47e3756 |
i386 | |
ltrace-0.5-20.45svn.el5.i386.rpm | SHA-256: 38fd8bc9afa39e9fa6e62991d7459daca6de0fcf38843d52c08fb05dacaa42d0 |
ltrace-debuginfo-0.5-20.45svn.el5.i386.rpm | SHA-256: b7a1cd917c7f226c5d0a2dce8d707819cbda5584f3a693bdb21c1d376b2b6226 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
ltrace-0.5-20.45svn.el5.src.rpm | SHA-256: 9ef9e490bc36f7cf8b5981e23c8f23ad34d64cdc700c2c42799ab2c816486172 |
x86_64 | |
ltrace-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 597f17be708b3b78a3f6ef934286ab1b4441f6958018c1b3876c1f7942c5f97e |
ltrace-debuginfo-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 69dfd50bff3c64cbe995cf2e7fe35f08ff3afdabf569af3c592cff1ca47e3756 |
i386 | |
ltrace-0.5-20.45svn.el5.i386.rpm | SHA-256: 38fd8bc9afa39e9fa6e62991d7459daca6de0fcf38843d52c08fb05dacaa42d0 |
ltrace-debuginfo-0.5-20.45svn.el5.i386.rpm | SHA-256: b7a1cd917c7f226c5d0a2dce8d707819cbda5584f3a693bdb21c1d376b2b6226 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
ltrace-0.5-20.45svn.el5.src.rpm | SHA-256: 9ef9e490bc36f7cf8b5981e23c8f23ad34d64cdc700c2c42799ab2c816486172 |
s390x | |
ltrace-0.5-20.45svn.el5.s390x.rpm | SHA-256: f3c7f66c9b03605afd5f912d379a540dbead5f5c2890a8a6ccc276931a4045e3 |
ltrace-debuginfo-0.5-20.45svn.el5.s390x.rpm | SHA-256: 5217fb9dafd5108984fcd03078de542f469998d1bdf4c9b9db3b25066d37cf3c |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
ltrace-0.5-20.45svn.el5.src.rpm | SHA-256: 9ef9e490bc36f7cf8b5981e23c8f23ad34d64cdc700c2c42799ab2c816486172 |
ppc | |
ltrace-0.5-20.45svn.el5.ppc.rpm | SHA-256: 91310959938a5403f7ac1a3ee2ef0430344260e34bf7fd141a65481434da909c |
ltrace-0.5-20.45svn.el5.ppc64.rpm | SHA-256: 3b2a510ebf04d8f6ab51dc0aec32f5661e1d921123389b50657a36207ed67a68 |
ltrace-debuginfo-0.5-20.45svn.el5.ppc.rpm | SHA-256: 488bca8e12658c51b7efc118408ac616705414c1d3499074ecdabc403dc3dd2b |
ltrace-debuginfo-0.5-20.45svn.el5.ppc64.rpm | SHA-256: 3f3e0a53858b2345f11263b98d6e99a371d210facf6fb5d0b6d03ed67a798388 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
ltrace-0.5-20.45svn.el5.src.rpm | SHA-256: 9ef9e490bc36f7cf8b5981e23c8f23ad34d64cdc700c2c42799ab2c816486172 |
x86_64 | |
ltrace-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 597f17be708b3b78a3f6ef934286ab1b4441f6958018c1b3876c1f7942c5f97e |
ltrace-debuginfo-0.5-20.45svn.el5.x86_64.rpm | SHA-256: 69dfd50bff3c64cbe995cf2e7fe35f08ff3afdabf569af3c592cff1ca47e3756 |
i386 | |
ltrace-0.5-20.45svn.el5.i386.rpm | SHA-256: 38fd8bc9afa39e9fa6e62991d7459daca6de0fcf38843d52c08fb05dacaa42d0 |
ltrace-debuginfo-0.5-20.45svn.el5.i386.rpm | SHA-256: b7a1cd917c7f226c5d0a2dce8d707819cbda5584f3a693bdb21c1d376b2b6226 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.