[CRIU] Questions in CRIU restore mechanism.

Alexander Kartashov alekskartashov at parallels.com
Mon May 6 09:06:45 EDT 2013


On 05/06/2013 04:48 PM, Chanho Park wrote:
> I found a problem when dumping a thumb mode application.
> As I told previously, the crtools always compiled with arm mode.
> However, out application is built with thumb2 mode for size and efficiency.
> When I tried to call exec operation of the test application, I got below error message.
>
> (00.005342) Error (parasite-syscall.c:150): Task is still running (pid: 5874)
> (00.005456) Error (cr-exec.c:121): Can't execute syscall remotely
> (00.005487) Error (parasite-syscall.c:619): Can't restore syscall blob (pid: 5874)
> (00.005510) Error (parasite-syscall.c:624): Can't restore registers (pid: 5874)
> ./exec_run.sh: line 35:  5874 Segmentation fault      (core dumped) setsid ./${PROG}

Thank you for your report, Chanho.

Nevertheless, I got the following error while dumping the same application:

(00.001872) Error (kerndat.c:98): Dirty tracking support is OFF
(00.039666) Error (parasite-syscall.c:150): Task is still running (pid: 
1149)
(00.040332) Error (parasite-syscall.c:693): Can't allocate memory for 
parasite blob (pid: 1149)
(00.040773) Error (parasite-syscall.c:619): Can't restore syscall blob 
(pid: 1149)
(00.041194) Error (parasite-syscall.c:624): Can't restore registers 
(pid: 1149)
(00.041578) Error (cr-dump.c:1408): Can't infect (pid: 1149) with parasite
(00.042634) Error (cr-dump.c:1640): Dumping FAILED.
[1]+  Illegal instruction     (core dumped) ../thumb

Could you please send me your test binary?

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list