[CRIU] About ashmem and Deleted Pages

Abdullah Yousafzai yousafzai.abdullah at gmail.com
Mon Mar 28 21:30:35 PDT 2016


I am using CRIU on android and android. For a simple shell script/c program
CRIU works fine but for application developed using android sdk/ndk (e.g.
in application in APK format). CRIU fails and the failure seems to be due
to ashmem because when I print the proc/pid/maps the entries belonging
to ashmem) shows as deleted entries . and when CRIU iterate over those
entries and try to fetch those vmas it stuck to the Bogus Mapping. Now this
is code is the reason for going into this scenario in the proc_parse.c file:

if (is_anon_shmem_map(st_buf->st_dev)) {
if (!(vma_area->e->flags & MAP_SHARED))

Now I want someone to guide what should I do to checkpoint the APK
application.





Best Regard -- ALLAH Hafiz, May Almighty ALLAH bless you



[image: --]

Abdullah Yousafzai
[image: https://]about.me/yousafzaiabdullah
<https://about.me/yousafzaiabdullah?promo=email_sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160329/37be6189/attachment.html>


More information about the CRIU mailing list