New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restore enters infinite "preadv" loop #424
Comments
Could you collect a strace log for criu restore? |
I've reproduced this issue on my hardware, will fix soon. Thank you for this report. |
Here is a quick fix for this problem:
|
criupatchwork
pushed a commit
to criupatchwork/criu
that referenced
this issue
Dec 15, 2017
It has two arguments "pos_l and "pos_h" instead of one "off". It is used to handle 64-bit offsets on 32-bit kernels. SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen, unsigned long, pos_l, unsigned long, pos_h) checkpoint-restore#424 Signed-off-by: Andrei Vagin <avagin@openvz.org>
avagin
added a commit
that referenced
this issue
Dec 15, 2017
It has two arguments "pos_l and "pos_h" instead of one "off". It is used to handle 64-bit offsets on 32-bit kernels. SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen, unsigned long, pos_l, unsigned long, pos_h) #424 Signed-off-by: Andrei Vagin <avagin@openvz.org> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin
added a commit
that referenced
this issue
Dec 15, 2017
It has two arguments "pos_l and "pos_h" instead of one "off". It is used to handle 64-bit offsets on 32-bit kernels. SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen, unsigned long, pos_l, unsigned long, pos_h) #424 Signed-off-by: Andrei Vagin <avagin@openvz.org> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin
added a commit
to avagin/criu
that referenced
this issue
Dec 19, 2017
It has two arguments "pos_l and "pos_h" instead of one "off". It is used to handle 64-bit offsets on 32-bit kernels. SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec, unsigned long, vlen, unsigned long, pos_l, unsigned long, pos_h) checkpoint-restore#424 Signed-off-by: Andrei Vagin <avagin@openvz.org> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CRIU seems to enter an infinite loop when trying to restore.
It always prints the same line and never stops.
I have the same behaviour with any program I test.
I am using CRIU v3.6
Raspberrypi 3, kernel 4.9.67-v7+
Do you have any idea how to debug?
restore.log
dump.log
The text was updated successfully, but these errors were encountered: