<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi all,</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I 've been struggling with this problem for some time.<br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><b>This is what I get when I execute the test_iters.c test (located in tests/libcriu) with sudo:</b></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">--- Start loop ---<br></span><span class=""> `- loop: initializing<br></span><span class="">--- Dump loop ---<br></span><span class=""> `- 1 iter over<br></span><span class=""> `- Dump succeeded<br></span><span class="">--- Restore loop ---<br></span><span class="">Can't read response: Connection reset by peer<br></span><span class="">Can't receive response: Connection reset by peer<br></span><span class="">Unable to send/recv msg to/from CRIU: Connection reset by peer<br></span><span class="">test_iters: FAIL<br></span><span class="">== Stopping service<br></span><span class="">FAIL</span></blockquote>
</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><b>Here is the wdir/i/<app-name/dump.log:</b></div><div class="gmail_default" style="font-family:verdana,sans-serif">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">00.000010) Enforcing memory tracking for pre-dump.<br></span><span class="">(00.000017) Enforcing tasks run after pre-dump.<br></span><span class="">(00.000048) Found anon-shmem device at 4<br></span><span class="">(00.000053) Reset 6371's dirty tracking<br></span><span class="">(00.000079) ... done<br></span><span class="">(00.000094) Dirty track supported on kernel<br></span><span class="">(00.000113) irmap: Searching irmap cache in work dir<br></span><span class="">(00.000127) irmap: Searching irmap cache in parent<br></span><span class="">(00.000130) irmap: No irmap cache<br></span><span class="">(00.000135) cpu: fpu:1 fxsr:1 xsave:1<br></span><span class="">(00.000192) vdso: Parsing at 7ffff35de000 7ffff35e0000<br></span><span class="">(00.000195) vdso: PT_LOAD p_vaddr: ffffffffff700000<br></span><span class="">(00.000196) vdso: DT_HASH: 0xffffffffff700120<br></span><span class="">(00.000197) vdso: DT_STRTAB: 0xffffffffff700268<br></span><span class="">(00.000199) vdso: DT_SYMTAB: 0xffffffffff700160<br></span><span class="">(00.000200) vdso: DT_STRSZ: 94<br></span><span class="">(00.000201) vdso: DT_SYMENT: 24<br></span><span class="">(00.000203) vdso: nbucket 3 nchain 11 bucket 0x7ffff35de128 chain 0x7ffff35de134<br></span><span class="">(00.000206) vdso: rt [vdso] 7ffff35de000-7ffff35e0000 [vvar] ffffffffffffffff-ffffffffffffffff<br></span><span class="">(00.000232) bfd: BUF++<br></span><span class="">(00.000235) bfd: BUF 0x7fed0fa96000 <<br></span><span class="">(00.000251) str: `Name:<span class="">        </span>test_iters'<br></span><span class="">(00.000253) str: `State:<span class="">        </span>R (running)'<br></span><span class="">(00.000254) str: `Tgid:<span class="">        </span>6369'<br></span><span class="">(00.000256) str: `Ngid:<span class="">        </span>0'<br></span><span class="">(00.000257) str: `Pid:<span class="">        </span>6369'<br></span><span class="">(00.000259) str: `PPid:<span class="">        </span>6368'<br></span><span class="">(00.000262) str: `TracerPid:<span class="">        </span>6371'<br></span><span class="">(00.000263) str: `Uid:<span class="">        </span>0<span class="">        </span>0<span class="">        </span>0<span class="">        </span>0'<br></span><span class="">(00.000265) str: `Gid:<span class="">        </span>0<span class="">        </span>0<span class="">        </span>0<span class="">        </span>0'<br></span><span class="">(00.000267) str: `FDSize:<span class="">        </span>64'<br></span><span class="">(00.000268) str: `Groups:<span class="">        </span>0 '<br></span><span class="">(00.000269) str: `VmPeak:<span class="">        </span> 8376 kB'<br></span><span class="">(00.000271) str: `VmSize:<span class="">        </span> 8376 kB'<br></span><span class="">(00.000272) str: `VmLck:<span class="">        </span> 0 kB'<br></span><span class="">(00.000274) str: `VmPin:<span class="">        </span> 0 kB'<br></span><span class="">(00.000275) str: `VmHWM:<span class="">        </span> 112 kB'<br></span><span class="">(00.000276) str: `VmRSS:<span class="">        </span> 112 kB'<br></span><span class="">(00.000278) str: `VmData:<span class="">        </span> 56 kB'<br></span><span class="">(00.000279) str: `VmStk:<span class="">        </span> 136 kB'<br></span><span class="">(00.000281) str: `VmExe:<span class="">        </span> 8 kB'<br></span><span class="">(00.000282) str: `VmLib:<span class="">        </span> 1976 kB'<br></span><span class="">(00.000283) str: `VmPTE:<span class="">        </span> 32 kB'<br></span><span class="">(00.000285) str: `VmSwap:<span class="">        </span> 0 kB'<br></span><span class="">(00.000286) str: `Threads:<span class="">        </span>1'<br></span><span class="">(00.000288) str: `SigQ:<span class="">        </span>0/61126'<br></span><span class="">(00.000289) str: `SigPnd:<span class="">        </span>0000000000000000'<br></span><span class="">(00.000291) str: `ShdPnd:<span class="">        </span>0000000000000000'<br></span><span class="">(00.000292) str: `SigBlk:<span class="">        </span>0000000000000000'<br></span><span class="">(00.000293) str: `SigIgn:<span class="">        </span>0000000000000000'<br></span><span class="">(00.000295) str: `SigCgt:<span class="">        </span>0000000000000200'<br></span><span class="">(00.000296) str: `CapInh:<span class="">        </span>0000000000000000'<br></span><span class="">(00.000299) str: `CapPrm:<span class="">        </span>0000001fffffffff'<br></span><span class="">(00.000300) str: `CapEff:<span class="">        </span>0000001fffffffff'<br></span><span class="">(00.000302) str: `CapBnd:<span class="">        </span>0000001fffffffff'<br></span><span class="">(00.000304) bfd: BUF 0x7fed0fa96000 ><br></span><span class="">(00.000309) Seized task 6369, state 1<br></span><span class="">(00.000338) Collected 6369 in 1 state<br></span><span class="">(00.000355) Add net ns 1 pid 6371<br></span><span class="">(00.000360) Add mnt ns 2 pid 6371<br></span><span class="">(00.000408) <span class="">        </span>type sysfs source sysfs mnt_id 0x11 s_dev 0xf / @ ./sys flags 0x20000e options <br></span><span class="">(00.000415) <span class="">        </span>type proc source proc mnt_id 0x12 s_dev 0x3 / @ ./proc flags 0x20000e options <br></span><span class="">(00.000423) <span class="">        </span>type devtmpfs source udev mnt_id 0x13 s_dev 0x5 / @ ./dev flags 0x200000 options size=4032456k,nr_inodes=1008114,mode=755<br></span><span class="">(00.000428) <span class="">        </span>type devpts source devpts mnt_id 0x14 s_dev 0xc / @ ./dev/pts flags 0x20000a options gid=5,mode=620,ptmxmode=000<br></span><span class="">(00.000436) <span class="">        </span>type tmpfs source tmpfs mnt_id 0x15 s_dev 0x10 / @ ./run flags 0x20000a options size=808664k,mode=755<br></span><span class="">(00.000440) <span class="">        </span>type unsupported source /dev/disk/by-uuid/de5b34ae-bff3-4e53-92d7-b70749abcffd mnt_id 0x16 s_dev 0x800002 / @ ./ flags 0x200000 options errors=remount-ro,data=ordered<br></span><span class="">(00.000445) <span class="">        </span>type tmpfs source none mnt_id 0x18 s_dev 0x11 / @ ./sys/fs/cgroup flags 0x200000 options size=4k,mode=755<br></span><span class="">(00.000449) <span class="">        </span>type fusectl source none mnt_id 0x19 s_dev 0x12 / @ ./sys/fs/fuse/connections flags 0x200000 options <br></span><span class="">(00.000452) <span class="">        </span>type debugfs source none mnt_id 0x1a s_dev 0x6 / @ ./sys/kernel/debug flags 0x200000 options <br></span><span class="">(00.000456) <span class="">        </span>type securityfs source none mnt_id 0x1b s_dev 0xa / @ ./sys/kernel/security flags 0x200000 options <br></span><span class="">(00.000460) <span class="">        </span>type unsupported source none mnt_id 0x1c s_dev 0x13 / @ ./sys/firmware/efi/efivars flags 0x200000 options <br></span><span class="">(00.000464) <span class="">        </span>type tmpfs source none mnt_id 0x1d s_dev 0x14 / @ ./run/lock flags 0x20000e options size=5120k<br></span><span class="">(00.000467) <span class="">        </span>type tmpfs source none mnt_id 0x1e s_dev 0x15 / @ ./run/shm flags 0x200006 options <br></span><span class="">(00.000478) <span class="">        </span>type tmpfs source none mnt_id 0x1f s_dev 0x16 / @ ./run/user flags 0x20000e options size=102400k,mode=755<br></span><span class="">(00.000482) <span class="">        </span>type pstore source none mnt_id 0x20 s_dev 0x17 / @ ./sys/fs/pstore flags 0x200000 options <br></span><span class="">(00.000491) <span class="">        </span>type unsupported source /dev/sda1 mnt_id 0x21 s_dev 0x800001 / @ ./boot/efi flags 0x200000 options fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro<br></span><span class="">(00.000495) <span class="">        </span>type binfmt_misc source binfmt_misc mnt_id 0x22 s_dev 0x18 / @ ./proc/sys/fs/binfmt_misc flags 0x20000e options <br></span><span class="">(00.000499) <span class="">        </span>type cgroup source systemd mnt_id 0x24 s_dev 0x19 / @ ./sys/fs/cgroup/systemd flags 0x20000e options name=systemd<br></span><span class="">(00.000505) Building mountpoints tree<br></span><span class="">(00.000507) <span class="">        </span>Building plain mount tree<br></span><span class="">(00.000508) <span class="">        </span><span class="">        </span>Working on 36->24<br></span><span class="">(00.000510) <span class="">        </span><span class="">        </span>Working on 34->18<br></span><span class="">(00.000511) <span class="">        </span><span class="">        </span>Working on 33->22<br></span><span class="">(00.000512) <span class="">        </span><span class="">        </span>Working on 32->17<br></span><span class="">(00.000514) <span class="">        </span><span class="">        </span>Working on 31->21<br></span><span class="">(00.000515) <span class="">        </span><span class="">        </span>Working on 30->21<br></span><span class="">(00.000516) <span class="">        </span><span class="">        </span>Working on 29->21<br></span><span class="">(00.000518) <span class="">        </span><span class="">        </span>Working on 28->17<br></span><span class="">(00.000519) <span class="">        </span><span class="">        </span>Working on 27->17<br></span><span class="">(00.000520) <span class="">        </span><span class="">        </span>Working on 26->17<br></span><span class="">(00.000522) <span class="">        </span><span class="">        </span>Working on 25->17<br></span><span class="">(00.000523) <span class="">        </span><span class="">        </span>Working on 24->17<br></span><span class="">(00.000524) <span class="">        </span><span class="">        </span>Working on 22->1<br></span><span class="">(00.000526) <span class="">        </span><span class="">        </span>Working on 21->22<br></span><span class="">(00.000527) <span class="">        </span><span class="">        </span>Working on 20->19<br></span><span class="">(00.000528) <span class="">        </span><span class="">        </span>Working on 19->22<br></span><span class="">(00.000530) <span class="">        </span><span class="">        </span>Working on 18->22<br></span><span class="">(00.000531) <span class="">        </span><span class="">        </span>Working on 17->22<br></span><span class="">(00.000533) <span class="">        </span>Resorting siblings on 22<br></span><span class="">(00.000535) <span class="">        </span>Resorting siblings on 33<br></span><span class="">(00.000536) <span class="">        </span>Resorting siblings on 21<br></span><span class="">(00.000537) <span class="">        </span>Resorting siblings on 31<br></span><span class="">(00.000539) <span class="">        </span>Resorting siblings on 30<br></span><span class="">(00.000540) <span class="">        </span>Resorting siblings on 29<br></span><span class="">(00.000541) <span class="">        </span>Resorting siblings on 19<br></span><span class="">(00.000542) <span class="">        </span>Resorting siblings on 20<br></span><span class="">(00.000544) <span class="">        </span>Resorting siblings on 18<br></span><span class="">(00.000545) <span class="">        </span>Resorting siblings on 34<br></span><span class="">(00.000546) <span class="">        </span>Resorting siblings on 17<br></span><span class="">(00.000548) <span class="">        </span>Resorting siblings on 32<br></span><span class="">(00.000549) <span class="">        </span>Resorting siblings on 28<br></span><span class="">(00.000550) <span class="">        </span>Resorting siblings on 27<br></span><span class="">(00.000552) <span class="">        </span>Resorting siblings on 26<br></span><span class="">(00.000553) <span class="">        </span>Resorting siblings on 25<br></span><span class="">(00.000554) <span class="">        </span>Resorting siblings on 24<br></span><span class="">(00.000556) <span class="">        </span>Resorting siblings on 36<br></span><span class="">(00.000557) Done:<br></span><span class="">(00.000558) [./](22->1)<br></span><span class="">(00.000560) [./run](21->22)<br></span><span class="">(00.000561) [./run/user](31->21)<br></span><span class="">(00.000563) <--<br></span><span class="">(00.000564) [./run/lock](29->21)<br></span><span class="">(00.000566) <--<br></span><span class="">(00.000567) [./run/shm](30->21)<br></span><span class="">(00.000568) <--<br></span><span class="">(00.000569) <--<br></span><span class="">(00.000571) [./sys](17->22)<br></span><span class="">(00.000572) [./sys/fs/pstore](32->17)<br></span><span class="">(00.000574) <--<br></span><span class="">(00.000575) [./sys/fs/cgroup](24->17)<br></span><span class="">(00.000576) [./sys/fs/cgroup/systemd](36->24)<br></span><span class="">(00.000578) <--<br></span><span class="">(00.000579) <--<br></span><span class="">(00.000580) [./sys/fs/fuse/connections](25->17)<br></span><span class="">(00.000582) <--<br></span><span class="">(00.000583) [./sys/kernel/debug](26->17)<br></span><span class="">(00.000584) <--<br></span><span class="">(00.000586) [./sys/kernel/security](27->17)<br></span><span class="">(00.000587) <--<br></span><span class="">(00.000588) [./sys/firmware/efi/efivars](28->17)<br></span><span class="">(00.000590) <--<br></span><span class="">(00.000591) <--<br></span><span class="">(00.000592) [./proc](18->22)<br></span><span class="">(00.000594) [./proc/sys/fs/binfmt_misc](34->18)<br></span><span class="">(00.000595) <--<br></span><span class="">(00.000597) <--<br></span><span class="">(00.000598) [./dev](19->22)<br></span><span class="">(00.000599) [./dev/pts](20->19)<br></span><span class="">(00.000601) <--<br></span><span class="">(00.000602) <--<br></span><span class="">(00.000603) [./boot/efi](33->22)<br></span><span class="">(00.000605) <--<br></span><span class="">(00.000606) <--<br></span><span class="">(00.000609) Collecting netns 1/6371<br></span><span class="">(00.000613) ========================================<br></span><span class="">(00.000614) Pre-dumping task (pid: 6369)<br></span><span class="">(00.000616) ========================================<br></span><span class="">(00.000617) <br></span><span class="">(00.000618) Collecting mappings (pid: 6369)<br></span><span class="">(00.000620) ----------------------------------------<br></span><span class="">(00.000626) bfd: BUF 0x7fed0fa96000 <<br></span><span class="">(00.000667) bfd: BUF 0x7fed0fa97000 <<br></span><span class="">(00.000673) bfd: BUF 0x7fed0fa97000 ><br></span><span class="">(00.000679) vma 601000 borrows vfi from previous 400000<br></span><span class="">(00.000683) vma 602000 borrows vfi from previous 601000<br></span><span class="">(00.000692) bfd: BUF 0x7fed0fa97000 <<br></span><span class="">(00.000695) bfd: BUF 0x7fed0fa97000 ><br></span><span class="">(00.000699) vma 7f664699c000 borrows vfi from previous 7f6646994000<br></span><span class="">(00.000703) vma 7f6646b9b000 borrows vfi from previous 7f664699c000<br></span><span class="">(00.000707) vma 7f6646b9c000 borrows vfi from previous 7f6646b9b000<br></span><span class="">(00.000738) bfd: BUF 0x7fed0fa97000 <<br></span><span class="">(00.000741) bfd: BUF 0x7fed0fa97000 ><br></span><span class="">(00.000745) vma 7f6646d58000 borrows vfi from previous 7f6646b9d000<br></span><span class="">(00.000749) vma 7f6646f58000 borrows vfi from previous 7f6646d58000<br></span><span class="">(00.000752) vma 7f6646f5c000 borrows vfi from previous 7f6646f58000<br></span><span class="">(00.000764) bfd: BUF 0x7fed0fa97000 <<br></span><span class="">(00.000766) bfd: BUF 0x7fed0fa97000 ><br></span><span class="">(00.000770) vma 7f6646f6b000 borrows vfi from previous 7f6646f63000<br></span><span class="">(00.000794) vma 7f664716b000 borrows vfi from previous 7f6646f6b000<br></span><span class="">(00.000797) vma 7f664716d000 borrows vfi from previous 7f664716b000<br></span><span class="">(00.000805) bfd: BUF 0x7fed0fa97000 <<br></span><span class="">(00.000808) bfd: BUF 0x7fed0fa97000 ><br></span><span class="">(00.000821) bfd: BUF 0x7fed0fa97000 <<br></span><span class="">(00.000824) bfd: BUF 0x7fed0fa97000 ><br></span><span class="">(00.000828) vma 7f6647391000 borrows vfi from previous 7f6647390000<br></span><span class="">(00.000849) bfd: BUF 0x7fed0fa96000 ><br></span><span class="">(00.000851) Collected, longest area occupies 512 pages<br></span><span class="">(00.000853) 0x400000-0x402000 (8K) prot 0x5 flags 0x2 off 0 reg fp shmid: 0<br></span><span class="">(00.000856) 0x601000-0x602000 (4K) prot 0x1 flags 0x2 off 0x1000 reg fp shmid: 0<br></span><span class="">(00.000858) 0x602000-0x603000 (4K) prot 0x3 flags 0x2 off 0x2000 reg fp shmid: 0<br></span><span class="">(00.000859) 0x7f6646994000-0x7f664699c000 (32K) prot 0x5 flags 0x2 off 0 reg fp shmid: 0<br></span><span class="">(00.000861) 0x7f664699c000-0x7f6646b9b000 (2044K) prot 0 flags 0x2 off 0x8000 reg fp shmid: 0<br></span><span class="">(00.000863) 0x7f6646b9b000-0x7f6646b9c000 (4K) prot 0x1 flags 0x2 off 0x7000 reg fp shmid: 0<br></span><span class="">(00.000865) 0x7f6646b9c000-0x7f6646b9d000 (4K) prot 0x3 flags 0x2 off 0x8000 reg fp shmid: 0<br></span><span class="">(00.000866) 0x7f6646b9d000-0x7f6646d58000 (1772K) prot 0x5 flags 0x2 off 0 reg fp shmid: 0<br></span><span class="">(00.000868) 0x7f6646d58000-0x7f6646f58000 (2048K) prot 0 flags 0x2 off 0x1bb000 reg fp shmid: 0<br></span><span class="">(00.000870) 0x7f6646f58000-0x7f6646f5c000 (16K) prot 0x1 flags 0x2 off 0x1bb000 reg fp shmid: 0<br></span><span class="">(00.000871) 0x7f6646f5c000-0x7f6646f5e000 (8K) prot 0x3 flags 0x2 off 0x1bf000 reg fp shmid: 0<br></span><span class="">(00.000873) 0x7f6646f5e000-0x7f6646f63000 (20K) prot 0x3 flags 0x22 off 0 reg ap shmid: 0<br></span><span class="">(00.000875) 0x7f6646f63000-0x7f6646f6b000 (32K) prot 0x5 flags 0x2 off 0 reg fp shmid: 0<br></span><span class="">(00.000876) 0x7f6646f6b000-0x7f664716b000 (2048K) prot 0 flags 0x2 off 0x8000 reg fp shmid: 0<br></span><span class="">(00.000878) 0x7f664716b000-0x7f664716d000 (8K) prot 0x1 flags 0x2 off 0x8000 reg fp shmid: 0<br></span><span class="">(00.000880) 0x7f664716d000-0x7f664716e000 (4K) prot 0x3 flags 0x2 off 0xa000 reg fp shmid: 0<br></span><span class="">(00.000881) 0x7f664716e000-0x7f6647191000 (140K) prot 0x5 flags 0x2 off 0 reg fp shmid: 0<br></span><span class="">(00.000883) 0x7f6647383000-0x7f6647386000 (12K) prot 0x3 flags 0x22 off 0 reg ap shmid: 0<br></span><span class="">(00.000884) 0x7f664738d000-0x7f6647390000 (12K) prot 0x3 flags 0x22 off 0 reg ap shmid: 0<br></span><span class="">(00.000886) 0x7f6647390000-0x7f6647391000 (4K) prot 0x1 flags 0x2 off 0x22000 reg fp shmid: 0<br></span><span class="">(00.000888) 0x7f6647391000-0x7f6647392000 (4K) prot 0x3 flags 0x2 off 0x23000 reg fp shmid: 0<br></span><span class="">(00.000889) 0x7f6647392000-0x7f6647393000 (4K) prot 0x3 flags 0x22 off 0 reg ap shmid: 0<br></span><span class="">(00.000891) 0x7fff721fc000-0x7fff7221e000 (136K) prot 0x3 flags 0x122 off 0 reg ap shmid: 0<br></span><span class="">(00.000893) 0x7fff72350000-0x7fff72352000 (8K) prot 0x5 flags 0x22 off 0 reg vdso ap shmid: 0<br></span><span class="">(00.000894) 0xffffffffff600000-0xffffffffff601000 (4K) prot 0x5 flags 0x22 off 0 vsys ap shmid: 0<br></span><span class="">(00.000896) ----------------------------------------<br></span><span class="">(00.000901) Parasite syscall_ip at 0x400000<br></span><span class="">(00.001008) Putting parasite blob into 0x7fed0fa84000->0x7f6647371000<br></span><span class="">(00.001024) Dumping GP/FPU registers for 6369<br></span><span class="">(00.001028) xsave runtime structure<br></span><span class="">(00.001030) -----------------------<br></span><span class="">(00.001031) cwd:37f swd:0 twd:0 fop:0 mxcsr:1f80 mxcsr_mask:ffff<br></span><span class="">(00.001033) magic1:46505853 extended_size:344 xstate_bv:7 xstate_size:340<br></span><span class="">(00.001034) xstate_bv: 7<br></span><span class="">(00.001036) -----------------------<br></span><span class="">(00.001037) Putting tsock into pid 6369<br></span><span class="">(00.001129) Wait for parasite being daemonized...<br></span><span class="">(00.001145) Wait for ack 2 on daemon socket<br></span><span class="">pie: Running daemon thread leader<br></span><span class="">pie: __sent ack msg: 2 2 0<br></span><span class="">pie: Daemon wais for command<br></span><span class="">(00.001182) Fetched ack: 2 2 0<br></span><span class="">(00.001196) Parasite 6369 has been switched to daemon mode<br></span><span class="">(00.001205) Sent msg to daemon 17 0 0<br></span><span class="">(00.001207) Wait for ack 17 on daemon socket<br></span><span class="">pie: __fetched msg: 17 0 0<br></span><span class="">pie: __sent ack msg: 17 17 0<br></span><span class="">pie: Daemon wais for command<br></span><span class="">(00.001267) Fetched ack: 17 17 0<br></span><span class="">(00.001303) Sent msg to daemon 12 0 0<br></span><span class="">(00.001305) Wait for ack 12 on daemon socket<br></span><span class="">pie: __fetched msg: 12 0 0<br></span><span class="">pie: __sent ack msg: 12 12 0<br></span><span class="">pie: Daemon wais for command<br></span><span class="">(00.001366) Fetched ack: 12 12 0<br></span><span class="">(00.001386) Pre-dump fds for 6369)<br></span><span class="">(00.001422) Sent msg to daemon 7 0 0<br></span><span class="">(00.001424) Wait for ack 7 on daemon socket<br></span><span class="">pie: __fetched msg: 7 0 0<br></span><span class="">pie: __sent ack msg: 7 7 0<br></span><span class="">pie: Daemon wais for command<br></span><span class="">(00.001468) Fetched ack: 7 7 0<br></span><span class="">(00.001485) <br></span><span class="">(00.001487) Dumping pages (type: 59 pid: 6369)<br></span><span class="">(00.001488) ----------------------------------------<br></span><span class="">(00.001500) Private vmas 512/2094 pages<br></span><span class="">(00.001505) pagemap-cache: created for pid 6369 (takes 4096 bytes)<br></span><span class="">(00.001508) page-pipe: Create page pipe for 2094 segs<br></span><span class="">(00.001510) page-pipe: Will grow page pipe (iov off is 0)<br></span><span class="">(00.001517) pagemap-cache: filling VMA 400000-402000 (8K) [l:400000 h:600000]<br></span><span class="">(00.001519) pagemap-cache: <span class="">        </span> 400000-402000 nr:1 cov:8192<br></span><span class="">(00.001521) pagemap-cache: <span class="">        </span>simple mode [l:400000 h:402000]<br></span><span class="">(00.001525) page-pipe: Add iov to page pipe (0 iovs, 0/2094 total)<br></span><span class="">(00.001526) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001528) pagemap-cache: filling VMA 601000-602000 (4K) [l:600000 h:800000]<br></span><span class="">(00.001529) pagemap-cache: <span class="">        </span> 601000-602000 nr:1 cov:4096<br></span><span class="">(00.001531) pagemap-cache: <span class="">        </span> 602000-603000 nr:2 cov:8192<br></span><span class="">(00.001532) pagemap-cache: <span class="">        </span>cache mode [l:601000 h:800000]<br></span><span class="">(00.001535) page-pipe: Add iov to page pipe (1 iovs, 1/2094 total)<br></span><span class="">(00.001536) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001538) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001539) pagemap-cache: filling VMA 7f6646994000-7f664699c000 (32K) [l:7f6646800000 h:7f6646a00000]<br></span><span class="">(00.001541) Pagemap generated: 0 pages 0 holes<br></span><span class="">(00.001542) pagemap-cache: filling VMA 7f664699c000-7f6646b9b000 (2044K) [l:7f6646800000 h:7f6646a00000]<br></span><span class="">(00.001547) Pagemap generated: 0 pages 0 holes<br></span><span class="">(00.001548) pagemap-cache: filling VMA 7f6646b9b000-7f6646b9c000 (4K) [l:7f6646a00000 h:7f6646c00000]<br></span><span class="">(00.001551) page-pipe: Add iov to page pipe (2 iovs, 2/2094 total)<br></span><span class="">(00.001552) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001553) pagemap-cache: filling VMA 7f6646b9c000-7f6646b9d000 (4K) [l:7f6646a00000 h:7f6646c00000]<br></span><span class="">(00.001555) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001557) pagemap-cache: filling VMA 7f6646b9d000-7f6646d58000 (1772K) [l:7f6646a00000 h:7f6646c00000]<br></span><span class="">(00.001561) Pagemap generated: 0 pages 0 holes<br></span><span class="">(00.001563) pagemap-cache: filling VMA 7f6646d58000-7f6646f58000 (2048K) [l:7f6646c00000 h:7f6646e00000]<br></span><span class="">(00.001568) Pagemap generated: 0 pages 0 holes<br></span><span class="">(00.001569) pagemap-cache: filling VMA 7f6646f58000-7f6646f5c000 (16K) [l:7f6646e00000 h:7f6647000000]<br></span><span class="">(00.001571) page-pipe: Add iov to page pipe (3 iovs, 3/2094 total)<br></span><span class="">(00.001573) Pagemap generated: 4 pages 0 holes<br></span><span class="">(00.001574) pagemap-cache: filling VMA 7f6646f5c000-7f6646f5e000 (8K) [l:7f6646e00000 h:7f6647000000]<br></span><span class="">(00.001576) Pagemap generated: 2 pages 0 holes<br></span><span class="">(00.001577) pagemap-cache: filling VMA 7f6646f5e000-7f6646f63000 (20K) [l:7f6646e00000 h:7f6647000000]<br></span><span class="">(00.001580) page-pipe: Add iov to page pipe (4 iovs, 4/2094 total)<br></span><span class="">(00.001581) Pagemap generated: 3 pages 0 holes<br></span><span class="">(00.001582) pagemap-cache: filling VMA 7f6646f63000-7f6646f6b000 (32K) [l:7f6646e00000 h:7f6647000000]<br></span><span class="">(00.001585) Pagemap generated: 0 pages 0 holes<br></span><span class="">(00.001586) pagemap-cache: filling VMA 7f6646f6b000-7f664716b000 (2048K) [l:7f6646e00000 h:7f6647000000]<br></span><span class="">(00.001590) Pagemap generated: 0 pages 0 holes<br></span><span class="">(00.001592) pagemap-cache: filling VMA 7f664716b000-7f664716d000 (8K) [l:7f6647000000 h:7f6647200000]<br></span><span class="">(00.001594) page-pipe: Add iov to page pipe (5 iovs, 5/2094 total)<br></span><span class="">(00.001595) Pagemap generated: 2 pages 0 holes<br></span><span class="">(00.001596) pagemap-cache: filling VMA 7f664716d000-7f664716e000 (4K) [l:7f6647000000 h:7f6647200000]<br></span><span class="">(00.001599) page-pipe: Grow pipe 10 -> 20<br></span><span class="">(00.001600) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001602) pagemap-cache: filling VMA 7f664716e000-7f6647191000 (140K) [l:7f6647000000 h:7f6647200000]<br></span><span class="">(00.001604) Pagemap generated: 0 pages 0 holes<br></span><span class="">(00.001605) pagemap-cache: filling VMA 7f6647383000-7f6647386000 (12K) [l:7f6647200000 h:7f6647400000]<br></span><span class="">(00.001607) page-pipe: Add iov to page pipe (6 iovs, 6/2094 total)<br></span><span class="">(00.001609) Pagemap generated: 3 pages 0 holes<br></span><span class="">(00.001610) pagemap-cache: filling VMA 7f664738d000-7f6647390000 (12K) [l:7f6647200000 h:7f6647400000]<br></span><span class="">(00.001612) page-pipe: Add iov to page pipe (7 iovs, 7/2094 total)<br></span><span class="">(00.001613) Pagemap generated: 3 pages 0 holes<br></span><span class="">(00.001614) pagemap-cache: filling VMA 7f6647390000-7f6647391000 (4K) [l:7f6647200000 h:7f6647400000]<br></span><span class="">(00.001620) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001621) pagemap-cache: filling VMA 7f6647391000-7f6647392000 (4K) [l:7f6647200000 h:7f6647400000]<br></span><span class="">(00.001623) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001624) pagemap-cache: filling VMA 7f6647392000-7f6647393000 (4K) [l:7f6647200000 h:7f6647400000]<br></span><span class="">(00.001626) Pagemap generated: 1 pages 0 holes<br></span><span class="">(00.001627) pagemap-cache: filling VMA 7fff721fc000-7fff7221e000 (136K) [l:7fff72000000 h:7fff72200000]<br></span><span class="">(00.001631) page-pipe: Add iov to page pipe (8 iovs, 8/2094 total)<br></span><span class="">(00.001632) page-pipe: Add iov to page pipe (9 iovs, 9/2094 total)<br></span><span class="">(00.001633) Pagemap generated: 3 pages 0 holes<br></span><span class="">(00.001634) pagemap-cache: filling VMA 7fff72350000-7fff72352000 (8K) [l:7fff72200000 h:7fff72400000]<br></span><span class="">(00.001636) page-pipe: Add iov to page pipe (10 iovs, 10/2094 total)<br></span><span class="">(00.001638) Pagemap generated: 2 pages 0 holes<br></span><span class="">(00.001639) page-pipe: Page pipe:<br></span><span class="">(00.001641) page-pipe: * 1 pipes 11/2094 iovs:<br></span><span class="">(00.001642) page-pipe: <span class="">        </span>buf 31 pages, 11 iovs:<br></span><span class="">(00.001643) page-pipe: <span class="">        </span><span class="">        </span>0x400000 1<br></span><span class="">(00.001645) page-pipe: <span class="">        </span><span class="">        </span>0x601000 2<br></span><span class="">(00.001646) page-pipe: <span class="">        </span><span class="">        </span>0x7f6646b9b000 2<br></span><span class="">(00.001647) page-pipe: <span class="">        </span><span class="">        </span>0x7f6646f58000 8<br></span><span class="">(00.001649) page-pipe: <span class="">        </span><span class="">        </span>0x7f6646f61000 1<br></span><span class="">(00.001650) page-pipe: <span class="">        </span><span class="">        </span>0x7f664716b000 3<br></span><span class="">(00.001651) page-pipe: <span class="">        </span><span class="">        </span>0x7f6647383000 3<br></span><span class="">(00.001652) page-pipe: <span class="">        </span><span class="">        </span>0x7f664738d000 6<br></span><span class="">(00.001653) page-pipe: <span class="">        </span><span class="">        </span>0x7fff7221a000 2<br></span><span class="">(00.001654) page-pipe: <span class="">        </span><span class="">        </span>0x7fff7221d000 1<br></span><span class="">(00.001656) page-pipe: <span class="">        </span><span class="">        </span>0x7fff72350000 2<br></span><span class="">(00.001657) page-pipe: * 0 holes:<br></span><span class="">(00.001658) PPB: 31 pages 11 segs 32 pipe 0 off<br></span><span class="">(00.001662) Sent msg to daemon 8 0 0<br></span><span class="">(00.001665) Wait for ack 8 on daemon socket<br></span><span class="">pie: __fetched msg: 8 0 0<br></span><span class="">pie: __sent ack msg: 8 8 0<br></span><span class="">pie: Daemon wais for command<br></span><span class="">(00.001692) Fetched ack: 8 8 0<br></span><span class="">(00.001694) Reset 6369's dirty tracking<br></span><span class="">(00.001709) ... done<br></span><span class="">(00.001712) ----------------------------------------<br></span><span class="">(00.001714) Sent msg to daemon 7 0 0<br></span><span class="">(00.001715) Wait for ack 7 on daemon socket<br></span><span class="">pie: __fetched msg: 7 0 0<br></span><span class="">pie: __sent ack msg: 7 7 0<br></span><span class="">pie: Daemon wais for command<br></span><span class="">(00.001744) Fetched ack: 7 7 0<br></span><span class="">(00.001748) Waiting for 6369 to trap<br></span><span class="">(00.001752) Daemon 6369 exited trapping<br></span><span class="">(00.001755) Sent msg to daemon 6 0 0<br></span><span class="">pie: __fetched msg: 6 0 0<br></span><span class="">pie: 6369: new_sp=0x7f664737e008 ip 0x7f6646c5e99e<br></span><span class="">(00.001834) 6369 was trapped<br></span><span class="">(00.001836) `- Expecting exit<br></span><span class="">(00.001842) 6369 was trapped<br></span><span class="">(00.001844) 6369 is going to execute the syscall f<br></span><span class="">(00.001850) 6369 was stopped<br></span><span class="">(00.001858) 6369 was trapped<br></span><span class="">(00.001860) 6369 is going to execute the syscall 1<br></span><span class="">(00.001865) 6369 was trapped<br></span><span class="">(00.001867) `- Expecting exit<br></span><span class="">(00.001872) 6369 was trapped<br></span><span class="">(00.001874) 6369 is going to execute the syscall b<br></span><span class="">(00.001883) 6369 was stopped<br></span><span class="">(00.001891) Unfreezing tasks into 1<br></span><span class="">(00.001892) <span class="">        </span>Unseizing 6369 into 1<br></span><span class="">(00.001895) Pre-dumping tasks' memory<br></span><span class="">(00.001896) <span class="">        </span>Pre-dumping 6369<br></span><span class="">(00.001905) bfd: BUF 0x7fed0fa96000 <<br></span><span class="">(00.001923) Transfering pages:<br></span><span class="">(00.001924) <span class="">        </span>buf 31/11<br></span><span class="">(00.001925) <span class="">        </span>p 0x400000 [1]<br></span><span class="">(00.001933) <span class="">        </span>p 0x601000 [2]<br></span><span class="">(00.001939) <span class="">        </span>p 0x7f6646b9b000 [2]<br></span><span class="">(00.001944) <span class="">        </span>p 0x7f6646f58000 [8]<br></span><span class="">(00.001956) <span class="">        </span>p 0x7f6646f61000 [1]<br></span><span class="">(00.001959) <span class="">        </span>p 0x7f664716b000 [3]<br></span><span class="">(00.001966) <span class="">        </span>p 0x7f6647383000 [3]<br></span><span class="">(00.001972) <span class="">        </span>p 0x7f664738d000 [6]<br></span><span class="">(00.001983) <span class="">        </span>p 0x7fff7221a000 [2]<br></span><span class="">(00.001988) <span class="">        </span>p 0x7fff7221d000 [1]<br></span><span class="">(00.001991) <span class="">        </span>p 0x7fff72350000 [2]<br></span><span class="">(00.002000) bfd: BUF 0x7fed0fa96000 ><br></span><span class="">(00.002002) page-pipe: Killing page pipe<br></span><span class="">(00.002018) bfd: BUF 0x7fed0fa96000 <<br></span><span class="">(00.002020) irmap: Running irmap pre-dump<br></span><span class="">(00.002023) bfd: BUF 0x7fed0fa96000 ><br></span><span class="">(00.002025) Writing stats<br></span><span class="">(00.002031) bfd: BUF 0x7fed0fa96000 <<br></span><span class="">(00.002038) bfd: BUF 0x7fed0fa96000 ><br></span><span class="">(00.002039) Pre-dumping finished successfully</span></blockquote>
</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I currently work on Ubuntu, but at some point I will cross-compile for Android.</div><div class="gmail_default" style="font-family:verdana,sans-serif">On ubuntu the criu --check ms returns a bunch of warnings and a "Looks Good".</div><div class="gmail_default" style="font-family:verdana,sans-serif">The package installation worked fine. I get these problems on installation by source!</div><div class="gmail_default" style="font-family:verdana,sans-serif">protobuf-c` and `criu` libraries are compiled from sources.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">What I should do next?</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks in advance,</div><div class="gmail_default" style="font-family:verdana,sans-serif">Paschalis</div></div>