[CRIU] zdtm/static/fd failure on aarch64

Dmitry Safonov 0x7f454c46 at gmail.com
Mon Jun 11 23:19:21 MSK 2018


2018-06-11 19:42 GMT+01:00 Adrian Reber <adrian at lisas.de>:
[...]
> 4508  dup3(4, 0, 0)                     = 0
> 4508  close(4)                          = 0
> 4508  mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, 0, 0) = 0xffffa14a0000
> 4508  clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xffffa1502dd0) = 4509
> 4508  futex(0xffffa14a0000, FUTEX_WAIT, 0, NULL <unfinished ...>
> 4509  setsid()                          = 4509
> 4509  rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART}, NULL, 8) = 0
> 4509  mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = 0xffffa1300000
> 4509  futex(0xffffa1300000, FUTEX_WAIT, 2704277504, NULL) = -1 EAGAIN (Resource temporarily unavailable)
> 4509  brk(NULL)                         = 0x1f8d0000
> 4509  brk(0x1f900000)                   = 0x1f900000
> 4509  brk(NULL)                         = 0x1f900000
> 4509  openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
> 4509  fstat(4, {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
> 4509  fstat(4, {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
> 4509  mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffa12f0000
> 4509  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
> 4509  lseek(4, -2252, SEEK_CUR)         = 1267
> 4509  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
> 4509  close(4)                          = 0
> 4509  munmap(0xffffa12f0000, 65536)     = 0
> 4509  write(2, "14:41:27.635:  4509: ERR: ../lib"..., 99) = 99
> 4509  futex(0xffffa1300000, FUTEX_WAIT, 2704277504, NULL) = -1 EAGAIN (Resource temporarily unavailable)
> 4509  newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}, 0) = 0
> 4509  write(2, "14:41:27.636:  4509: ERR: ../lib"..., 99) = 99
> 4509  futex(0xffffa1300000, FUTEX_WAIT, 2704277504, NULL) = -1 EAGAIN (Resource temporarily unavailable)
> 4509  newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}, 0) = 0
> 4509  write(2, "14:41:27.636:  4509: ERR: ../lib"..., 99) = 99

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.

Thanks,
             Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-zdtm-lib-Check-EWOULDBLOCK-in-errno-instead-of-EWOUL.patch
Type: text/x-patch
Size: 1573 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20180611/d89cda26/attachment-0001.bin>


More information about the CRIU mailing list