[CRIU] Questions in CRIU restore mechanism.

Chanho Park chanho61.park at samsusng.com
Mon May 6 09:09:02 EDT 2013


> -----Original Message-----
> From: Alexander Kartashov [mailto:alekskartashov at parallels.com]
> Sent: Monday, May 06, 2013 10:07 PM
> To: Chanho Park
> Cc: '정재훈'; '최형준'; 'myungjoo.ham'; '박찬호'; 'Pavel Emelyanov'; 'crml'
> Subject: Re: [CRIU] Questions in CRIU restore mechanism.
> 
> 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?

Thank you for your fast response :)

I attached my test binary and my crtools.

test_arm : arm mode
test_thumb : thumb mode

All binary is built with -static option.

Thanks

Best regards,
Chanho Park
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crtools
Type: application/octet-stream
Size: 1102817 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130506/e93c014d/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_arm
Type: application/octet-stream
Size: 451708 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130506/e93c014d/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_thumb
Type: application/octet-stream
Size: 451708 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130506/e93c014d/attachment-0005.obj>


More information about the CRIU mailing list