systems-nuts / unifico

Compiler and build harness for heterogeneous-ISA binaries with the same stack layout.
3 stars 1 forks source link

CRIU segfault on restore for ARM #228

Open compor opened 1 year ago

compor commented 1 year ago

CRIU-het segfaults when restoring a process on ARM (sole server). This behaviour is reproduced in "vanilla" CRIU which points to an issue unrelated to the CRIU-het changes for the migration.

This is reproduced with a simple toy program built by the Popcorn compiler using the h-container Docker image.

git bisect revealed that this issue seems to have been fixed by this commit.

Next steps would be:

compor commented 1 year ago

@blackgeorge-boom is there another ARM machine with root access where we can try this?

Moreover, in terms of feasibility to backport, the patchset is extensive and stretches multiple commits till v3.17 (see here)

blackgeorge-boom commented 1 year ago

Thanks for the issue. Indeed we have another ARM machine, so I will check how to connect to it.

So, maybe it's better to update CRIU-het, than backporting to 3.11.

compor commented 1 year ago

Yeah, this might be the easiest way, but it is still some work which will depend on how much the image formats have changed since this is several versions later.