Este conteúdo não está disponível no idioma selecionado.
8.227. strace
Updated strace packages that fix two bugs are now available for Red Hat Enterprise Linux 6.
The strace utility intercepts and records the system calls that are made and received by a running process and prints a record of each system call, its arguments, and its return value to standard error output or a file. It is often used for problem diagnoses, debugging, and for instructional purposes.
Bug Fixes
- BZ#862321
- Previously, the strace utility incorrectly assumed that the size of the integer data type and the size of the long data type was the same. As a consequence, strace incorrectly printed the options of a getsockopt call on targets with different sizes of integer and long. A patch has been applied to address this bug, and strace no longer returns incorrect values in the described situation.
- BZ#1044605
- Previously, invalid system calls were not required to have names in the system calls table. As a consequence, running the "strace -c -S name" command resulted in a segmentation fault under certain circumstances. With this update, invalid system calls are properly handled, and sorting calls by name now works as expected.
Users of strace are advised to upgrade to these updated packages, which fix these bugs.