[CRIU] Re: Restore failed if a process is dumped/restored in a loop

Cyrill Gorcunov gorcunov at openvz.org
Thu Sep 6 10:36:46 EDT 2012


On Thu, Sep 06, 2012 at 06:13:48PM +0400, Andrey Wagin wrote:
> I found that a wrong vma is marked as stack after restore
> Before dump:
> 7fffaddab000-7fffaddcc000 rw-p 00000000 00:00 0                          [stack]
> After restore:
> 00001000-00024000 rwxp 00000000 00:00 0
>   [stack:7559]
> 
> If a task calls any syscall, a correct vma will be marked as stack.
> It is, because pr_regs->esp in kernel is updated on syscalls.

could you please share the details on test case itself (ie what
I need to do to re-create the situation above?)

	Cyrill


More information about the CRIU mailing list