<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.&nbsp;
<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 &nbsp;(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 &quot;/home/aries/Documents/test&quot; -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 &nbsp;(compel/arch/x86/src/lib/infect.c:249): Will restore 17604 with interrupted system call<br>
</div>
<div>Warn &nbsp;(compel/arch/x86/src/lib/infect.c:249): Will restore 17608 with interrupted system call<br>
</div>
<div>Warn &nbsp;(compel/arch/x86/src/lib/infect.c:249): Will restore 17609 with interrupted system call<br>
</div>
<div>Warn &nbsp;(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 &nbsp;-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 &nbsp;/home/aries/Documents/test<br>
</div>
<div>Error: excessive parameter for command restore<br>
</div>
<div><br>
</div>
<div>Usage:<br>
</div>
<div>&nbsp; criu dump|pre-dump -t PID [&lt;options&gt;]<br>
</div>
<div>&nbsp; criu restore [&lt;options&gt;]<br>
</div>
<div>&nbsp; criu check [--feature FEAT]<br>
</div>
<div>&nbsp; criu page-server<br>
</div>
<div>&nbsp; criu service [&lt;options&gt;]<br>
</div>
<div>&nbsp; criu dedup<br>
</div>
<div>&nbsp; criu lazy-pages -D DIR [&lt;options&gt;]<br>
</div>
<div><br>
</div>
<div>Commands:<br>
</div>
<div>&nbsp; dump &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; checkpoint a process/tree identified by pid<br>
</div>
<div>&nbsp; pre-dump &nbsp; &nbsp; &nbsp; pre-dump task(s) minimizing their frozen time<br>
</div>
<div>&nbsp; restore &nbsp; &nbsp; &nbsp; &nbsp;restore a process/tree<br>
</div>
<div>&nbsp; check &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;checks whether the kernel support is up-to-date<br>
</div>
<div>&nbsp; page-server &nbsp; &nbsp;launch page server<br>
</div>
<div>&nbsp; service &nbsp; &nbsp; &nbsp; &nbsp;launch service<br>
</div>
<div>&nbsp; dedup &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;remove duplicates in memory dump<br>
</div>
<div>&nbsp; cpuinfo dump &nbsp; writes cpu information into image file<br>
</div>
<div>&nbsp; cpuinfo check &nbsp;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 &nbsp;(compel/arch/x86/src/lib/infect.c:249): Will restore 17604 with interrupted system call<br>
</div>
<div>Warn &nbsp;(compel/arch/x86/src/lib/infect.c:249): Will restore 17608 with interrupted system call<br>
</div>
<div>Warn &nbsp;(compel/arch/x86/src/lib/infect.c:249): Will restore 17609 with interrupted system call<br>
</div>
<div>Warn &nbsp;(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>