Package: strace Version: 3.1-2 When tracing programs, I sometimes see messages like this: [..] mprotect(0x80000000, 20797, PROT_READ|PROT_EXEC) = 0 mprotect(0xc0008000, 386288, PROT_READ|PROT_EXEC) = 0 mprotect(0xc0000000, 15787, PROT_READ|PROT_EXEC) = 0 open(ptrace: umoven: I/O error ^^^^^^^^^^^^^^^^^^^^^^^^^
I only tried this on m68k, but I heard it also happens on i386. Andreas Schwab suggested a fix, which at least works for me; I hope it will also work for anyone else: --- strace-3.1/util.c.~1~ Tue May 21 05:32:23 1996 +++ strace-3.1/util.c Tue Sep 3 14:24:00 1996 @@ -604,7 +604,7 @@ int len; char *laddr; { -#ifndef SUNOS4 +#if !defined (SUNOS4) && !defined (LINUX) return umoven(tcp, addr, len, laddr); #else /* SUNOS4 */ int pid = tcp->pid; Greetings, Frank