strace of splice() is invalid

Марк Коренберг socketpair at
Fri Oct 29 19:39:11 UTC 2010

strace of splice() is invalid

splice(0x4d, 0xa359de90, 0x50, 0, 0x10000, 0x4) = 65536
splice(0x4f, 0, 0x4e, 0xa359de88, 0x10000, 0x4) = 65536

man splice:
ssize_t splice(int fd_in, loff_t *off_in, int fd_out,
                      loff_t *off_out, size_t len, unsigned int flags);

at least FD should not be in hex. offset should be dereferenced,
length should not be in hex, flags should be parsed.

The same, I think, for vmsplice() and tee() syscalls. I use Ubuntu 10.04

mmarkk at imac:~$ strace -V
strace -- version 4.5.19

Segmentation fault

More information about the Strace-devel mailing list