You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CRIU (Checkpoint/Restore In Userspace) is not properly handling one-shot interval timers (ITIMERs) during checkpoint and restore operations. Specifically, timers that have their it_interval set to zero but a non-zero it_value are being ignored.
The bug affects timers with the following characteristics:
it_interval.sec == 0
it_interval.usec == 0
it_value.sec != 0 OR it_value.usec != 0
Steps to reproduce the issue:
This piece of c code repros it. Try checkpointing in the middle of the execution. And restore it. It should continue counting down after restoration.
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <sys/time.h>
void timer_handler(int signum) {
printf("Hello\n");
exit(0);
}
int main() {
struct itimerval timer;
struct sigaction sa;
// Set up the timer handler
sa.sa_handler = timer_handler;
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sigaction(SIGALRM, &sa, NULL);
// Set the timer for 30 seconds
timer.it_value.tv_sec = 30;
timer.it_value.tv_usec = 0;
timer.it_interval.tv_sec = 0;
timer.it_interval.tv_usec = 0;
// Start the timer
if (setitimer(ITIMER_REAL, &timer, NULL) == -1) {
perror("setitimer");
return 1;
}
printf("Timer set for 30 seconds\n");
// Loop every second to check remaining time
while (1) {
sleep(1);
if (getitimer(ITIMER_REAL, &timer) == -1) {
perror("getitimer");
return 1;
}
printf("Time remaining: %ld seconds\n", timer.it_value.tv_sec);
}
return 0;
}
Describe the results you received:
Time remaining: 0 seconds
Time remaining: 0 seconds
Time remaining: 0 seconds
Time remaining: 0 seconds
...
Describe the results you expected:
Time remaining: 20 seconds
Time remaining: 19 seconds
Time remaining: 18 seconds
Time remaining: 17 seconds
...
Additional information you deem important (e.g. issue happens only occasionally):
CRIU logs and information:
We should also see Restored real timer ... in restore log.
CRIU full dump/restore logs:
(00.000000) Unable to get $HOME directory, local configuration file will not be used.
(00.000000) Parsing config file /etc/criu/runc.conf
(00.000041) Version: 3.17 (gitid v3.17-6-g75aeffece)
(00.000046) Running on ip-172-31-9-234 Linux 5.15.0-1031-aws #35-Ubuntu SMP Fri Feb 10 02:07:18 UTC 2023 x86_64
(00.000048) Would overwrite RPC settings with values from /etc/criu/runc.conf
(00.000055) Loaded kdat cache from /run/criu.kdat
(00.000070) Hugetlb size 2 Mb is supported but cannot get dev's number
(00.000078) Hugetlb size 1024 Mb is supported but cannot get dev's number
(00.000097) Parsing config file /etc/criu/runc.conf
(00.000104) Will dump/restore TCP connections
(00.000106) Mount engine fallback to --mntns-compat-mode mode
(00.000120) rlimit: RLIMIT_NOFILE unlimited for self
(00.000181) cpu: x86_family 6 x86_vendor_id GenuineIntel x86_model_id Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz
(00.000188) cpu: fpu: xfeatures_mask 0x2e5 xsave_size 2696 xsave_size_max 2696 xsaves_size 2440
(00.000208) cpu: fpu: x87 floating point registers xstate_offsets 0 / 0 xstate_sizes 160 / 160
(00.000211) cpu: fpu: AVX registers xstate_offsets 576 / 576 xstate_sizes 256 / 256
(00.000212) cpu: fpu: AVX-512 opmask xstate_offsets 1088 / 832 xstate_sizes 64 / 64
(00.000214) cpu: fpu: AVX-512 Hi256 xstate_offsets 1152 / 896 xstate_sizes 512 / 512
(00.000215) cpu: fpu: AVX-512 ZMM_Hi256 xstate_offsets 1664 / 1408 xstate_sizes 1024 / 1024
(00.000216) cpu: fpu: Protection Keys User registers xstate_offsets 2688 / 2432 xstate_sizes 8 / 8
(00.000218) cpu: fpu:1 fxsr:1 xsave:1 xsaveopt:1 xsavec:1 xgetbv1:1 xsaves:1
(00.000239) kernel pid_max=4194304
(00.000241) Reading image tree
(00.000253) Add mnt ns 13 pid 1
(00.000254) Add net ns 10 pid 1
(00.000256) Add pid ns 9 pid 1
(00.000258) pstree pid_max=1
(00.000260) Will restore in 6c020000 namespaces
(00.000261) NS mask to use 6c020000
(00.000275) Collecting 51/56 (flags 3)
(00.000278) No memfd.img image
(00.000280) `- ... done
(00.000281) Collecting 40/54 (flags 2)
(00.000289) Collected [mnt/itimer] ID 0x1
(00.000291) Collected [dev/pts/0] ID 0x3
(00.000295) Collected [.] ID 0x4
(00.000297) Collected [.] ID 0x5
(00.000299) `- ... done
(00.000300) Collecting 46/68 (flags 0)
(00.000302) No remap-fpath.img image
(00.000304) `- ... done
(00.000306) No apparmor.img image
(00.000315) cg: rewriting system.slice/docker-dc77853c4a3d3aa60c30d43acd742bfb0e3271f71cf7bc40ce08495d61f268c5.scope to /system.slice/docker-6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350.scope
(00.000320) cg: Preparing cgroups yard (cgroups restore mode 0x4)
(00.000413) cg: Opening .criu.cgyard.ZdMV0r as cg yard
(00.000422) cg: Making controller dir .criu.cgyard.ZdMV0r/unified ()
(00.000440) cg: Determined cgroup dir unified//system.slice/docker-6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350.scope already exist
(00.000441) cg: Skip restoring properties on cgroup dir unified//system.slice/docker-6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350.scope
(00.000476) Running pre-restore scripts
(00.000479) RPC
(00.000576) Saved netns fd for links restore
(00.000624) mnt: Reading mountpoint images (id 13 pid 1)
(00.000631) mnt: Will mount 368 from /
(00.000634) mnt: Will mount 368 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/sys/firmware /sys/firmware
(00.000636) mnt: Read 368 mp @ /sys/firmware
(00.000639) mnt: Will mount 367 from /
(00.000641) mnt: Will mount 367 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/scsi /proc/scsi
(00.000642) mnt: Read 367 mp @ /proc/scsi
(00.000646) mnt: Will mount 366 from /dev/null (E)
(00.000649) mnt: Will mount 366 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/timer_list /proc/timer_list
(00.000651) mnt: Read 366 mp @ /proc/timer_list
(00.000656) mnt: Will mount 365 from /dev/null (E)
(00.000659) mnt: Will mount 365 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/keys /proc/keys
(00.000660) mnt: Read 365 mp @ /proc/keys
(00.000669) mnt: Will mount 364 from /dev/null (E)
(00.000671) mnt: Will mount 364 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/kcore /proc/kcore
(00.000673) mnt: Read 364 mp @ /proc/kcore
(00.000675) mnt: Will mount 363 from /
(00.000678) mnt: Will mount 363 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/acpi /proc/acpi
(00.000680) mnt: Read 363 mp @ /proc/acpi
(00.000682) mnt: Will mount 362 from /sysrq-trigger
(00.000685) mnt: Will mount 362 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sysrq-trigger /proc/sysrq-trigger
(00.000686) mnt: Read 362 mp @ /proc/sysrq-trigger
(00.000691) mnt: Will mount 361 from /sys
(00.000693) mnt: Will mount 361 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sys /proc/sys
(00.000695) mnt: Read 361 mp @ /proc/sys
(00.000698) mnt: Will mount 360 from /irq
(00.000700) mnt: Will mount 360 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/irq /proc/irq
(00.000702) mnt: Read 360 mp @ /proc/irq
(00.000704) mnt: Will mount 359 from /fs
(00.000706) mnt: Will mount 359 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/fs /proc/fs
(00.000708) mnt: Read 359 mp @ /proc/fs
(00.000711) mnt: Will mount 358 from /bus
(00.000713) mnt: Will mount 358 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/bus /proc/bus
(00.000715) mnt: Read 358 mp @ /proc/bus
(00.000719) mnt: Will mount 357 from /0
(00.000721) mnt: Will mount 357 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/dev/console /dev/console
(00.000723) mnt: Read 357 mp @ /dev/console
(00.000726) mnt: Will mount 603 from /var/lib/docker/containers/6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350/hosts (E)
(00.000729) mnt: Will mount 603 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hosts /etc/hosts
(00.000730) mnt: Read 603 mp @ /etc/hosts
(00.000734) mnt: Will mount 561 from /var/lib/docker/containers/6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350/hostname (E)
(00.000736) mnt: Will mount 561 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hostname /etc/hostname
(00.000738) mnt: Read 561 mp @ /etc/hostname
(00.000741) mnt: Will mount 559 from /var/lib/docker/containers/6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350/resolv.conf (E)
(00.000743) mnt: Will mount 559 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/etc/resolv.conf /etc/resolv.conf
(00.000744) mnt: Read 559 mp @ /etc/resolv.conf
(00.000751) mnt: Will mount 557 from /home/ubuntu (E)
(00.000753) mnt: Will mount 557 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/mnt /mnt
(00.000755) mnt: Read 557 mp @ /mnt
(00.000990) mnt: Will mount 550 from /
(00.000994) mnt: Will mount 550 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/dev/shm /dev/shm
(00.000996) mnt: Read 550 mp @ /dev/shm
(00.000999) mnt: Will mount 549 from /
(00.001002) mnt: Will mount 549 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/dev/mqueue /dev/mqueue
(00.001004) mnt: Read 549 mp @ /dev/mqueue
(00.001006) mnt: Will mount 548 from /
(00.001009) mnt: Will mount 548 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/sys/fs/cgroup /sys/fs/cgroup
(00.001011) mnt: Read 548 mp @ /sys/fs/cgroup
(00.001014) mnt: Will mount 546 from /
(00.001019) mnt: Will mount 546 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/sys /sys
(00.001020) mnt: Read 546 mp @ /sys
(00.001023) mnt: Will mount 545 from /
(00.001025) mnt: Will mount 545 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/dev/pts /dev/pts
(00.001027) mnt: Read 545 mp @ /dev/pts
(00.001030) mnt: Will mount 544 from /
(00.001032) mnt: Will mount 544 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/dev /dev
(00.001034) mnt: Read 544 mp @ /dev
(00.001037) mnt: Will mount 543 from /
(00.001039) mnt: Will mount 543 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/proc /proc
(00.001041) mnt: Read 543 mp @ /proc
(00.001046) mnt: Will mount 524 from /
(00.001048) mnt: Will mount 524 @ /tmp/.criu.mntns.SFzlpC/13-0000000000/ /
(00.001050) mnt: Read 524 mp @ /
(00.001054) mnt: Building mountpoints tree
(00.001056) mnt: Building plain mount tree
(00.001058) mnt: Working on 524->356
(00.001060) mnt: Working on 543->524
(00.001062) mnt: Working on 544->524
(00.001068) mnt: Working on 545->544
(00.001070) mnt: Working on 546->524
(00.001072) mnt: Working on 548->546
(00.001074) mnt: Working on 549->544
(00.001076) mnt: Working on 550->544
(00.001077) mnt: Working on 557->524
(00.001079) mnt: Working on 559->524
(00.001081) mnt: Working on 561->524
(00.001082) mnt: Working on 603->524
(00.001084) mnt: Working on 357->544
(00.001086) mnt: Working on 358->543
(00.001088) mnt: Working on 359->543
(00.001090) mnt: Working on 360->543
(00.001092) mnt: Working on 361->543
(00.001093) mnt: Working on 362->543
(00.001095) mnt: Working on 363->543
(00.001097) mnt: Working on 364->543
(00.001099) mnt: Working on 365->543
(00.001100) mnt: Working on 366->543
(00.001102) mnt: Working on 367->543
(00.001104) mnt: Working on 368->546
(00.001106) mnt: Resorting children of 524 in mount order
(00.001108) mnt: Resorting children of 559 in mount order
(00.001110) mnt: Resorting children of 561 in mount order
(00.001112) mnt: Resorting children of 603 in mount order
(00.001114) mnt: Resorting children of 543 in mount order
(00.001117) mnt: Resorting children of 358 in mount order
(00.001118) mnt: Resorting children of 359 in mount order
(00.001120) mnt: Resorting children of 360 in mount order
(00.001122) mnt: Resorting children of 361 in mount order
(00.001123) mnt: Resorting children of 362 in mount order
(00.001125) mnt: Resorting children of 363 in mount order
(00.001127) mnt: Resorting children of 364 in mount order
(00.001128) mnt: Resorting children of 365 in mount order
(00.001130) mnt: Resorting children of 366 in mount order
(00.001132) mnt: Resorting children of 367 in mount order
(00.001134) mnt: Resorting children of 544 in mount order
(00.001136) mnt: Resorting children of 545 in mount order
(00.001138) mnt: Resorting children of 549 in mount order
(00.001139) mnt: Resorting children of 550 in mount order
(00.001141) mnt: Resorting children of 357 in mount order
(00.001143) mnt: Resorting children of 546 in mount order
(00.001145) mnt: Resorting children of 548 in mount order
(00.001146) mnt: Resorting children of 368 in mount order
(00.001148) mnt: Resorting children of 557 in mount order
(00.001150) mnt: Done:
(00.001152) mnt: [/](524->356)
(00.001154) mnt: [/etc/resolv.conf](559->524)
(00.001156) mnt: <--
(00.001158) mnt: [/etc/hostname](561->524)
(00.001160) mnt: <--
(00.001162) mnt: [/etc/hosts](603->524)
(00.001164) mnt: <--
(00.001165) mnt: [/proc](543->524)
(00.001167) mnt: [/proc/bus](358->543)
(00.001169) mnt: <--
(00.001171) mnt: [/proc/fs](359->543)
(00.001173) mnt: <--
(00.001175) mnt: [/proc/irq](360->543)
(00.001177) mnt: <--
(00.001179) mnt: [/proc/sys](361->543)
(00.001181) mnt: <--
(00.001182) mnt: [/proc/sysrq-trigger](362->543)
(00.001184) mnt: <--
(00.001186) mnt: [/proc/acpi](363->543)
(00.001188) mnt: <--
(00.001189) mnt: [/proc/kcore](364->543)
(00.001191) mnt: <--
(00.001193) mnt: [/proc/keys](365->543)
(00.001195) mnt: <--
(00.001197) mnt: [/proc/timer_list](366->543)
(00.001199) mnt: <--
(00.001201) mnt: [/proc/scsi](367->543)
(00.001203) mnt: <--
(00.001204) mnt: <--
(00.001206) mnt: [/dev](544->524)
(00.001208) mnt: [/dev/pts](545->544)
(00.001210) mnt: <--
(00.001212) mnt: [/dev/mqueue](549->544)
(00.001214) mnt: <--
(00.001216) mnt: [/dev/shm](550->544)
(00.001218) mnt: <--
(00.001219) mnt: [/dev/console](357->544)
(00.001221) mnt: <--
(00.001223) mnt: <--
(00.001225) mnt: [/sys](546->524)
(00.001226) mnt: [/sys/fs/cgroup](548->546)
(00.001228) mnt: <--
(00.001230) mnt: [/sys/firmware](368->546)
(00.001232) mnt: <--
(00.001234) mnt: <--
(00.001235) mnt: [/mnt](557->524)
(00.001237) mnt: <--
(00.001239) mnt: <--
(00.001241) mnt: The mount 358 is bind for 543 (@/proc/bus -> @/proc)
(00.001244) mnt: The mount 359 is bind for 543 (@/proc/fs -> @/proc)
(00.001246) mnt: The mount 360 is bind for 543 (@/proc/irq -> @/proc)
(00.001248) mnt: The mount 361 is bind for 543 (@/proc/sys -> @/proc)
(00.001253) mnt: The mount 362 is bind for 543 (@/proc/sysrq-trigger -> @/proc)
(00.001255) mnt: The mount 364 is bind for 544 (@/proc/kcore -> @/dev)
(00.001257) mnt: The mount 365 is bind for 544 (@/proc/keys -> @/dev)
(00.001259) mnt: The mount 366 is bind for 544 (@/proc/timer_list -> @/dev)
(00.001261) mnt: The mount 357 is bind for 545 (@/dev/console -> @/dev/pts)
(00.001264) mnt: The mount 559 is bind for 557 (@/etc/resolv.conf -> @/mnt)
(00.001266) mnt: The mount 561 is bind for 557 (@/etc/hostname -> @/mnt)
(00.001268) mnt: The mount 603 is bind for 557 (@/etc/hosts -> @/mnt)
(00.001270) mnt: Start with 524:/
(00.001276) mnt: Mountpoint 524 (@/) moved to the root yard
(00.001280) No netns-10.img image
(00.001287) No pidns-9.img image
(00.001342) Warn (criu/cr-restore.c:1296): Set CLONE_PARENT | CLONE_NEWPID but it might cause restore problem,because not all kernels support such clone flags combinations!
(00.001345) Forking task with 1 pid (flags 0x6c028000)
(00.001347) Creating process using clone3()
(00.001583) PID: real 192651 virt 1
(00.001631) Wait until namespaces are created
(00.002259) 1: timens: monotonic -13 492925111
(00.002269) 1: timens: boottime -13 492915036
(00.002304) Running setup-namespaces scripts
(00.002308) RPC
(00.081329) 1: cg: Move into 2
(00.081364) 1: cg: setting cgns prefix to /system.slice/docker-6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350.scope
(00.081396) 1: cg: `-> unified//system.slice/docker-6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350.scope/cgroup.procs
(00.081404) 1: Calling restore_sid() for init
(00.081407) 1: Restoring 1 to 1 sid
(00.081460) 1: Collecting 44/37 (flags 2)
(00.081484) 1: tty: Collected tty ID 0x2 (pts)
(00.081497) 1: `- ... done
(00.081499) 1: Collecting 45/51 (flags 0)
(00.081503) 1: No tty-data.img image
(00.081508) 1: `- ... done
(00.081509) 1: Restoring namespaces 1 flags 0x6c028000
(00.081747) 1: kernel/hostname nr 12
(00.081799) 1: kernel/domainname nr 6
(00.082080) 1: Restoring IPC namespace
(00.082090) 1: Restoring IPC variables
(00.082517) 1: Restoring IPC shared memory
(00.082526) 1: No ipcns-shm-11.img image
(00.082528) 1: Restoring IPC message queues
(00.082530) 1: No ipcns-msg-11.img image
(00.082531) 1: Restoring IPC semaphores sets
(00.082534) 1: No ipcns-sem-11.img image
(00.082677) 1: No netns-ct-10.img image
(00.082681) 1: No netns-exp-10.img image
(00.082759) 1: mnt: Restoring mount namespace
(00.082763) 1: mnt: Inspecting sharing on 524 shared_id 0 master_id 0 (@/)
(00.082765) 1: mnt: Inspecting sharing on 543 shared_id 0 master_id 0 (@/proc)
(00.082766) 1: mnt: Inspecting sharing on 544 shared_id 0 master_id 0 (@/dev)
(00.082767) 1: mnt: Inspecting sharing on 545 shared_id 0 master_id 0 (@/dev/pts)
(00.082769) 1: mnt: Inspecting sharing on 546 shared_id 0 master_id 0 (@/sys)
(00.082770) 1: mnt: Inspecting sharing on 548 shared_id 0 master_id 0 (@/sys/fs/cgroup)
(00.082772) 1: mnt: Inspecting sharing on 549 shared_id 0 master_id 0 (@/dev/mqueue)
(00.082773) 1: mnt: Inspecting sharing on 550 shared_id 0 master_id 0 (@/dev/shm)
(00.082775) 1: mnt: Inspecting sharing on 557 shared_id 0 master_id 0 (@/mnt)
(00.082776) 1: mnt: Inspecting sharing on 559 shared_id 0 master_id 0 (@/etc/resolv.conf)
(00.082777) 1: mnt: Inspecting sharing on 561 shared_id 0 master_id 0 (@/etc/hostname)
(00.082778) 1: mnt: Inspecting sharing on 603 shared_id 0 master_id 0 (@/etc/hosts)
(00.082790) 1: mnt: Inspecting sharing on 357 shared_id 0 master_id 0 (@/dev/console)
(00.082792) 1: mnt: Inspecting sharing on 358 shared_id 0 master_id 0 (@/proc/bus)
(00.082794) 1: mnt: Inspecting sharing on 359 shared_id 0 master_id 0 (@/proc/fs)
(00.082795) 1: mnt: Inspecting sharing on 360 shared_id 0 master_id 0 (@/proc/irq)
(00.082796) 1: mnt: Inspecting sharing on 361 shared_id 0 master_id 0 (@/proc/sys)
(00.082802) 1: mnt: Inspecting sharing on 362 shared_id 0 master_id 0 (@/proc/sysrq-trigger)
(00.082804) 1: mnt: Inspecting sharing on 363 shared_id 0 master_id 0 (@/proc/acpi)
(00.082805) 1: mnt: Inspecting sharing on 364 shared_id 0 master_id 0 (@/proc/kcore)
(00.082806) 1: mnt: Inspecting sharing on 365 shared_id 0 master_id 0 (@/proc/keys)
(00.082807) 1: mnt: Inspecting sharing on 366 shared_id 0 master_id 0 (@/proc/timer_list)
(00.082809) 1: mnt: Inspecting sharing on 367 shared_id 0 master_id 0 (@/proc/scsi)
(00.082810) 1: mnt: Inspecting sharing on 368 shared_id 0 master_id 0 (@/sys/firmware)
(00.082815) 1: mnt: Start with 0:(null)
(00.082942) 1: mnt: Start with 0:(null)
(00.082944) 1: mnt: can_mount_now: true as 524 is mntns root
(00.082946) 1: mnt: Mounting overlay 524@/tmp/.criu.mntns.SFzlpC/13-0000000000/ (0)
(00.082954) 1: mnt: 524:/tmp/.criu.mntns.SFzlpC/13-0000000000/ private 1 shared 0 slave 0
(00.082959) 1: mnt: Mounting unsupported 559@/tmp/.criu.mntns.SFzlpC/13-0000000000/etc/resolv.conf (0)
(00.082961) 1: mnt: Bind /var/lib/docker/containers/6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350/resolv.conf to /tmp/.criu.mntns.SFzlpC/13-0000000000/etc/resolv.conf
(00.082968) 1: mnt: 559:/tmp/.criu.mntns.SFzlpC/13-0000000000/etc/resolv.conf private 1 shared 0 slave 0
(00.082973) 1: mnt: Mounting unsupported 561@/tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hostname (0)
(00.082975) 1: mnt: Bind /var/lib/docker/containers/6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350/hostname to /tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hostname
(00.082979) 1: mnt: 561:/tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hostname private 1 shared 0 slave 0
(00.082983) 1: mnt: Mounting unsupported 603@/tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hosts (0)
(00.082984) 1: mnt: Bind /var/lib/docker/containers/6e103d7cb7416320f54c5fff6e9ad4ccbe5471fad83944ec9dcce334d681c350/hosts to /tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hosts
(00.082988) 1: mnt: 603:/tmp/.criu.mntns.SFzlpC/13-0000000000/etc/hosts private 1 shared 0 slave 0
(00.082992) 1: mnt: Mounting proc 543@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc (0)
(00.083014) 1: mnt: 543:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc private 1 shared 0 slave 0
(00.083017) 1: mnt: Bind private /proc/sysrq-trigger(362)
(00.083018) 1: mnt: Bind private /proc/sys(361)
(00.083019) 1: mnt: Bind private /proc/irq(360)
(00.083020) 1: mnt: Bind private /proc/fs(359)
(00.083021) 1: mnt: Bind private /proc/bus(358)
(00.083022) 1: mnt: Mounting proc 358@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/bus (0)
(00.083024) 1: mnt: Bind /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/bus to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/bus
(00.083031) 1: mnt: 358:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/bus private 1 shared 0 slave 0
(00.083034) 1: mnt: Mounting proc 359@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/fs (0)
(00.083035) 1: mnt: Bind /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/fs to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/fs
(00.083040) 1: mnt: 359:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/fs private 1 shared 0 slave 0
(00.083043) 1: mnt: Mounting proc 360@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/irq (0)
(00.083044) 1: mnt: Bind /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/irq to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/irq
(00.083049) 1: mnt: 360:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/irq private 1 shared 0 slave 0
(00.083052) 1: mnt: Mounting proc 361@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sys (0)
(00.083053) 1: mnt: Bind /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sys to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sys
(00.083059) 1: mnt: 361:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sys private 1 shared 0 slave 0
(00.083061) 1: mnt: Mounting proc 362@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sysrq-trigger (0)
(00.083063) 1: mnt: Bind /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sysrq-trigger to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sysrq-trigger
(00.083073) 1: mnt: 362:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/sysrq-trigger private 1 shared 0 slave 0
(00.083076) 1: mnt: Mounting tmpfs 363@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/acpi (0)
(00.085199) 1: mnt: 363:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/acpi private 1 shared 0 slave 0
(00.085208) 1: mnt: Mounting tmpfs 364@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/kcore (0)
(00.085210) 1: mnt: Bind /dev/null to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/kcore
(00.085220) 1: mnt: 364:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/kcore private 1 shared 0 slave 0
(00.085223) 1: mnt: Bind private /proc/timer_list(366)
(00.085225) 1: mnt: Bind private /proc/keys(365)
(00.085227) 1: mnt: Mounting tmpfs 365@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/keys (0)
(00.085228) 1: mnt: Bind /dev/null to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/keys
(00.085234) 1: mnt: 365:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/keys private 1 shared 0 slave 0
(00.085237) 1: mnt: Mounting tmpfs 366@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/timer_list (0)
(00.085238) 1: mnt: Bind /dev/null to /tmp/.criu.mntns.SFzlpC/13-0000000000/proc/timer_list
(00.085243) 1: mnt: 366:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/timer_list private 1 shared 0 slave 0
(00.085246) 1: mnt: Mounting tmpfs 367@/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/scsi (0)
(00.087137) 1: mnt: 367:/tmp/.criu.mntns.SFzlpC/13-0000000000/proc/scsi private 1 shared 0 slave 0
(00.087149) 1: mnt: Mounting tmpfs 544@/tmp/.criu.mntns.SFzlpC/13-0000000000/dev (0)
(00.089063) 1: mnt: 544:/tmp/.criu.mntns.SFzlpC/13-0000000000/dev private 1 shared 0 slave 0
(00.089074) 1: mnt: Mounting devpts 545@/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/pts (0)
(00.089107) 1: tty: Create a slave tty 0
(00.089137) 1: tty: ptmx opened with index 0
(00.089139) 1: tty: ptmx opened with index 0
(00.089149) 1: mnt: 545:/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/pts private 1 shared 0 slave 0
(00.089152) 1: mnt: Bind private /dev/console(357)
(00.089155) 1: mnt: Mounting mqueue 549@/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/mqueue (0)
(00.089161) 1: mnt: 549:/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/mqueue private 1 shared 0 slave 0
(00.089164) 1: mnt: Mounting tmpfs 550@/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/shm (0)
(00.091024) 1: mnt: 550:/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/shm private 1 shared 0 slave 0
(00.091033) 1: mnt: Mounting devpts 357@/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/console (0)
(00.091036) 1: mnt: Bind /tmp/.criu.mntns.SFzlpC/13-0000000000/dev/pts/0 to /tmp/.criu.mntns.SFzlpC/13-0000000000/dev/console
(00.091041) 1: mnt: 357:/tmp/.criu.mntns.SFzlpC/13-0000000000/dev/console private 1 shared 0 slave 0
(00.091044) 1: mnt: Mounting sysfs 546@/tmp/.criu.mntns.SFzlpC/13-0000000000/sys (0)
(00.091068) 1: mnt: 546:/tmp/.criu.mntns.SFzlpC/13-0000000000/sys private 1 shared 0 slave 0
(00.091071) 1: mnt: Mounting cgroup2 548@/tmp/.criu.mntns.SFzlpC/13-0000000000/sys/fs/cgroup (0)
(00.091084) 1: mnt: 548:/tmp/.criu.mntns.SFzlpC/13-0000000000/sys/fs/cgroup private 1 shared 0 slave 0
(00.091088) 1: mnt: Mounting tmpfs 368@/tmp/.criu.mntns.SFzlpC/13-0000000000/sys/firmware (0)
(00.092983) 1: mnt: 368:/tmp/.criu.mntns.SFzlpC/13-0000000000/sys/firmware private 1 shared 0 slave 0
(00.092991) 1: mnt: Mounting unsupported 557@/tmp/.criu.mntns.SFzlpC/13-0000000000/mnt (0)
(00.092993) 1: mnt: Bind /home/ubuntu to /tmp/.criu.mntns.SFzlpC/13-0000000000/mnt
(00.093001) 1: mnt: 557:/tmp/.criu.mntns.SFzlpC/13-0000000000/mnt private 1 shared 0 slave 0
(00.093007) 1: mnt: Start with 0:(null)
(00.093163) 1: mnt: Move the root to /tmp/.criu.mntns.SFzlpC/13-0000000000
(00.095446) Running post-setup-namespaces scripts
(00.095452) RPC
(00.095543) 1: Preparing info about shared resources
(00.095581) 1: Collecting 48/38 (flags 0)
(00.095584) 1: No filelocks.img image
(00.095585) 1: `- ... done
(00.095586) 1: Collecting 42/27 (flags 0)
(00.095590) 1: No pipes-data.img image
(00.095591) 1: `- ... done
(00.095592) 1: Collecting 43/27 (flags 0)
(00.095595) 1: No fifo-data.img image
(00.095596) 1: `- ... done
(00.095597) 1: Collecting 41/69 (flags 0)
(00.095599) 1: No sk-queues.img image
(00.095601) 1: `- ... done
(00.095616) 1: Found 11 VMAs in image
(00.095618) 1: vma 0x400000 0x401000
(00.095619) 1: vma 0x401000 0x499000
(00.095620) 1: vma 0x499000 0x4c2000
(00.095622) 1: vma 0x4c3000 0x4c7000
(00.095623) 1: vma 0x4c7000 0x4ca000
(00.095624) 1: vma 0x4ca000 0x4cf000
(00.095625) 1: vma 0x22c2000 0x22e4000
(00.095626) 1: vma 0x7fff36afe000 0x7fff36b1f000
(00.095627) 1: vma 0x7fff36b5d000 0x7fff36b61000
(00.095629) 1: vma 0x7fff36b61000 0x7fff36b63000
(00.095630) 1: vma 0xffffffffff600000 0xffffffffff601000
(00.095635) 1: Collect fdinfo pid=1 fd=0 id=0x2
(00.095637) 1: Collect fdinfo pid=1 fd=1 id=0x2
(00.095639) 1: Collect fdinfo pid=1 fd=2 id=0x2
(00.095665) 1: skqueue: Preparing SCMs
(00.095667) 1: tty: Unpaired slave 0
(00.095669) 1: tty: ctl tty leader 0x2
(00.095670) 1: tty: Set a control terminal 0x2 to 1
(00.095671) 1: tty: Requesting for ctl tty 0x2 into service fd
(00.095672) 1: Collect fdinfo pid=1 fd=3 id=0x2
(00.095674) 1: Collect fdinfo pid=1 fd=4 id=0x2
(00.095675) 1: tty: head driver pts id 0x2 index 0 (master 0 sid 1 pgrp 1 inherit 1)
(00.095677) 1: tty: Found orphan slave fake leader (0x2)
(00.095679) 1: unix: ghost: Resolving addresses
(00.095680) 1: File descs:
(00.095681) 1: `- type 1 ID 0x1
(00.095682) 1: `- type 65534 ID 0x2
(00.095683) 1: `- FD 4 pid 1
(00.095685) 1: `- type 11 ID 0x2
(00.095686) 1: `- FD 0 pid 1
(00.095687) 1: `- FD 1 pid 1
(00.095688) 1: `- FD 2 pid 1
(00.095689) 1: `- FD 3 pid 1
(00.095690) 1: `- type 1 ID 0x3
(00.095691) 1: `- type 1 ID 0x4
(00.095692) 1: `- type 1 ID 0x5
(00.095744) 1: No parent images directory provided
(00.095752) 1: Opened local page read 1 (parent 0)
(00.095776) 1: premap 0x00000000400000-0x00000000401000 -> 00007fce9090b000
(00.095780) 1: premap 0x00000000401000-0x00000000499000 -> 00007fce9090c000
(00.095782) 1: premap 0x00000000499000-0x000000004c2000 -> 00007fce909a4000
(00.095785) 1: premap 0x000000004c3000-0x000000004c7000 -> 00007fce909cd000
(00.095787) 1: premap 0x000000004c7000-0x000000004ca000 -> 00007fce909d1000
(00.095789) 1: premap 0x000000004ca000-0x000000004cf000 -> 00007fce909d4000
(00.095791) 1: premap 0x000000022c2000-0x000000022e4000 -> 00007fce909d9000
(00.095793) 1: premap 0x007fff36afe000-0x007fff36b1f000 -> 00007fce909fb000
(00.095795) 1: premap 0x007fff36b5d000-0x007fff36b61000 -> 00007fce90a1c000
(00.095798) 1: premap 0x007fff36b61000-0x007fff36b63000 -> 00007fce90a20000
(00.095799) 1: pr1-1 Read 401000 1 pages
(00.095801) 1: pr1-1 Read 4c5000 2 pages
(00.095803) 1: pr1-1 Read 4c7000 3 pages
(00.095804) 1: Lazy restore skips 1 pages at 4ca000
(00.095805) 1: Lazy restore skips 1 pages at 4ce000
(00.095806) 1: Lazy restore skips 2 pages at 22c2000
(00.095807) 1: Lazy restore skips 3 pages at 7fff36b1c000
(00.095809) 1: pr1-1 Read 7fff36b61000 2 pages
(00.095810) 1: Read piov iovs 3, from 0, len 32768, first 0x7fce9090c000:4096
(00.095831) 1: nr_restored_pages: 8
(00.095833) 1: nr_shared_pages: 0
(00.095834) 1: nr_dropped_pages: 0
(00.095835) 1: nr_lazy: 7
(00.095836) 1: Restore on-core sigactions for 1
(00.095852) 1: Restoring children in alien sessions:
(00.095853) 1: Restoring children in our session:
(00.095857) 1: Restoring 1 to 1 pgid
(00.095860) 1: Restoring resources
(00.095867) 1: Opening fdinfo-s
(00.095869) 1: tty: open driver pts id 0x2 index 0 (master 0 sid 1 pgrp 1 inherit 1)
(00.095870) 1: tty: Allocating fake descriptor for 0x2 (reg_d 0x7fce90e95780)
(00.095878) 1: RPC
(00.095974) 1: Create fd for 0
(00.095990) 1: Going to dup 0 into 1
(00.095992) 1: Going to dup 0 into 2
(00.095993) 1: Going to dup 0 into 3
(00.095995) 1: Receive fd for 1
(00.095996) 1: Receive fd for 2
(00.095997) 1: Receive fd for 3
(00.096001) 1: tty: Restore session 1 by 1 tty (index 0)
(00.096005) 1: Create fd for 4
(00.096015) 1: Growing rst memory 3 pages
(00.096044) 1: uffd: Sending PID 1
(00.096054) 1: Restore via sigreturn
(00.096128) 1: Parsed 562a4b2bd000-562a4b2fc000 vma
(00.096131) 1: Parsed 562a4b2bd000-562a4b3aa000 vma
(00.096132) 1: Parsed 562a4b2bd000-562a4b419000 vma
(00.096133) 1: Parsed 562a4b41a000-562a4b439000 vma
(00.096135) 1: Parsed 562a4b41a000-562a4b440000 vma
(00.096136) 1: Parsed 562a4b41a000-562a4b453000 vma
(00.096137) 1: Parsed 562a4bcc8000-562a4bce9000 vma
(00.096139) 1: Parsed 7fce90906000-7fce9090b000 vma
(00.096140) 1: Parsed 7fce90906000-7fce9090c000 vma
(00.096141) 1: Parsed 7fce90906000-7fce909a4000 vma
(00.096142) 1: Parsed 7fce90906000-7fce909d4000 vma
(00.096144) 1: Parsed 7fce90906000-7fce909fb000 vma
(00.096145) 1: Parsed 7fce90906000-7fce90a1c000 vma
(00.096146) 1: Parsed 7fce90906000-7fce90a20000 vma
(00.096147) 1: Parsed 7fce90906000-7fce90a2d000 vma
(00.096148) 1: Parsed 7fce90906000-7fce90a3f000 vma
(00.096150) 1: Parsed 7fce90906000-7fce90a49000 vma
(00.096151) 1: Parsed 7fce90906000-7fce90aa8000 vma
(00.096152) 1: Parsed 7fce90906000-7fce90abf000 vma
(00.096153) 1: Parsed 7fce90906000-7fce90ac0000 vma
(00.096154) 1: Parsed 7fce90906000-7fce90ac1000 vma
(00.096156) 1: Parsed 7fce90906000-7fce90ac3000 vma
(00.096157) 1: Parsed 7fce90906000-7fce90ac5000 vma
(00.096158) 1: Parsed 7fce90906000-7fce90ace000 vma
(00.096159) 1: Parsed 7fce90906000-7fce90ad1000 vma
(00.096160) 1: Parsed 7fce90906000-7fce90ad2000 vma
(00.096162) 1: Parsed 7fce90906000-7fce90ad3000 vma
(00.096163) 1: Parsed 7fce90906000-7fce90ad6000 vma
(00.096164) 1: Parsed 7fce90906000-7fce90ade000 vma
(00.096165) 1: Parsed 7fce90906000-7fce90ae1000 vma
(00.096166) 1: Parsed 7fce90906000-7fce90ae2000 vma
(00.096168) 1: Parsed 7fce90906000-7fce90ae3000 vma
(00.096169) 1: Parsed 7fce90906000-7fce90ae4000 vma
(00.096170) 1: Parsed 7fce90906000-7fce90ae6000 vma
(00.096171) 1: Parsed 7fce90906000-7fce90aef000 vma
(00.096172) 1: Parsed 7fce90906000-7fce90b09000 vma
(00.096174) 1: Parsed 7fce90906000-7fce90b13000 vma
(00.096175) 1: Parsed 7fce90906000-7fce90b16000 vma
(00.096176) 1: Parsed 7fce90906000-7fce90b18000 vma
(00.096177) 1: Parsed 7fce90906000-7fce90b1a000 vma
(00.096178) 1: Parsed 7fce90906000-7fce90b1c000 vma
(00.096180) 1: Parsed 7fce90906000-7fce90b1d000 vma
(00.096192) 1: Parsed 7fce90906000-7fce90b1e000 vma
(00.096194) 1: Parsed 7fce90906000-7fce90b1f000 vma
(00.096196) 1: Parsed 7fce90906000-7fce90b20000 vma
(00.096198) 1: Parsed 7fce90906000-7fce90b22000 vma
(00.096200) 1: Parsed 7fce90906000-7fce90b29000 vma
(00.096201) 1: Parsed 7fce90906000-7fce90b2b000 vma
(00.096203) 1: Parsed 7fce90906000-7fce90b2c000 vma
(00.096205) 1: Parsed 7fce90906000-7fce90b2d000 vma
(00.096207) 1: Parsed 7fce90906000-7fce90b55000 vma
(00.096208) 1: Parsed 7fce90906000-7fce90cea000 vma
(00.096210) 1: Parsed 7fce90906000-7fce90d42000 vma
(00.096212) 1: Parsed 7fce90906000-7fce90d43000 vma
(00.096213) 1: Parsed 7fce90906000-7fce90d47000 vma
(00.096215) 1: Parsed 7fce90906000-7fce90d49000 vma
(00.096217) 1: Parsed 7fce90906000-7fce90d58000 vma
(00.096218) 1: Parsed 7fce90906000-7fce90d5c000 vma
(00.096220) 1: Parsed 7fce90906000-7fce90d6a000 vma
(00.096227) 1: Parsed 7fce90906000-7fce90d70000 vma
(00.096229) 1: Parsed 7fce90906000-7fce90d71000 vma
(00.096231) 1: Parsed 7fce90906000-7fce90d72000 vma
(00.096233) 1: Parsed 7fce90906000-7fce90d74000 vma
(00.096234) 1: Parsed 7fce90906000-7fce90d7c000 vma
(00.096236) 1: Parsed 7fce90906000-7fce90d8b000 vma
(00.096238) 1: Parsed 7fce90906000-7fce90d94000 vma
(00.096240) 1: Parsed 7fce90906000-7fce90d96000 vma
(00.096241) 1: Parsed 7fce90906000-7fce90d97000 vma
(00.096243) 1: Parsed 7fce90906000-7fce90d98000 vma
(00.096246) 1: Parsed 7fce90906000-7fce90d9e000 vma
(00.096248) 1: Parsed 7fce90906000-7fce90d9f000 vma
(00.096251) 1: Parsed 7fce90906000-7fce90da0000 vma
(00.096253) 1: Parsed 7fce90906000-7fce90da1000 vma
(00.096255) 1: Parsed 7fce90906000-7fce90da2000 vma
(00.096256) 1: Parsed 7fce90906000-7fce90dba000 vma
(00.096258) 1: Parsed 7fce90906000-7fce90e2c000 vma
(00.096261) 1: Parsed 7fce90906000-7fce90e64000 vma
(00.096262) 1: Parsed 7fce90906000-7fce90e65000 vma
(00.096272) 1: Parsed 7fce90906000-7fce90e77000 vma
(00.096274) 1: Parsed 7fce90906000-7fce90e78000 vma
(00.096275) 1: Parsed 7fce90906000-7fce90e79000 vma
(00.096276) 1: Parsed 7fce90906000-7fce90e7d000 vma
(00.096277) 1: Parsed 7fce90906000-7fce90e8a000 vma
(00.096278) 1: Parsed 7fce90906000-7fce90e8d000 vma
(00.096280) 1: Parsed 7fce90906000-7fce90e8e000 vma
(00.096281) 1: Parsed 7fce90906000-7fce90e8f000 vma
(00.096282) 1: Parsed 7fce90906000-7fce90e90000 vma
(00.096283) 1: Parsed 7fce90906000-7fce90e91000 vma
(00.096285) 1: Parsed 7fce90e93000-7fce90e95000 vma
(00.096286) 1: Parsed 7fce90e93000-7fce90e97000 vma
(00.096287) 1: Parsed 7fce90e93000-7fce90e99000 vma
(00.096288) 1: Parsed 7fce90e93000-7fce90e9b000 vma
(00.096289) 1: Parsed 7fce90e93000-7fce90ec5000 vma
(00.096291) 1: Parsed 7fce90e93000-7fce90ed0000 vma
(00.096292) 1: Parsed 7fce90e93000-7fce90ed1000 vma
(00.096293) 1: Parsed 7fce90e93000-7fce90ed3000 vma
(00.096294) 1: Parsed 7fce90e93000-7fce90ed5000 vma
(00.096295) 1: Parsed 7fffbf645000-7fffbf666000 vma
(00.096297) 1: Parsed 7fffbf728000-7fffbf72c000 vma
(00.096298) 1: Parsed 7fffbf728000-7fffbf72e000 vma
(00.096299) 1: Parsed ffffffffff600000-ffffffffff601000 vma
(00.096303) 1: 1 threads require 128K of memory
(00.096304) 1: Found bootstrap VMA hint at: 0x10000 (needs ~152K)
(00.096333) 1: call mremap(0x7fce90906000, 20480, 20480, MAYMOVE | FIXED, 0x29000)
(00.096337) 1: call mremap(0x7fce90e93000, 8192, 8192, MAYMOVE | FIXED, 0x2e000)
(00.096344) 1: x86: xsave runtime structure
(00.096346) 1: x86: -----------------------
(00.096347) 1: x86: cwd:0x37f swd:0 twd:0 fop:0 mxcsr:0x1f80 mxcsr_mask:0xffff
(00.096348) 1: x86: magic1:0x46505853 extended_size:2700 xstate_bv:0x2e7 xstate_size:2696
(00.096350) 1: x86: xstate_bv: 0x2e7
(00.096351) 1: x86: -----------------------
(00.096352) 1: Thread 0 stack 0x1b080 rt_sigframe 0x23080
(00.096369) 1: Going to chroot into /proc/self/fd/6
(00.096372) 1: Restoring umask to 22
(00.096382) 1: task_args: 0x28000
task_args->pid: 1
task_args->nr_threads: 1
task_args->clone_restore_fn: 0x11e70
task_args->thread_args: 0x28580
(00.096384) pie: 1: Switched to the restorer 1
(00.096386) pie: 1: lazy-pages: uffd 4
(00.096479) pie: 1: Mapping native vDSO at 0x30000
(00.096482) pie: 1: vdso: Using gettimeofday() on vdso at 0x34bd0
(00.096487) pie: 1: Remap 0x7fce9090b000->0x400000 len 0x1000
(00.096491) pie: 1: Remap 0x7fce9090c000->0x401000 len 0x98000
(00.096494) pie: 1: Remap 0x7fce909a4000->0x499000 len 0x29000
(00.096498) pie: 1: Remap 0x7fce909cd000->0x4c3000 len 0x4000
(00.096501) pie: 1: Remap 0x7fce909d1000->0x4c7000 len 0x3000
(00.096504) pie: 1: Remap 0x7fce909d4000->0x4ca000 len 0x5000
(00.096507) pie: 1: lazy-pages: register: 0x4ca000, len 0x5000
(00.096509) pie: 1: Remap 0x7fce909d9000->0x22c2000 len 0x22000
(00.096515) pie: 1: lazy-pages: register: 0x22c2000, len 0x22000
(00.096517) pie: 1: Remap 0x7fce90a20000->0x7fff36b61000 len 0x2000
(00.096521) pie: 1: Remap 0x7fce90a1c000->0x7fff36b5d000 len 0x4000
(00.096523) pie: 1: lazy-pages: register: 0x7fff36b5d000, len 0x4000
(00.096525) pie: 1: Remap 0x7fce909fb000->0x7fff36afe000 len 0x21000
(00.096528) pie: 1: lazy-pages: register: 0x7fff36afe000, len 0x21000
(00.096530) pie: 1: lazy-pages: closing uffd 4
(00.096531) pie: 1: vdso: Parsing at 0x7fff36b61000 0x7fff36b63000
(00.096533) pie: 1: vdso: PT_LOAD p_vaddr: 0x0
(00.096534) pie: 1: vdso: DT_HASH: 0x120
(00.096535) pie: 1: vdso: DT_STRTAB: 0x300
(00.096536) pie: 1: vdso: DT_SYMTAB: 0x1c8
(00.096537) pie: 1: vdso: DT_STRSZ: 0x8b
(00.096538) pie: 1: vdso: DT_SYMENT: 0x18
(00.096540) pie: 1: vdso: nbucket 0x3 nchain 0xd bucket 0x7fff36b61128 chain 0x7fff36b61134
(00.096542) pie: 1: vdso: image [vdso] 0x7fff36b61000-0x7fff36b63000 [vvar] 0x7fff36b5d000-0x7fff36b61000
(00.096544) pie: 1: vdso: Runtime vdso/vvar matches dumpee, remap inplace
(00.096564) pie: 1: vdso: Remap rt-vdso 0x34000 -> 0x7fff36b61000
(00.096568) pie: 1: vdso: Remap rt-vvar 0x30000 -> 0x7fff36b5d000
(00.096571) pie: 1: vdso: Using gettimeofday() on vdso at 0x7fff36b61bd0
(00.096580) pie: 1: Restoring scheduler params 0.0.0
(00.096584) pie: 1: rseq: rseq_abi_pointer = 0x22c2d60 signature = 0x53053053
(00.096684) pie: 1: 1: Restored
(00.096716) Running post-restore scripts
(00.096720) RPC
(00.097559) mnt: Switching to new ns to clean ghosts
(00.097687) Unlock network
(00.097689) Running network-unlock scripts
(00.097691) RPC
(00.120999) pie: 1: seccomp: Restoring mode 1 flags 0x1 on tid 1 filter 0
(00.121411) pie: 1: seccomp: Restored mode 2 on tid 1
(00.121434) pie: 1: restoring lsm profile (current) changeprofile docker-default
(00.121486) Force no-breakpoints restore
(00.121517) 192651 was trapped
(00.121523) 192651 (native) is going to execute the syscall 202, required is 15
(00.121548) 192651 was trapped
(00.121550) `- Expecting exit
(00.121566) 192651 was trapped
(00.121568) 192651 (native) is going to execute the syscall 3, required is 15
(00.121646) 192651 was trapped
(00.121648) `- Expecting exit
(00.121663) 192651 was trapped
(00.121665) 192651 (native) is going to execute the syscall 3, required is 15
(00.121680) 192651 was trapped
(00.121682) `- Expecting exit
(00.121697) 192651 was trapped
(00.121699) 192651 (native) is going to execute the syscall 11, required is 15
(00.121726) 192651 was trapped
(00.121727) `- Expecting exit
(00.121742) 192651 was trapped
(00.121744) 192651 (native) is going to execute the syscall 15, required is 15
(00.121761) 192651 was stopped
(00.121796) 192651 was trapped
(00.121798) 192651 (native) is going to execute the syscall 11, required is 11
(00.121823) 192651 was stopped
(00.121827) Run late stage hook from criu master for external devices
(00.121828) restore late stage hook for external plugin failed
(00.121830) Running pre-resume scripts
(00.121831) RPC
(00.121909) Restore finished successfully. Tasks resumed.
(00.121911) Writing stats
(00.121965) Running post-resume scripts
(00.121967) RPC
Output of `criu --version`:
(paste your output here)
Output of `criu check --all`:
(paste your output here)
Additional environment details:
The text was updated successfully, but these errors were encountered:
Description
CRIU (Checkpoint/Restore In Userspace) is not properly handling one-shot interval timers (ITIMERs) during checkpoint and restore operations. Specifically, timers that have their it_interval set to zero but a non-zero it_value are being ignored.
The bug affects timers with the following characteristics:
Steps to reproduce the issue:
This piece of c code repros it. Try checkpointing in the middle of the execution. And restore it. It should continue counting down after restoration.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
CRIU logs and information:
We should also see
Restored real timer ...
in restore log.CRIU full dump/restore logs:
Output of `criu --version`:
Output of `criu check --all`:
Additional environment details:
The text was updated successfully, but these errors were encountered: