[CRIU] simple loop dump fail

Andrew Vagin avagin at odin.com
Wed May 27 05:08:16 PDT 2015


On Tue, May 26, 2015 at 04:56:57PM +0300, Nemo Wright wrote:
> ​I tried criu wiki "Simple Loop" tutorial but ran into the following problem:
> 
> (00.003078) lockinfo: 7:1 1 1731 fd:02:917857 0 EOF
> (00.003085) lockinfo: 8:1 1 1731 fd:02:786673 1073741824 1073742335
> (00.003092) lockinfo: 9:-1 1 1494 fd:02:920344 0 0
> (00.003097) Error (proc_parse.c:1553): Unknown file lock!
> (00.003129) Unlock network
> (00.003134) Unfreezing tasks into 1
> (00.003208) Error (cr-dump.c:1979): Dumping FAILED.
> 
> full log attached.

Could you show content of /proc/locks?

This issue looks very similar with
https://bugzilla.openvz.org/show_bug.cgi?id=3226

We reworked of dumping locks in the 4.1 kernel, which is going to be
released very soon.

> (00.000080) Probing sock diag modules
> (00.000188) Done probing
> (00.000194) ========================================
> (00.000201) Dumping processes (pid: 3108)
> (00.000205) ========================================
> (00.000342) Found anon-shmem device at 5
> (00.000905) Reset 3133's dirty tracking
> (00.001005)  ... done
> (00.001064) Dirty track supported on kernel
> (00.001633) irmap: Searching irmap cache in work dir
> (00.001689) irmap: Searching irmap cache in parent
> (00.001695) irmap: No irmap cache
> (00.001963) Writing image inventory (version 1)
> (00.002063) Add pid ns 1 pid 3133
> (00.002076) Add net ns 2 pid 3133
> (00.002086) Add ipc ns 3 pid 3133
> (00.002095) Add uts ns 4 pid 3133
> (00.002104) Add mnt ns 5 pid 3133
> (00.002113) Add user ns 6 pid 3133
> (00.002118) cg: Dumping cgroups for 3133
> (00.002171) cg: Set 1 is criu one
> (00.002291) Seized task 3108, state 1
> (00.002848) Collected 3108 in 1 state
> (00.002926) Lock network
> (00.003028) lockinfo: 1:1 1 1731 fd:02:786796 1073741825 1073741825
> (00.003040) lockinfo: 2:1 0 1731 fd:02:786796 1073741826 1073742335
> (00.003049) lockinfo: 3:1 1 1731 fd:02:786683 1073741824 1073742335
> (00.003056) lockinfo: 4:1 1 1731 fd:02:786677 1073741824 1073742335
> (00.003063) lockinfo: 5:1 1 1731 fd:02:786704 1073741824 1073742335
> (00.003071) lockinfo: 6:1 1 1731 fd:02:919804 1073741824 1073742335
> (00.003078) lockinfo: 7:1 1 1731 fd:02:917857 0 EOF
> (00.003085) lockinfo: 8:1 1 1731 fd:02:786673 1073741824 1073742335
> (00.003092) lockinfo: 9:-1 1 1494 fd:02:920344 0 0
> (00.003097) Error (proc_parse.c:1553): Unknown file lock!
> (00.003129) Unlock network
> (00.003134) Unfreezing tasks into 1
> (00.003208) Error (cr-dump.c:1979): Dumping FAILED.

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list