Bug 250068 - strace doesn't show new futex calls
Summary: strace doesn't show new futex calls
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel   
(Show other bugs)
Version: 1.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Arnaldo Carvalho de Melo
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-07-30 10:46 UTC by IBM Bug Proxy
Modified: 2008-02-27 19:57 UTC (History)
1 user (show)

Fixed In Version: strace-4.5.16-1el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-08 18:24:47 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to fix the problem in strace (1004 bytes, patch)
2007-07-30 10:46 UTC, IBM Bug Proxy
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
IBM Linux Technology Center 36706 None None None Never

Description IBM Bug Proxy 2007-07-30 10:46:56 UTC
LTC Owner is: sripathi@in.ibm.com
LTC Originator is: sripathi@in.ibm.com

strace does not understand PI related futex calls. strace output looks like this
for such calls:

11733 futex(0x602a20, 0x7 /* FUTEX_??? */, 11733 <unfinished ...>
11734 futex(0x602a20, 0x6 /* FUTEX_??? */, 1 <unfinished ...>
11732 <... futex resumed> )             = 0
11733 <... futex resumed> )             = 0

Kernel: 2.6.21-31.el5rt
glibc: glibc-2.5-12
version of strace: strace -- version 4.5.15
Hardware: Tried on glibc-2.5-16.1LS21, but it is not hardware specific


Created an attachment (id=29457)
Patch to fix the problem in strace

Attached patch fixes the problem. It defines in strace all the FUTEX_* calls
that are defined in glibc. Tested by running strace on a small testcase making
mutex lock/unlock calls on a PI mutex.


Comment 1 IBM Bug Proxy 2007-07-30 10:46:56 UTC
Created attachment 160232 [details]
Patch to fix the problem in strace

Comment 2 Luis Claudio R. Goncalves 2007-08-08 18:24:47 UTC
This bug has been fixed in strace-4.5.16-1, with a patch created to fix Bug
#241467. The patch includes more futex related options:

The package may be available soon in the repository.

Comment 3 IBM Bug Proxy 2007-09-25 14:13:16 UTC
------- Comment From sripathi@in.ibm.com 2007-09-19 09:50 EDT-------
I have verified that this is fixed in strace-4.5.16-1, which is shipping with

Note You need to log in before you can comment on or make changes to this bug.