[CRIU] criu dump will block at arm64?

long.wanglong long.wanglong at huawei.com
Wed Apr 20 05:07:54 PDT 2016


Hi, all

I built criu on arm64, the version is :

ubuntu at ubuntu:~/criu$ git describe
v2.1-115-g55fa530

and test criu with the following steps:

root at ubuntu:/home/ubuntu/criu-test# setsid ./test.sh  < /dev/null &> test.log &
[1] 15916
root at ubuntu:/home/ubuntu/criu-test# ps -C test.sh
  PID TTY          TIME CMD
15917 ?        00:00:00 test.sh
[1]+  Done                    setsid ./test.sh < /dev/null &> test.log
root at ubuntu:/home/ubuntu/criu-test# criu dump -t 15917 -vvv -o dump.log && echo OK

**it will be blocked at here**


the tail of dump.log is :

(00.007494) 0x7f860b3000-0x7f860b4000 (4K) prot 0x5 flags 0x22 st 0x209 off 0 reg vdso ap  shmid: 0
(00.007499) 0x7f860b4000-0x7f860b5000 (4K) prot 0x5 flags 0x2 st 0x41 off 0x1c000 reg fp  shmid: 0
(00.007504) 0x7f860b5000-0x7f860b7000 (8K) prot 0x7 flags 0x2 st 0x41 off 0x1d000 reg fp  shmid: 0
(00.007508) 0x7fe20f4000-0x7fe2116000 (136K) prot 0x7 flags 0x122 st 0x201 off 0 reg ap  shmid: 0
(00.007513) ----------------------------------------
(00.007521)
(00.007524) Collecting fds (pid: 15917)
(00.007528) ----------------------------------------
(00.007557) Found 4 file descriptors
(00.007563) ----------------------------------------
(00.007715) Set up parasite blob using memfd
(00.007723) Putting parasite blob into 0x7f9254f000->0x7f85f34000
(00.007745) Dumping GP/FPU registers for 15917
(00.007757) Putting tsock into pid 15917

The tail  output of `strace criu dump -t 15917 -vvv -o dump.log && echo OK`

write(1023, "(00.027384) Set up parasite blob"..., 45) = 45
write(1023, "(00.027428) Putting parasite blo"..., 66) = 66
write(1023, "(00.027496) Dumping GP/FPU regis"..., 47) = 47
ptrace(PTRACE_GETREGSET, 15917, NT_PRSTATUS, [{0x7fda97e680, 272}]) = 0
ptrace(PTRACE_GETREGSET, 15917, NT_FPREGSET, [{0x7fda97e420, 528}]) = 0
write(1023, "(00.027620) Putting tsock into p"..., 41) = 41
bind(6, {sa_family=AF_LOCAL, sun_path=@"/crtools-pr-16912"}, 20) = 0
listen(6, 1)                            = 0
rt_sigaction(SIGCHLD, {0x46041c, [CHLD], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
ptrace(0x420b /* PTRACE_??? */, 15917, 0x8, 0x7fda97e4a0) = 0
ptrace(PTRACE_SETREGSET, 15917, NT_PRSTATUS, [{0x7fda97e528, 272}]) = 0
ptrace(PTRACE_CONT, 15917, 0, SIG_0)    = 0
accept(6,


It blocked at accept system call.

I would like to ask for ideas, how this problem can be solved.

Best Regards
Wang Long



More information about the CRIU mailing list