[CRIU] zdtm/static/fd failure on aarch64

Dmitry Safonov 0x7f454c46 at gmail.com
Mon Jun 11 17:47:02 MSK 2018


2018-06-11 15:35 GMT+01:00 Adrian Reber <adrian at lisas.de>:
> Hi Dmitry,

Hi Adrian,

Thanks for looking into this,

> following tests are still failing on aarch64 on my setup:
>
>  * zdtm/static/fd(h)
>  * zdtm/static/cow01(h)
>  * zdtm/transition/maps007(h)
>
> I started to look closer at zdtm/static/fd and it seems to fail while
> running the mutex_lock() function:
>
> 10:12:24.210:  3813: ERR: ../lib/lock.h:148: futex (errno = 11 (Resource temporarily unavailable))
> 10:12:24.211:  3812: ERR: test.c:256: Test exited on unexpected signal 6
>
> In strace I see the following:
>
> [pid  3813] futex(0xffff9c140000, FUTEX_WAIT, 2618556417, NULL) = -1 EAGAIN (Resource temporarily unavailable)
>
> So somehow it cannot do the lock and fails.
>
> Any ideas what might be wrong here.
>
> In the code there is mmap(... PAGE_SIZE ...) which is done using the
> correct value for that platform.

Could you try with the attached patch?

-- 
             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: 982 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20180611/78aa4689/attachment-0001.bin>


More information about the CRIU mailing list