Red Hat Bugzilla – Bug 107703
fstat() syscall is not recognized by strace on ia64
Last modified: 2007-11-30 17:06:53 EST
This problem is with strace-4.3-2. It is reproducable, and happen
When running 'strace stat <file/directory>' on RedHat Linux
Advanced Server 2.1AS for ia64, the call to fstat() is not
displayed as it should.
Here are an example of the problematic lines:
open("/etc/localtime", O_RDONLY) = 4
SYS_1212(0x4, 0x60000fffffffb350, 0x10000, 0x3, 0x22,
0xffffffffffffffff, 0, 0x4) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2000000000354000
The call to SYS_1212() should be translated to something readable
instead, like it is on ix86. Calls to SYS_1210() have the same
problem. This make it hard to know what the call to fstat() actually
To reproduce it, just run 'strace stat file | grep SYS_' and look
at the output.
I discovered this while trying to find out why ia64 linux are
unable to properly handle files owned by users with UID > 65k.
I'll report that bug separately when I know more.
This problem seem to be fixed in strace version 4.4.92.
We have fixed this problem and have a new strace in RHEL2.1 errata
coming out soon.