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

4.100. ltrace


An updated ltrace package that fixes various bugs is now available.
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.

Bug Fix

BZ#733216
When tracing a process with many threads, the traced process would very likely be killed as the threads ran into breakpoins that wouldn't be handled by ltrace. With this update, ltrace attaches to the newly created threads, and carefully handles the breakpoints so that tracing events are not missed.
Note: when ltrace attached to a running process, that process could have been detached with the instruction pointer pointed 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.
All users of ltrace are advised to upgrade to this updated package, which resolves these issues.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.