<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi, I'm interested in using criu to do debugging in games, saving a checkpoint to recreate bugs. Also to provide saving to games who do not have this feature.
<br>
My end target is saving a game that is being executed with wine. I'm currently using Linux mint 19 Mate 19.<br>
<br>
I have tried to dump a process but have failed.
<div>Also, criu check --extra says Looks good.<br>
<br>
</div>
I did a small test trying to checkpoint a calculator, a text editor and Firefox, but none seem to work. Can you provide me some usage examples? can you tell me one basic type of application which I could use to test CRIU?<br>
<br>
The following is my log file, please help me!<br>
<br>
<span>ies@mint:~$ sudo su<br>
</span>
<div>[sudo] password for aries: <br>
</div>
<div>root@mint:/home/aries# criu dump -D checkpoint -t 7909<br>
</div>
<div>Warn (criu/kerndat.c:659): Can't load /run/criu.kdat<br>
</div>
<div>Error (criu/image.c:416): Can't open dir checkpoint: No such file or directory<br>
</div>
<div>root@mint:/home/aries# criu dump -D /home/aries/Documents/test -t 7909<br>
</div>
<div>Error (criu/namespaces.c:408): Can't dump nested net namespace for 8026<br>
</div>
<div>Error (criu/namespaces.c:626): Can't make netns id<br>
</div>
<div>Error (criu/cr-dump.c:1709): Dumping FAILED.<br>
</div>
<div>root@mint:/home/aries# criu dump -D "/home/aries/Documents/test" -t 7909<br>
</div>
<div>Error (criu/namespaces.c:408): Can't dump nested net namespace for 8026<br>
</div>
<div>Error (criu/namespaces.c:626): Can't make netns id<br>
</div>
<div>Error (criu/cr-dump.c:1709): Dumping FAILED.<br>
</div>
<div>root@mint:/home/aries# criu dump -D /home/aries/Documents/test -t 7909<br>
</div>
<div>Error (criu/namespaces.c:408): Can't dump nested net namespace for 8026<br>
</div>
<div>Error (criu/namespaces.c:626): Can't make netns id<br>
</div>
<div>Error (criu/cr-dump.c:1709): Dumping FAILED.<br>
</div>
<div>root@mint:/home/aries# criu dump -D /home/aries/Documents/test -t 17604<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17604 with interrupted system call<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17608 with interrupted system call<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17609 with interrupted system call<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17610 with interrupted system call<br>
</div>
<div>Error (criu/cr-dump.c:431): Task 17604 with SysVIPC shmem map @7fb97f613000 doesn't live in IPC ns<br>
</div>
<div>Error (criu/cr-dump.c:1411): Dump mappings (pid: 17604) failed with -1<br>
</div>
<div>Error (criu/cr-dump.c:1709): Dumping FAILED.<br>
</div>
<div>root@mint:/home/aries# criu restore -d -D /home/aries/Documents/test<br>
</div>
<div>Error (criu/util.c:596): Can't read link of fd -404: No such file or directory<br>
</div>
<div>Error (criu/protobuf.c:75): Unexpected EOF on (null)<br>
</div>
<div>root@mint:/home/aries# criu restore -d -D /home/aries/Documents/test<br>
</div>
<div>Error (criu/util.c:596): Can't read link of fd -404: No such file or directory<br>
</div>
<div>Error (criu/protobuf.c:75): Unexpected EOF on (null)<br>
</div>
<div>root@mint:/home/aries# criu restore -d /home/aries/Documents/test<br>
</div>
<div>Error: excessive parameter for command restore<br>
</div>
<div><br>
</div>
<div>Usage:<br>
</div>
<div> criu dump|pre-dump -t PID [<options>]<br>
</div>
<div> criu restore [<options>]<br>
</div>
<div> criu check [--feature FEAT]<br>
</div>
<div> criu page-server<br>
</div>
<div> criu service [<options>]<br>
</div>
<div> criu dedup<br>
</div>
<div> criu lazy-pages -D DIR [<options>]<br>
</div>
<div><br>
</div>
<div>Commands:<br>
</div>
<div> dump checkpoint a process/tree identified by pid<br>
</div>
<div> pre-dump pre-dump task(s) minimizing their frozen time<br>
</div>
<div> restore restore a process/tree<br>
</div>
<div> check checks whether the kernel support is up-to-date<br>
</div>
<div> page-server launch page server<br>
</div>
<div> service launch service<br>
</div>
<div> dedup remove duplicates in memory dump<br>
</div>
<div> cpuinfo dump writes cpu information into image file<br>
</div>
<div> cpuinfo check validates cpu information read from image file<br>
</div>
<div><br>
</div>
<div>Try -h|--help for more info<br>
</div>
<div>root@mint:/home/aries# criu restore -D /home/aries/Documents/test<br>
</div>
<div>Error (criu/util.c:596): Can't read link of fd -404: No such file or directory<br>
</div>
<div>Error (criu/protobuf.c:75): Unexpected EOF on (null)<br>
</div>
<div>root@mint:/home/aries# criu dump -D ./home/aries/Documents/test -t 17604<br>
</div>
<div>Error (criu/image.c:416): Can't open dir ./home/aries/Documents/test: No such file or directory<br>
</div>
<div>root@mint:/home/aries# cd /home/aries/Documents/test <br>
</div>
<div>root@mint:/home/aries/Documents/test# criu dump -D /home/aries/Documents/test -t 17604<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17604 with interrupted system call<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17608 with interrupted system call<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17609 with interrupted system call<br>
</div>
<div>Warn (compel/arch/x86/src/lib/infect.c:249): Will restore 17610 with interrupted system call<br>
</div>
<div>Error (criu/cr-dump.c:431): Task 17604 with SysVIPC shmem map @7fb97f613000 doesn't live in IPC ns<br>
</div>
<div>Error (criu/cr-dump.c:1411): Dump mappings (pid: 17604) failed with -1<br>
</div>
<div>Error (criu/cr-dump.c:1709): Dumping FAILED.<br>
</div>
<div>root@mint:/home/aries/Documents/test# criu check --extra<br>
</div>
<div>Looks good.<br>
</div>
<div>root@mint:/home/aries/Documents/test# test/zdtm.py run -a<br>
</div>
<div>bash: test/zdtm.py: No such file or directory<br>
</div>
<div>root@mint:/home/aries/Documents/test# cd ..<br>
</div>
<div>root@mint:/home/aries/Documents# cd ..<br>
</div>
<div>root@mint:/home/aries# cd ..<br>
</div>
<div>root@mint:/home# cd ..<br>
</div>
<div>root@mint:/# test/zdtm.py run -a<br>
</div>
<div>bash: test/zdtm.py: No such file or directory<br>
</div>
<div>root@mint:/# cd home<br>
</div>
<div>root@mint:/home# test/zdtm.py run -a<br>
</div>
<div>bash: test/zdtm.py: No such file or directory<br>
</div>
<div>root@mint:/home# cd aries<br>
</div>
<div>root@mint:/home/aries# test/zdtm.py run -a<br>
</div>
<div>bash: test/zdtm.py: No such file or directory<br>
</div>
<div>root@mint:/home/aries# <br>
</div>
<span></span><br>
</div>
</body>
</html>