[Devel] Re: multi-threaded app fails to restart

Nathan Lynch ntl at pobox.com
Mon Jul 19 12:54:45 PDT 2010


On Mon, 2010-07-19 at 15:36 -0400, John Paul Walters wrote:
> [ 3210.327227] pthread_test[4033]: segfault at b781f424 ip b781f424 sp
> b75cc1c0 error 4
> [ 3210.330254] [4031:4031:c/r:wait_task_sync:919] task sync done (errno 0)
> [ 3210.330257] [4031:4031:c/r:clear_task_ctx:852] task 4031 clear checkpoint_ctx
> [ 3210.330259] [4031:4031:c/r:restore_debug_free:144] 4 tasks
> registered, nr_tasks was 0 nr_total 0
> [ 3210.330261] [4031:4031:c/r:restore_debug_free:147] active pid was
> 2, ctx->errno 0
> [ 3210.330263] [4031:4031:c/r:restore_debug_free:149] kflags 22 uflags
> 0 oflags 1
> [ 3210.330265] [4031:4031:c/r:restore_debug_free:151] task[0] to run 4031
> [ 3210.330267] [4031:4031:c/r:restore_debug_free:151] task[1] to run 4033
> [ 3210.330269] [4031:4031:c/r:restore_debug_free:176] pid 4029 type
> Coord state Success
> [ 3210.330272] [4031:4031:c/r:restore_debug_free:176] pid 4031 type
> Root state Success
> [ 3210.330274] [4031:4031:c/r:restore_debug_free:176] pid 4033 type
> Task state Success
> [ 3210.330276] [4031:4031:c/r:restore_debug_free:176] pid 4032 type
> Ghost state Success
> [ 3210.330285] [4031:4031:c/r:pgarr_release_pages:102] total pages 0
> [ 3210.330288] [4031:4031:c/r:do_restart:1451] sys_restart returns -512
> 
> Any thoughts?

There were two patches posted to the containers list on 11 July - "fix
task tree traversal for threads" and "save/restore 'sysenter_return' for
threads".  Can you try with those on top of ckpt-v22-dev?


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list