此内容没有您所选择的语言版本。

7.239. strace


Updated strace packages that fix two bugs and add one enhancement are now available for Red Hat Enterprise Linux 6.
The strace packages provide a utility to intercept and record the system calls called and received by a running process. The strace utility can print a record of each system call, its arguments and its return value. The strace utility is useful for diagnosing, debugging and instructional purposes.

Bug Fixes

BZ#759569
Prior to this update, the strace utility extracted arguments for the "semtimedop" system call from the wrong location on the IBM System z platforms. As a consequence, arguments for the "semtimedop" system call were incorrectly displayed. This update modifies strace to extract the arguments from the correct memory location so that the arguments for the "semtimedop" system call are displayed as expected.
BZ#837183
Prior to this update, the strace utility used special breakpoints to trace fork/vfork/clone system calls. As a consequence, sometimes strace could cause applications to crash when following fork/vfork/clone system calls. This update modifies strace to use PTRACE_SETOPTIONS to set the behavior at fork/vfork/clone system calls and applications no longer crash.

Enhancement

BZ#809917
Prior to this update, strace incorrectly decoded system calls when tracing a 32-bit process on a 64-bit machine, because strace on IBM System z platforms is not multi-arch aware. This update provides an additional strace executable (strace32) which can be used to trace 32-bit processes on 64-bit machines.
All users of strace are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.