[CRIU] Dumping Error: Android Applications

Marcos Lilljedahl marcosnils at gmail.com
Thu Feb 18 19:05:34 PST 2016


Dumb question but did you try to run it with "--enable-external-masters" as
the log output recommends?

On Thu, Feb 18, 2016 at 11:50 PM, Abdullah Yousafzai <
yousafzai.abdullah at gmail.com> wrote:

> I am using androidx86 and the criu simplest use-case presented here
> https://criu.org/Simple_loop works fine but I want to checkpoint android
> applications but it gives the following error can somebody check this:
>
> /criu dump -t 3266 -vvv -o dump.log && echo OK
>    <
> 1|root at x86_64:/data/local/tmp/data # cat dump.log
> (00.000028) Probing sock diag modules
> (00.000097) Done probing
> (00.000103) ========================================
> (00.000110) Dumping processes (pid: 3266)
> (00.000112) ========================================
> (00.000146) Pagemap is fully functional
> (00.000184) Found anon-shmem device at 5
> (00.000190) Reset 3294's dirty tracking
> (00.000207)  ... done
> (00.000231) Dirty tracking support is OFF
> (00.000310) Error (proc_parse.c:839): Can't open 3294/loginuid on procfs:
> No such file or directory
> (00.000334) irmap: Searching irmap cache in work dir
> (00.000344) No irmap-cache image
> (00.000351) irmap: Searching irmap cache in parent
> (00.000355) irmap: No irmap cache
> (00.000496) Perparing image inventory (version 1)
> (00.000533) Add pid ns 1 pid 3294
> (00.000544) Add net ns 2 pid 3294
> (00.000556) Add ipc ns 3 pid 3294
> (00.000565) Add uts ns 4 pid 3294
> (00.000573) Add mnt ns 5 pid 3294
> (00.000579) Add user ns 6 pid 3294
> (00.000582) cg: Dumping cgroups for 3294
> (00.000610) cg: Set 1 is criu one
> (00.000774) Seized task 3266, state 1
> (00.000813)     Seizing 3266's 3272 thread
> (00.000892)     Seizing 3266's 3273 thread
> (00.000963)     Seizing 3266's 3274 thread
> (00.001033)     Seizing 3266's 3275 thread
> (00.001099)     Seizing 3266's 3276 thread
> (00.001162)     Seizing 3266's 3277 thread
> (00.001229)     Seizing 3266's 3278 thread
> (00.001293)     Seizing 3266's 3279 thread
> (00.001360)     Seizing 3266's 3280 thread
> (00.001444) Collected (3 attempts, 0 in_progress)
> (00.001518) Collected (4 attempts, 0 in_progress)
> (00.001539) Collected 3266 in 1 state
> (00.001577) Will take mnt namespace in the image
> (00.001580) Add mnt ns 7 pid 3266
> (00.001587) Lock network
> (00.001631) lockinfo: 1:1 0 1972 00:0e:9770 128 128
> (00.001641) lockinfo: 2:1 0 1972 00:0e:9767 1073741826 1073742335
> (00.001646) lockinfo: 3:1 0 1972 00:0e:8659 128 128
> (00.001711) lockinfo: 4:1 0 1972 00:0e:8638 1073741826 1073742335
> (00.001733) lockinfo: 5:2 1 1620 00:0e:7875 0 EOF
> (00.001739) lockinfo: 6:1 0 1373 00:0e:7812 128 128
> (00.001745) lockinfo: 7:1 0 1373 00:0e:7809 1073741826 1073742335
> (00.001861)     type tmpfs source tmpfs mnt_id 536 s_dev 0xd / @ ./ flags
> 0x280001 options
> (00.001879)     type ext4 source /dev/loop1 mnt_id 537 s_dev 0x700001 / @
> ./system flags 0x280001 options data=ordered
> (00.001890)     type tmpfs source tmpfs mnt_id 538 s_dev 0xe / @ ./data
> flags 0x280000 options
> (00.001900)     type tmpfs source tmpfs mnt_id 539 s_dev 0xf / @ ./dev
> flags 0x280002 options mode=755(00.001908)     type devpts source devpts
> mnt_id 540 s_dev 0xb / @ ./dev/pts flags 0x280000 options mode=600
> (00.001925)     type cgroup source none mnt_id 541 s_dev 0x14 / @
> ./dev/cpuctl flags 0x280000 options cpu
> (00.001933)     type proc source proc mnt_id 542 s_dev 0x4 / @ ./proc
> flags 0x280000 options
> (00.001941)     type sysfs source sysfs mnt_id 543 s_dev 0xc / @ ./sys
> flags 0x280000 options
> (00.001950)     type debugfs source debugfs mnt_id 544 s_dev 0x6 / @
> ./sys/kernel/debug flags 0x280000 options
> (00.001960)     type tmpfs source none mnt_id 545 s_dev 0x11 / @
> ./sys/fs/cgroup flags 0x280000 options mode=750,gid=1000
> (00.001968)     type pstore source pstore mnt_id 546 s_dev 0x15 / @
> ./sys/fs/pstore flags 0x280000 options
> (00.001976)     type cgroup source none mnt_id 547 s_dev 0x10 / @ ./acct
> flags 0x280000 options cpuacct
> (00.001985)     type tmpfs source tmpfs mnt_id 548 s_dev 0x12 / @
> ./mnt/asec flags 0x280000 options mode=755,gid=1000
> (00.001993)     type tmpfs source tmpfs mnt_id 549 s_dev 0x13 / @
> ./mnt/obb flags 0x280000 options mode=755,gid=1000
> (00.002018)     type tmpfs source none mnt_id 550 s_dev 0x16 / @ ./cache
> flags 0x80406 options
> (00.002033)     type fuse source /dev/fuse mnt_id 551 s_dev 0x17 / @
> ./mnt/shell/emulated flags 0x28000e options
> user_id=1023,group_id=1023,default_permissions,allow_other
> (00.002043)     type tmpfs source tmpfs mnt_id 552 s_dev 0x18 / @
> ./storage/emulated flags 0x200006 options mode=751,gid=1028
> (00.002054)     type fuse source /dev/fuse mnt_id 553 s_dev 0x17 /0 @
> ./storage/emulated/0 flags 0x28000e options
> user_id=1023,group_id=1023,default_permissions,allow_other
> (00.002064)     type fuse source /dev/fuse mnt_id 554 s_dev 0x17 /0 @
> ./storage/emulated/legacy flags 0x28000e options
> user_id=1023,group_id=1023,default_permissions,allow_other
> (00.002082) mnt: Building mountpoints tree
> (00.002089) mnt:        Resorting siblings on 536
> (00.002091) mnt:        Resorting siblings on 552
> (00.002093) mnt:        Resorting siblings on 554
> (00.002095) mnt:        Resorting siblings on 553
> (00.002097) mnt:        Resorting siblings on 551
> (00.002098) mnt:        Resorting siblings on 550
> (00.002100) mnt:        Resorting siblings on 549
> (00.002102) mnt:        Resorting siblings on 548
> (00.002104) mnt:        Resorting siblings on 547
> (00.002105) mnt:        Resorting siblings on 543
> (00.002107) mnt:        Resorting siblings on 546
> (00.002109) mnt:        Resorting siblings on 545
> (00.002110) mnt:        Resorting siblings on 544
> (00.002112) mnt:        Resorting siblings on 542
> (00.002113) mnt:        Resorting siblings on 539
> (00.002115) mnt:        Resorting siblings on 541
> (00.002117) mnt:        Resorting siblings on 540
> (00.002118) mnt:        Resorting siblings on 538
> (00.002120) mnt:        Resorting siblings on 537
> (00.002121) mnt: Done:
> (00.002123) mnt: [./](536->312)
> (00.002125) mnt:  [./cache](550->536)
> (00.002128) mnt:  <--
> (00.002129) mnt:  [./system](537->536)
> (00.002131) mnt:  <--
> (00.002133) mnt:  [./data](538->536)
> (00.002136) mnt:  <--
> (00.002137) mnt:  [./dev](539->536)
> (00.002139) mnt:   [./dev/cpuctl](541->539)
> (00.002141) mnt:   <--
> (00.002143) mnt:   [./dev/pts](540->539)
> (00.002145) mnt:   <--
> (00.002147) mnt:  <--
> (00.002148) mnt:  [./proc](542->536)
> (00.002150) mnt:  <--
> (00.002152) mnt:  [./sys](543->536)
> (00.002153) mnt:   [./sys/fs/pstore](546->543)
> (00.002155) mnt:   <--
> (00.002157) mnt:   [./sys/kernel/debug](544->543)
> (00.002159) mnt:   <--
> (00.002161) mnt:   [./sys/fs/cgroup](545->543)
> (00.002163) mnt:   <--
> (00.002164) mnt:  <--
> (00.002166) mnt:  [./acct](547->536)
> (00.002168) mnt:  <--
> (00.002169) mnt:  [./mnt/asec](548->536)
> (00.002171) mnt:  <--
> (00.002173) mnt:  [./mnt/obb](549->536)
> (00.002175) mnt:  <--
> (00.002176) mnt:  [./storage/emulated](552->536)
> (00.002178) mnt:   [./storage/emulated/legacy](554->552)
> (00.002180) mnt:   <--
> (00.002182) mnt:   [./storage/emulated/0](553->552)
> (00.002184) mnt:   <--
> (00.002186) mnt:  <--
> (00.002187) mnt:  [./mnt/shell/emulated](551->536)
> (00.002189) mnt:  <--
> (00.002191) mnt: <--
> (00.002194) Error (mount.c:959): mnt: Mount 554 ./storage/emulated/legacy
> (master_id: 16 shared_id: 0) has unreachable sharing. Try
> --enable-external-masters.
> (00.002198) Unlock network
> (00.002201) Unfreezing tasks into 1
> (00.002287) Error (cr-dump.c:1578): Dumping FAILED.
>
>
>
> Best Regard -- ALLAH Hafiz, May Almighty ALLAH bless you
>
>
>
> [image: --]
>
> Abdullah Yousafzai
> [image: https://]about.me/yousafzaiabdullah
> <https://about.me/yousafzaiabdullah?promo=email_sig>
>
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160219/c572f6a0/attachment-0001.html>


More information about the CRIU mailing list