[CRIU] [PATCH v3 0/2] mem: Address kernel's guard page rework

Cyrill Gorcunov gorcunov at gmail.com
Wed Jun 21 16:28:20 MSK 2017


On Tue, Jun 20, 2017 at 10:22:01PM -0700, Andrei Vagin wrote:
> https://travis-ci.org/avagin/criu/jobs/245211271
> 
> ======================== Run zdtm/static/fifo_ro in ns =========================
> Start test
> ./fifo_ro --pidfile=fifo_ro.pid --outfile=fifo_ro.out --filename=fifo_ro.test
> start time for zdtm/static/fifo_ro: 0.49
> Run criu dump
> Run criu restore
> =[log]=> dump/zdtm/static/fifo_ro/60/1/restore.log
> ------------------------ grep Error ------------------------
> (01.076580)      5: 	premap 0x002b14c40f7000-0x002b14c42f7000 -> 00002b9c2e473000
> (01.076619)      5: 	premap 0x002b14c42f7000-0x002b14c42fb000 -> 00002b9c2e673000
> (01.076651)      5: 	premap 0x002b14c42fb000-0x002b14c42fd000 -> 00002b9c2e677000
> (01.076685)      5: 	premap 0x002b14c42fd000-0x002b14c4302000 -> 00002b9c2e679000
> (01.076743)      5: Error (criu/mem.c:726): Unable to remap a private vma: Bad address
> (01.078470)      1: Error (criu/cr-restore.c:1469): 5 exited, status=1
> (01.152942) uns: calling exit_usernsd (-1, 1)
> (01.153054) uns: daemon calls 0x463160 (80, -1, 1)
> (01.153075) uns: `- daemon exits w/ 0
> (01.154838) uns: daemon stopped
> (01.154866) Error (criu/cr-restore.c:2362): Restoring FAILED.
> ------------------------ ERROR OVER ------------------------
> ################ Test zdtm/static/fifo_ro FAIL at CRIU restore #################
> 
> + uname -a
> Linux testing-gce-0ce6ec49-4be1-43e4-8c69-9800efa28ea9 4.12.0-rc6+ #1 SMP Wed Jun 21 05:00:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> 

On vanilla's

commit 9705596d08ac87c18aee32cc97f2783b7d14624e
Merge: 865be78 949bdfe
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 20 11:02:29 2017 +0800

+ the Hugh's patch on top

[cyrill at uranus linux-ml.git] quilt header 
Date: Tue, 20 Jun 2017 02:10:44 -0700 (PDT)
From: Hugh Dickins <hughd at google.com>
To: Linus Torvalds <torvalds at linux-foundation.org>
cc: Dave Jones <davej at codemonkey.org.uk>, Oleg Nesterov <oleg at redhat.com>,
 Michal Hocko <mhocko at suse.com>, linux-kernel at vger.kernel.org,
 linux-mm at kvack.org
Subject: [PATCH] mm: fix new crash in unmapped_area_topdown()

---

[root at fc2 criu]# python test/zdtm.py run -t zdtm/static/fifo_ro
=== Run 1/1 ================ zdtm/static/fifo_ro

========================= Run zdtm/static/fifo_ro in h =========================
Start test
./fifo_ro --pidfile=fifo_ro.pid --outfile=fifo_ro.out --filename=fifo_ro.test
Run criu dump
Run criu restore
Send the 15 signal to  24
Wait for zdtm/static/fifo_ro(24) to die for 0.100000
Removing dump/zdtm/static/fifo_ro/24
======================== Test zdtm/static/fifo_ro PASS =========================

======================== Run zdtm/static/fifo_ro in ns =========================
Start test
./fifo_ro --pidfile=fifo_ro.pid --outfile=fifo_ro.out --filename=fifo_ro.test
Run criu dump
Run criu restore
Send the 15 signal to  72
Wait for zdtm/static/fifo_ro(72) to die for 0.100000
Removing dump/zdtm/static/fifo_ro/52
======================== Test zdtm/static/fifo_ro PASS =========================

======================== Run zdtm/static/fifo_ro in uns ========================
Start test
./fifo_ro --pidfile=fifo_ro.pid --outfile=fifo_ro.out --filename=fifo_ro.test
Run criu dump
Run criu restore
Send the 15 signal to  137
Wait for zdtm/static/fifo_ro(137) to die for 0.100000
Removing dump/zdtm/static/fifo_ro/116
======================== Test zdtm/static/fifo_ro PASS =========================



More information about the CRIU mailing list