Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 250068

Summary: strace doesn't show new futex calls
Product: Red Hat Enterprise MRG Reporter: IBM Bug Proxy <bugproxy>
Component: realtime-kernelAssignee: Arnaldo Carvalho de Melo <acme>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 1.0CC: lgoncalv
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: strace-4.5.16-1el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-08 18:24:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix the problem in strace none

Description IBM Bug Proxy 2007-07-30 10:46:56 UTC
LTC Owner is: sripathi.com
LTC Originator is: sripathi.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

OS: RHEL5.
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

 -Sripathi
-----------------------------------------------------------------------------------

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.

 -Sripathi
-----------------------------------------------------------------------------------

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:
http://bugzilla.redhat.com/bugzilla/attachment.cgi?id=155494

The package may be available soon in the repository.

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