[CRIU] zdtm/static/fd failure on aarch64
Adrian Reber
adrian at lisas.de
Mon Jun 11 23:34:01 MSK 2018
On Mon, Jun 11, 2018 at 09:19:21PM +0100, Dmitry Safonov wrote:
> I'm awfully sorry about asking you so many times..
> Maybe the thing is in sizeof(unsigned int) != 4 on arm64?
>
> Returning back to the first version + correcting definition for syscall.
This was also something I was suspecting, that the syscall is not done
correctly, but your patch does not help. Same result:
5085 dup3(4, 0, 0) = 0
5085 close(4) = 0
5085 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, 0, 0) = 0xffff97050000
5085 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xffff970b2dd0) = 5086
5085 futex(0xffff97050000, FUTEX_WAIT, 0, NULL <unfinished ...>
5086 setsid() = 5086
5086 rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART}, NULL, 8) = 0
5086 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = 0xffff96eb0000
5086 futex(0xffff96eb0000, FUTEX_WAIT, 2531983361, NULL) = -1 EAGAIN (Resource temporarily unavailable)
5086 brk(NULL) = 0x2e920000
5086 brk(0x2e950000) = 0x2e950000
5086 brk(NULL) = 0x2e950000
5086 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
5086 fstat(4, {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
5086 fstat(4, {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
5086 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff96ea0000
5086 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 8192) = 3519
5086 lseek(4, -2252, SEEK_CUR) = 1267
5086 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 8192) = 2252
5086 close(4) = 0
5086 munmap(0xffff96ea0000, 65536) = 0
5086 write(2, "16:31:33.969: 5086: ERR: ../lib"..., 99) = 99
5086 futex(0xffff96eb0000, FUTEX_WAIT, 2531983361, NULL) = -1 EAGAIN (Resource temporarily unavailable)
5086 newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}, 0) = 0
5086 write(2, "16:31:33.971: 5086: ERR: ../lib"..., 99) = 99
5086 futex(0xffff96eb0000, FUTEX_WAIT, 2531983361, NULL) = -1 EAGAIN (Resource temporarily unavailable)
5086 newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}, 0) = 0
5086 write(2, "16:31:33.971: 5086: ERR: ../lib"..., 99) = 99
Adrian
More information about the CRIU
mailing list