[CRIU] crtools error: "can't splice to pipe"

Andrew Vagin avagin at parallels.com
Mon May 12 13:15:09 PDT 2014


On Mon, May 12, 2014 at 03:58:59PM -0400, J F wrote:
> 
>     > I see. I have fixed the problem. Could you apply the attached patch
>     > instead of the previous one.
> 
> 
> The script makes it past the previous "hang". I now see the following output
> followed by a script "hang", and the file trace.log is not generated.
> 
> + pid=4396
> + mkdir /tmp/debug
> mkdir: cannot create directory â/tmp/debugâ: File exists
> + mount -t debugfs debug /tmp/debug/
> mount: debug already mounted or /tmp/debug/ busy
> mount: according to mtab, debug is already mounted on /tmp/debug
> + echo 4396
> + echo function
> + echo 0
> + echo 1
> + ./criu dump --tree 4396 --shell-job --images-dir /mnt/mydata/dump
> pie: Error (pie/parasite.c:75): Can't splice pages to pipe (32768/25)
> >
> Error (parasite-syscall.c:387): si_code=2 si_pid=4465 si_status=9
> Error (parasite-syscall.c:297): Message reply from daemon is trimmed (12/0)
> Error (mem.c:346): Can't dump page with parasite
> Error (parasite-syscall.c:270): Failed to send command 7 to daemon
> : Broken pipe
> Error (mem.c:350): Can't rollback unprotected vmas with parasite

Hmmm... Does the criu process exist in this moment?

Could you start your java application again, execute this script and
wait error messages and then do following commands:

echo 0 > /tmp/debug/tracing/tracing_on &&
cat /tmp/debug/tracing/trace_pipe > /mnt/mydata/dump/trace.log || exit 1

and send trace.log to me

Thank you for the help.

> 
> 
> 


More information about the CRIU mailing list