[CRIU] Dump Failure with 3.18 and OverlayFS

Andrew Vagin avagin at odin.com
Tue Apr 14 00:06:38 PDT 2015


On Mon, Apr 13, 2015 at 01:36:54PM -0700, Saied Kazemi wrote:
> Hi Andrew and Pavel,
> 
> CRIU fails to dump a Docker container created on 3.18 with OverlayFS with the
> following error message:
> 
> (00.176154) Error (files-reg.c:821): Unable to look up the 37 mount
> 
> I do not find mnt_id 37 anywhere (neither in the container's mount namespace
> nor in the global namespace).
> 
> Before digging deeper, wanted to quickly check if you've seen this problem
> before.  As you know, starting with 3.18, OverlayFS is the preferred storage
> driver for Docker so CRIU needs to support it.
> 
> I have attached dump.log.  Also, below is a snippet of my terminal.

$ mount -t overlay overlay -olowerdir=a,upperdir=b,workdir=c z
$ python
>>> fd = open("z/a", "w")
>>> 

$ ls -l /proc/16492/fd
total 0
lrwx------ 1 root root 64 Apr 14 09:50 0 -> /dev/pts/3
lrwx------ 1 root root 64 Apr 14 09:50 1 -> /dev/pts/3
lrwx------ 1 root root 64 Apr 14 09:44 2 -> /dev/pts/3
l-wx------ 1 root root 64 Apr 14 09:50 3 -> /a
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the path is reported incorrectly too

$ cat /proc/16492/fdinfo/3
pos:	0
flags:	0100001
mnt_id:	164

$ cat /proc/self/mountinfo | grep over
163 77 0:42 / /home/avagin/tmp/z rw,relatime shared:109 - overlay overlay rw,lowerdir=a,upperdir=b,workdir=c

I think we need to report all this issues into lkml. Overlay is a new
file system, so we have a big chance that all of them will be fixed.

> 
> Thanks,
> 
> --Saied
> 
> 
> # pwd
> /proc/16030
> 
> # ls -l fd
> total 0
> lr-x------ 1 root root 64 Apr 13 12:58 0 -> /dev/null
> l-wx------ 1 root root 64 Apr 13 12:58 1 -> pipe:[147784]
> lrwx------ 1 root root 64 Apr 13 12:58 10 -> socket:[191845]
> l-wx------ 1 root root 64 Apr 13 12:58 2 -> /usr/local/nginx-streaming/logs/
> error.log
> lrwx------ 1 root root 64 Apr 13 12:58 3 -> socket:[191844]
> l-wx------ 1 root root 64 Apr 13 12:58 4 -> /usr/local/nginx-streaming/logs/
> access.log
> l-wx------ 1 root root 64 Apr 13 12:58 5 -> /var/log/nginx-streaming/
> access-streaming.log
> l-wx------ 1 root root 64 Apr 13 12:58 6 -> /var/log/nginx-streaming/
> error-streaming.log
> l-wx------ 1 root root 64 Apr 13 12:58 7 -> /usr/local/nginx-streaming/logs/
> error.log
> lrwx------ 1 root root 64 Apr 13 12:58 8 -> socket:[191837]
> lrwx------ 1 root root 64 Apr 13 12:58 9 -> socket:[191838]
> 
> # grep 37 fdinfo/*
> fdinfo/2:mnt_id: 37
> fdinfo/4:mnt_id: 37
> fdinfo/5:mnt_id: 37
> fdinfo/6:mnt_id: 37
> fdinfo/7:mnt_id: 37
> 
> # cat mountinfo 
> 66 39 0:30 / / rw,relatime - overlay overlay rw,lowerdir=/sda2/docker/overlay/
> f5296f2a5837f999642df5f17fe9ccdfcf5261eafc16282a54f31fadb6121fac/root,upperdir=
> /sda2/docker/overlay/
> 064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/upper,workdir=
> /sda2/docker/overlay/
> 064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/work
> 67 66 0:32 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
> 68 66 0:33 / /dev rw,nosuid - tmpfs tmpfs rw,mode=755
> 69 68 0:34 / /dev/shm rw,nosuid,nodev,noexec,relatime - tmpfs shm rw,size=
> 65536k
> 70 68 0:31 / /dev/mqueue rw,nosuid,nodev,noexec,relatime - mqueue mqueue rw
> 71 68 0:35 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=
> 620,ptmxmode=666
> 72 66 0:36 / /sys ro,nosuid,nodev,noexec,relatime - sysfs sysfs ro
> 73 66 8:2 /docker/containers/
> 064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/resolv.conf /
> etc/resolv.conf rw,relatime - ext4 /dev/sda2 rw,data=ordered
> 74 66 8:2 /docker/containers/
> 064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/hostname /etc/
> hostname rw,relatime - ext4 /dev/sda2 rw,data=ordered
> 75 66 8:2 /docker/containers/
> 064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/hosts /etc/
> hosts rw,relatime - ext4 /dev/sda2 rw,data=ordered
> 40 67 0:32 /sys /proc/sys ro,nosuid,nodev,noexec,relatime - proc proc rw
> 41 67 0:32 /sysrq-trigger /proc/sysrq-trigger ro,nosuid,nodev,noexec,relatime -
> proc proc rw
> 42 67 0:32 /irq /proc/irq ro,nosuid,nodev,noexec,relatime - proc proc rw
> 43 67 0:32 /bus /proc/bus ro,nosuid,nodev,noexec,relatime - proc proc rw
> 44 67 0:33 /null /proc/kcore rw,nosuid - tmpfs tmpfs rw,mode=755
> 
> # grep -w 37 /proc/[1-9]*/mountinfo
> #
> 
> 
> 

> (00.000088) Probing sock diag modules
> (00.159358) Done probing
> (00.159390) ========================================
> (00.159395) Dumping processes (pid: 16030)
> (00.159399) ========================================
> (00.159548) Found anon-shmem device at 4
> (00.161167) Reset 16496's dirty tracking
> (00.163397)  ... done
> (00.166178) Dirty track supported on kernel
> (00.166251) irmap: Searching irmap cache in work dir
> (00.166277) No irmap-cache image
> (00.166292) irmap: Searching irmap cache in parent
> (00.166299) irmap: No irmap cache
> (00.166315) cpu: fpu:1 fxsr:1 xsave:1
> (00.166439) vdso: Parsing at 7fff7283e000 7fff72840000
> (00.166457) vdso: PT_LOAD p_vaddr: 0
> (00.166462) vdso: DT_HASH: 0x120
> (00.166465) vdso: DT_STRTAB: 0x268
> (00.166468) vdso: DT_SYMTAB: 0x160
> (00.166471) vdso: DT_STRSZ: 94
> (00.166475) vdso: DT_SYMENT: 24
> (00.166478) vdso: nbucket 3 nchain 11 bucket 0x7fff7283e128 chain 0x7fff7283e134
> (00.166485) vdso: rt [vdso] 7fff7283e000-7fff72840000 [vvar] 7fff7283c000-7fff7283e000
> (00.166585) Writing image inventory (version 1)
> (00.166653) Add pid ns 1 pid 16496
> (00.166676) Add net ns 2 pid 16496
> (00.166688) Add ipc ns 3 pid 16496
> (00.166699) Add uts ns 4 pid 16496
> (00.166712) Add mnt ns 5 pid 16496
> (00.166722) Add user ns 6 pid 16496
> (00.166726) cg: Dumping cgroups for 16496
> (00.166799) cg:  `- New css ID 1
> (00.166811) cg:     `- [blkio] -> [/user/1003.user/c3.session]
> (00.166815) cg:     `- [cpu] -> [/user/1003.user/c3.session]
> (00.166818) cg:     `- [cpuacct] -> [/user/1003.user/c3.session]
> (00.166821) cg:     `- [cpuset] -> [/]
> (00.166824) cg:     `- [devices] -> [/user/1003.user/c3.session]
> (00.166827) cg:     `- [freezer] -> [/user/1003.user/c3.session]
> (00.166830) cg:     `- [memory] -> [/user/1003.user/c3.session]
> (00.166833) cg:     `- [name=systemd] -> [/user/1003.user/c3.session]
> (00.166836) cg:     `- [perf_event] -> [/user/1003.user/c3.session]
> (00.166839) cg: Set 1 is criu one
> (00.166949) Seized task 16030, state 1
> (00.167066) Seized task 16064, state 0
> (00.167175) Collected 16064 in 1 state
> (00.167205) Collected 16030 in 1 state
> (00.167229) Will take pid namespace in the image
> (00.167234) Add pid ns 7 pid 16030
> (00.167244) Will take net namespace in the image
> (00.167247) Add net ns 8 pid 16030
> (00.167256) Will take ipc namespace in the image
> (00.167260) Add ipc ns 9 pid 16030
> (00.167268) Will take uts namespace in the image
> (00.167271) Add uts ns 10 pid 16030
> (00.167281) Will take mnt namespace in the image
> (00.167284) Add mnt ns 11 pid 16030
> (00.167338) Lock network
> (00.167346) Running network-lock scripts
> (00.167445) lockinfo: 1:2 1 987 00:11:8625 0 EOF
> (00.167465) lockinfo: 2:2 1 829 00:0e:1606 0 EOF
> (00.167581) 	type overlay source overlay mnt_id 66 s_dev 0x1e / @ ./ flags 0x200000 options lowerdir=/sda2/docker/overlay/f5296f2a5837f999642df5f17fe9ccdfcf5261eafc16282a54f31fadb6121fac/root,upperdir=/sda2/docker/overlay/064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/upper,workdir=/sda2/docker/overlay/064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/work
> (00.167603) 	type proc source proc mnt_id 67 s_dev 0x20 / @ ./proc flags 0x20000e options 
> (00.167616) 	type tmpfs source tmpfs mnt_id 68 s_dev 0x21 / @ ./dev flags 0x2 options mode=755
> (00.167626) 	type tmpfs source shm mnt_id 69 s_dev 0x22 / @ ./dev/shm flags 0x20000e options size=65536k
> (00.167635) 	type mqueue source mqueue mnt_id 70 s_dev 0x1f / @ ./dev/mqueue flags 0x20000e options 
> (00.167643) 	type devpts source devpts mnt_id 71 s_dev 0x23 / @ ./dev/pts flags 0x20000a options gid=5,mode=620,ptmxmode=666
> (00.167720) 	type sysfs source sysfs mnt_id 72 s_dev 0x24 / @ ./sys flags 0x20000f options 
> (00.167740) 	type ext4 source /dev/sda2 mnt_id 73 s_dev 0x800002 /docker/containers/064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/resolv.conf @ ./etc/resolv.conf flags 0x200000 options data=ordered
> (00.168067) 	type ext4 source /dev/sda2 mnt_id 74 s_dev 0x800002 /docker/containers/064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/hostname @ ./etc/hostname flags 0x200000 options data=ordered
> (00.168067) 	type ext4 source /dev/sda2 mnt_id 75 s_dev 0x800002 /docker/containers/064769518b7a26b601c199cbf806682a48f44755f934e2b9261f5515bcadfad0/hosts @ ./etc/hosts flags 0x200000 options data=ordered
> (00.168084) 	type proc source proc mnt_id 40 s_dev 0x20 /sys @ ./proc/sys flags 0x20000f options 
> (00.168093) 	type proc source proc mnt_id 41 s_dev 0x20 /sysrq-trigger @ ./proc/sysrq-trigger flags 0x20000f options 
> (00.168101) 	type proc source proc mnt_id 42 s_dev 0x20 /irq @ ./proc/irq flags 0x20000f options 
> (00.168108) 	type proc source proc mnt_id 43 s_dev 0x20 /bus @ ./proc/bus flags 0x20000f options 
> (00.168116) 	type tmpfs source tmpfs mnt_id 44 s_dev 0x21 /null @ ./proc/kcore flags 0x2 options mode=755
> (00.168137) Building mountpoints tree
> (00.168145) 	Building plain mount tree
> (00.168148) 		Working on 44->67
> (00.168151) 		Working on 43->67
> (00.168154) 		Working on 42->67
> (00.168158) 		Working on 41->67
> (00.168161) 		Working on 40->67
> (00.168164) 		Working on 75->66
> (00.168167) 		Working on 74->66
> (00.168170) 		Working on 73->66
> (00.168173) 		Working on 72->66
> (00.168176) 		Working on 71->68
> (00.168179) 		Working on 70->68
> (00.168182) 		Working on 69->68
> (00.168185) 		Working on 68->66
> (00.168188) 		Working on 67->66
> (00.168191) 		Working on 66->39
> (00.168195) 	Resorting siblings on 66
> (00.168516) 	Resorting siblings on 75
> (00.168528) 	Resorting siblings on 74
> (00.168532) 	Resorting siblings on 73
> (00.168535) 	Resorting siblings on 72
> (00.168539) 	Resorting siblings on 68
> (00.168542) 	Resorting siblings on 71
> (00.168545) 	Resorting siblings on 70
> (00.168548) 	Resorting siblings on 69
> (00.168551) 	Resorting siblings on 67
> (00.168554) 	Resorting siblings on 44
> (00.168557) 	Resorting siblings on 43
> (00.168560) 	Resorting siblings on 42
> (00.168563) 	Resorting siblings on 41
> (00.168566) 	Resorting siblings on 40
> (00.168569) Done:
> (00.168572) [./](66->39)
> (00.168575)  [./sys](72->66)
> (00.168578)  <--
> (00.168581)  [./proc](67->66)
> (00.168585)   [./proc/kcore](44->67)
> (00.168588)   <--
> (00.168591)   [./proc/sys](40->67)
> (00.168594)   <--
> (00.168597)   [./proc/sysrq-trigger](41->67)
> (00.168600)   <--
> (00.168602)   [./proc/irq](42->67)
> (00.168605)   <--
> (00.168608)   [./proc/bus](43->67)
> (00.168611)   <--
> (00.168614)  <--
> (00.168616)  [./dev](68->66)
> (00.168619)   [./dev/pts](71->68)
> (00.168622)   <--
> (00.168625)   [./dev/shm](69->68)
> (00.168628)   <--
> (00.168631)   [./dev/mqueue](70->68)
> (00.168634)   <--
> (00.168637)  <--
> (00.168640)  [./etc/hosts](75->66)
> (00.168643)  <--
> (00.168646)  [./etc/resolv.conf](73->66)
> (00.168649)  <--
> (00.168652)  [./etc/hostname](74->66)
> (00.168655)  <--
> (00.168658) <--
> (00.168666) Found /etc/hosts mapping for ./etc/hosts mountpoint
> (00.168670) Found /etc/hostname mapping for ./etc/hostname mountpoint
> (00.168673) Found /etc/resolv.conf mapping for ./etc/resolv.conf mountpoint
> (00.168678) Collecting netns 8/16030
> (00.168681) Switching to 16030's net for collecting sockets
> (00.168807) 	Collected: ino 0x2ed64 peer_ino 0x2ed65 family    1 type    1 state  1 name (null)
> (00.168823) 	Collected: ino 0x2eda3 peer_ino 0 family    1 type    5 state  7 name (null)
> (00.168828) 	Collected: ino 0x2ed65 peer_ino 0x2ed64 family    1 type    1 state  1 name (null)
> (00.169857) 	Collected: ino 0x   2ed5e family    2 type    1 port     8080 state 10 src_addr 0.0.0.0
> (00.169874) 	Collected: ino 0x   2ed5d family    2 type    1 port    65000 state 10 src_addr 0.0.0.0
> (00.171522) Collect netlink sock 0x2414c
> (00.171541) Collect netlink sock 0x2eda2
> (00.171545) Collect netlink sock 0x24154
> (00.171548) Collect netlink sock 0x24156
> (00.171552) Collect netlink sock 0x2414f
> (00.171555) Collect netlink sock 0x24155
> (00.171558) Collect netlink sock 0x2414d
> (00.171561) Collect netlink sock 0x2414e
> (00.171627) ========================================
> (00.171631) Dumping task (pid: 16030)
> (00.171631) ========================================
> (00.171631) Obtaining task stat ... (00.171643) 
> (00.171651) Collecting mappings (pid: 16030)
> (00.171654) ----------------------------------------
> (00.172969) vma 6b7000 borrows vfi from previous 400000
> (00.173067) vma 6b8000 borrows vfi from previous 6b7000
> (00.173083) vma 7f2e9157f000 borrows vfi from previous 7f2e91574000
> (00.173158) vma 7f2e9177e000 borrows vfi from previous 7f2e9157f000
> (00.173171) vma 7f2e9177f000 borrows vfi from previous 7f2e9177e000
> (00.173214) vma 7f2e9178b000 borrows vfi from previous 7f2e91780000
> (00.173226) vma 7f2e9198a000 borrows vfi from previous 7f2e9178b000
> (00.173234) vma 7f2e9198b000 borrows vfi from previous 7f2e9198a000
> (00.173325) vma 7f2e919a3000 borrows vfi from previous 7f2e9198c000
> (00.173345) vma 7f2e91ba2000 borrows vfi from previous 7f2e919a3000
> (00.173354) vma 7f2e91ba3000 borrows vfi from previous 7f2e91ba2000
> (00.173401) vma 7f2e91baf000 borrows vfi from previous 7f2e91ba6000
> (00.173413) vma 7f2e91dae000 borrows vfi from previous 7f2e91baf000
> (00.173509) vma 7f2e91daf000 borrows vfi from previous 7f2e91dae000
> (00.173555) vma 7f2e91db3000 borrows vfi from previous 7f2e91db0000
> (00.173567) vma 7f2e91fb2000 borrows vfi from previous 7f2e91db3000
> (00.173574) vma 7f2e91fb3000 borrows vfi from previous 7f2e91fb2000
> (00.173611) vma 7f2e9216f000 borrows vfi from previous 7f2e91fb4000
> (00.173697) vma 7f2e9236e000 borrows vfi from previous 7f2e9216f000
> (00.173709) vma 7f2e92372000 borrows vfi from previous 7f2e9236e000
> (00.173757) vma 7f2e92391000 borrows vfi from previous 7f2e92379000
> (00.173774) vma 7f2e92590000 borrows vfi from previous 7f2e92391000
> (00.173782) vma 7f2e92591000 borrows vfi from previous 7f2e92590000
> (00.173892) vma 7f2e92744000 borrows vfi from previous 7f2e92592000
> (00.173905) vma 7f2e92943000 borrows vfi from previous 7f2e92744000
> (00.173913) vma 7f2e9295e000 borrows vfi from previous 7f2e92943000
> (00.173955) vma 7f2e929c1000 borrows vfi from previous 7f2e9296d000
> (00.174067) vma 7f2e92bc1000 borrows vfi from previous 7f2e929c1000
> (00.174067) vma 7f2e92bc4000 borrows vfi from previous 7f2e92bc1000
> (00.174095) vma 7f2e92c08000 borrows vfi from previous 7f2e92bcb000
> (00.174108) vma 7f2e92e07000 borrows vfi from previous 7f2e92c08000
> (00.174115) vma 7f2e92e08000 borrows vfi from previous 7f2e92e07000
> (00.174205) vma 7f2e92e12000 borrows vfi from previous 7f2e92e09000
> (00.174217) vma 7f2e93012000 borrows vfi from previous 7f2e92e12000
> (00.174229) vma 7f2e93013000 borrows vfi from previous 7f2e93012000
> (00.174278) vma 7f2e9305b000 borrows vfi from previous 7f2e93042000
> (00.174295) vma 7f2e9325a000 borrows vfi from previous 7f2e9305b000
> (00.174362) vma 7f2e9325b000 borrows vfi from previous 7f2e9325a000
> (00.174473) vma 7f2e93483000 borrows vfi from previous 7f2e93482000
> (00.174542) Collected, longest area occupies 1817 pages
> (00.174551) 0x400000-0x4b8000 (736K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174562) 0x6b7000-0x6b8000 (4K) prot 0x1 flags 0x2 st 0x41 off 0xb7000 reg fp  shmid: 0
> (00.174567) 0x6b8000-0x6ce000 (88K) prot 0x3 flags 0x2 st 0x41 off 0xb8000 reg fp  shmid: 0
> (00.174571) 0x6ce000-0xde7000 (7268K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174575) 0x2dc8000-0x2e2d000 (404K) prot 0x3 flags 0x22 st 0x221 off 0 reg heap ap  shmid: 0
> (00.174579) 0x7f2e91574000-0x7f2e9157f000 (44K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174583) 0x7f2e9157f000-0x7f2e9177e000 (2044K) prot 0 flags 0x2 st 0x41 off 0xb000 reg fp  shmid: 0
> (00.174587) 0x7f2e9177e000-0x7f2e9177f000 (4K) prot 0x1 flags 0x2 st 0x41 off 0xa000 reg fp  shmid: 0
> (00.174590) 0x7f2e9177f000-0x7f2e91780000 (4K) prot 0x3 flags 0x2 st 0x41 off 0xb000 reg fp  shmid: 0
> (00.174594) 0x7f2e91780000-0x7f2e9178b000 (44K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174597) 0x7f2e9178b000-0x7f2e9198a000 (2044K) prot 0 flags 0x2 st 0x41 off 0xb000 reg fp  shmid: 0
> (00.174601) 0x7f2e9198a000-0x7f2e9198b000 (4K) prot 0x1 flags 0x2 st 0x41 off 0xa000 reg fp  shmid: 0
> (00.174604) 0x7f2e9198b000-0x7f2e9198c000 (4K) prot 0x3 flags 0x2 st 0x41 off 0xb000 reg fp  shmid: 0
> (00.174608) 0x7f2e9198c000-0x7f2e919a3000 (92K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174611) 0x7f2e919a3000-0x7f2e91ba2000 (2044K) prot 0 flags 0x2 st 0x41 off 0x17000 reg fp  shmid: 0
> (00.174624) 0x7f2e91ba2000-0x7f2e91ba3000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x16000 reg fp  shmid: 0
> (00.174629) 0x7f2e91ba3000-0x7f2e91ba4000 (4K) prot 0x3 flags 0x2 st 0x41 off 0x17000 reg fp  shmid: 0
> (00.174632) 0x7f2e91ba4000-0x7f2e91ba6000 (8K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174636) 0x7f2e91ba6000-0x7f2e91baf000 (36K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174640) 0x7f2e91baf000-0x7f2e91dae000 (2044K) prot 0 flags 0x2 st 0x41 off 0x9000 reg fp  shmid: 0
> (00.174643) 0x7f2e91dae000-0x7f2e91daf000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x8000 reg fp  shmid: 0
> (00.174647) 0x7f2e91daf000-0x7f2e91db0000 (4K) prot 0x3 flags 0x2 st 0x41 off 0x9000 reg fp  shmid: 0
> (00.174650) 0x7f2e91db0000-0x7f2e91db3000 (12K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174654) 0x7f2e91db3000-0x7f2e91fb2000 (2044K) prot 0 flags 0x2 st 0x41 off 0x3000 reg fp  shmid: 0
> (00.174657) 0x7f2e91fb2000-0x7f2e91fb3000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x2000 reg fp  shmid: 0
> (00.174661) 0x7f2e91fb3000-0x7f2e91fb4000 (4K) prot 0x3 flags 0x2 st 0x41 off 0x3000 reg fp  shmid: 0
> (00.174664) 0x7f2e91fb4000-0x7f2e9216f000 (1772K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174668) 0x7f2e9216f000-0x7f2e9236e000 (2044K) prot 0 flags 0x2 st 0x41 off 0x1bb000 reg fp  shmid: 0
> (00.174672) 0x7f2e9236e000-0x7f2e92372000 (16K) prot 0x1 flags 0x2 st 0x41 off 0x1ba000 reg fp  shmid: 0
> (00.174676) 0x7f2e92372000-0x7f2e92374000 (8K) prot 0x3 flags 0x2 st 0x41 off 0x1be000 reg fp  shmid: 0
> (00.174680) 0x7f2e92374000-0x7f2e92379000 (20K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174684) 0x7f2e92379000-0x7f2e92391000 (96K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174687) 0x7f2e92391000-0x7f2e92590000 (2044K) prot 0 flags 0x2 st 0x41 off 0x18000 reg fp  shmid: 0
> (00.174691) 0x7f2e92590000-0x7f2e92591000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x17000 reg fp  shmid: 0
> (00.174695) 0x7f2e92591000-0x7f2e92592000 (4K) prot 0x3 flags 0x2 st 0x41 off 0x18000 reg fp  shmid: 0
> (00.174699) 0x7f2e92592000-0x7f2e92744000 (1736K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174703) 0x7f2e92744000-0x7f2e92943000 (2044K) prot 0 flags 0x2 st 0x41 off 0x1b2000 reg fp  shmid: 0
> (00.174707) 0x7f2e92943000-0x7f2e9295e000 (108K) prot 0x1 flags 0x2 st 0x41 off 0x1b1000 reg fp  shmid: 0
> (00.174711) 0x7f2e9295e000-0x7f2e92969000 (44K) prot 0x3 flags 0x2 st 0x41 off 0x1cc000 reg fp  shmid: 0
> (00.174715) 0x7f2e92969000-0x7f2e9296d000 (16K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174719) 0x7f2e9296d000-0x7f2e929c1000 (336K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174723) 0x7f2e929c1000-0x7f2e92bc1000 (2048K) prot 0 flags 0x2 st 0x41 off 0x54000 reg fp  shmid: 0
> (00.174726) 0x7f2e92bc1000-0x7f2e92bc4000 (12K) prot 0x1 flags 0x2 st 0x41 off 0x54000 reg fp  shmid: 0
> (00.174730) 0x7f2e92bc4000-0x7f2e92bcb000 (28K) prot 0x3 flags 0x2 st 0x41 off 0x57000 reg fp  shmid: 0
> (00.174734) 0x7f2e92bcb000-0x7f2e92c08000 (244K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174738) 0x7f2e92c08000-0x7f2e92e07000 (2044K) prot 0 flags 0x2 st 0x41 off 0x3d000 reg fp  shmid: 0
> (00.174742) 0x7f2e92e07000-0x7f2e92e08000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x3c000 reg fp  shmid: 0
> (00.174746) 0x7f2e92e08000-0x7f2e92e09000 (4K) prot 0x3 flags 0x2 st 0x41 off 0x3d000 reg fp  shmid: 0
> (00.174750) 0x7f2e92e09000-0x7f2e92e12000 (36K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174754) 0x7f2e92e12000-0x7f2e93012000 (2048K) prot 0 flags 0x2 st 0x41 off 0x9000 reg fp  shmid: 0
> (00.174758) 0x7f2e93012000-0x7f2e93013000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x9000 reg fp  shmid: 0
> (00.174761) 0x7f2e93013000-0x7f2e93014000 (4K) prot 0x3 flags 0x2 st 0x41 off 0xa000 reg fp  shmid: 0
> (00.174765) 0x7f2e93014000-0x7f2e93042000 (184K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174769) 0x7f2e93042000-0x7f2e9305b000 (100K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174773) 0x7f2e9305b000-0x7f2e9325a000 (2044K) prot 0 flags 0x2 st 0x41 off 0x19000 reg fp  shmid: 0
> (00.174786) 0x7f2e9325a000-0x7f2e9325b000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x18000 reg fp  shmid: 0
> (00.174790) 0x7f2e9325b000-0x7f2e9325c000 (4K) prot 0x3 flags 0x2 st 0x41 off 0x19000 reg fp  shmid: 0
> (00.174794) 0x7f2e9325c000-0x7f2e93260000 (16K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174798) 0x7f2e93260000-0x7f2e93283000 (140K) prot 0x5 flags 0x2 st 0x41 off 0 reg fp  shmid: 0
> (00.174802) 0x7f2e93477000-0x7f2e9347d000 (24K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174806) 0x7f2e9347f000-0x7f2e93480000 (4K) prot 0x3 flags 0x21 st 0x101 off 0 reg as  shmid: 0x2ed5f
> (00.174810) 0x7f2e93480000-0x7f2e93482000 (8K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174864) 0x7f2e93482000-0x7f2e93483000 (4K) prot 0x1 flags 0x2 st 0x41 off 0x22000 reg fp  shmid: 0
> (00.174869) 0x7f2e93483000-0x7f2e93484000 (4K) prot 0x3 flags 0x2 st 0x41 off 0x23000 reg fp  shmid: 0
> (00.174873) 0x7f2e93484000-0x7f2e93485000 (4K) prot 0x3 flags 0x22 st 0x201 off 0 reg ap  shmid: 0
> (00.174876) 0x7fff47c1d000-0x7fff47c3f000 (136K) prot 0x3 flags 0x122 st 0x201 off 0 reg ap  shmid: 0
> (00.174880) 0x7fff47dfc000-0x7fff47dfe000 (8K) prot 0x1 flags 0x22 st 0x1201 off 0 reg vvar ap  shmid: 0
> (00.174884) 0x7fff47dfe000-0x7fff47e00000 (8K) prot 0x5 flags 0x22 st 0x209 off 0 reg vdso ap  shmid: 0
> (00.174888) 0xffffffffff600000-0xffffffffff601000 (4K) prot 0x5 flags 0x22 st 0x204 off 0 vsys ap  shmid: 0
> (00.174892) ----------------------------------------
> (00.174902) 
> (00.174906) Collecting fds (pid: 16030)
> (00.174909) ----------------------------------------
> (00.174969) Found 11 file descriptors
> (00.174976) ----------------------------------------
> (00.175066) Dump private signals of 16030
> (00.175066) Dump shared signals of 16030
> (00.175066) Parasite syscall_ip at 0x400000
> (00.175255) Putting parasite blob into 0x7f1756a30000->0x7f2e93448000
> (00.175287) Dumping GP/FPU registers for 16030
> (00.175299) xsave runtime structure
> (00.175304) -----------------------
> (00.175306) cwd:37f swd:0 twd:0 fop:0 mxcsr:1f80 mxcsr_mask:ffff
> (00.175310) magic1:46505853 extended_size:344 xstate_bv:7 xstate_size:340
> (00.175314) xstate_bv: 7
> (00.175317) -----------------------
> (00.175324) Putting tsock into pid 16030
> pie: Running daemon thread leader
> pie: __sent ack msg: 2 2 0
> pie: Daemon wais for command
> (00.175429) Wait for parasite being daemonized...
> (00.175436) Wait for ack 2 on daemon socket
> (00.175444) Fetched ack: 2 2 0
> (00.175448) Parasite 16030 has been switched to daemon mode
> pie: __fetched msg: 15 0 0
> pie: __sent ack msg: 15 15 0
> pie: Daemon wais for command
> (00.175490) Sent msg to daemon 15 0 0
> (00.175498) Wait for ack 15 on daemon socket
> (00.175503) Fetched ack: 15 15 0
> pie: __fetched msg: 17 0 0
> pie: __sent ack msg: 17 17 0
> pie: Daemon wais for command
> (00.175629) Sent msg to daemon 17 0 0
> (00.175636) Wait for ack 17 on daemon socket
> (00.175641) Fetched ack: 17 17 0
> pie: __fetched msg: 12 0 0
> pie: __sent ack msg: 12 12 0
> pie: Daemon wais for command
> (00.175678) Sent msg to daemon 12 0 0
> (00.175683) Wait for ack 12 on daemon socket
> (00.175687) Fetched ack: 12 12 0
> (00.175691) sid=1 pgid=1 pid=1
> (00.175736) 
> (00.175742) Dumping opened files (pid: 16030)
> (00.175746) ----------------------------------------
> pie: __fetched msg: 14 0 0
> pie: __sent ack msg: 14 14 0
> pie: Daemon wais for command
> (00.175786) Sent msg to daemon 14 0 0
> (00.175797) Wait for ack 14 on daemon socket
> (00.175802) Fetched ack: 14 14 0
> (00.175837) 16030 fdinfo 0: pos: 0x               0 flags:           100000/0
> (00.175879) Dumping path for 0 fd via self 26 [/dev/null]
> (00.175975) fdinfo: type: 0x 1 flags: 0100000/0 pos: 0x       0 fd: 0
> (00.176069) 16030 fdinfo 1: pos: 0x               0 flags:                1/0
> (00.176069) Dumping pipe 27 with id 0x2 pipe_id 0x24148
> (00.176100) fdinfo: type: 0x 2 flags: 01/0 pos: 0x       0 fd: 1
> (00.176133) 16030 fdinfo 2: pos: 0x               0 flags:           102001/0
> (00.176154) Error (files-reg.c:821): Unable to look up the 37 mount
> (00.176173) ----------------------------------------
> (00.176177) Error (cr-dump.c:1580): Dump files (pid: 16030) failed with -1
> (00.176213) Waiting for 16030 to trap
> (00.176221) Daemon 16030 exited trapping
> (00.176230) Sent msg to daemon 6 0 0
> pie: __fetched msg: 6 0 0
> pie: 1: new_sp=0x7f2e93472008 ip 0x7f2e91feb024
> (00.176310) 16030 was trapped
> (00.176318) `- Expecting exit
> (00.176337) 16030 was trapped
> (00.176344) 16030 is going to execute the syscall f
> (00.176363) 16030 was stopped
> (00.176382) 16030 was trapped
> (00.176388) 16030 is going to execute the syscall 1
> (00.176400) 16030 was trapped
> (00.176405) `- Expecting exit
> (00.176416) 16030 was trapped
> (00.176420) 16030 is going to execute the syscall b
> (00.176443) 16030 was stopped
> (00.176516) Unlock network
> (00.176522) Running network-unlock scripts
> (00.176527) Unfreezing tasks into 1
> (00.176530) 	Unseizing 16030 into 1
> (00.176554) 	Unseizing 16064 into 1
> (00.176671) Error (cr-dump.c:1943): Dumping FAILED.



More information about the CRIU mailing list