[Devel] Re: Segmentation fault @ checkpoint

Serge E. Hallyn serue at us.ibm.com
Wed May 13 14:37:03 PDT 2009


Quoting Ralph-Gordon Paul (Ralph-Gordon.Paul at uni-duesseldorf.de):
> Hi,
> 
> i'm trying out the checkpointer (version 15 from http://git.ncl.cs.columbia.edu/?p=linux-cr.git;a=shortlog;h=refs/heads/ckpt-v15) 
> .
> 
> i used the the example programs at the checkpointer documentation:  
> test.c and ckpt.c (i had to add #define __NR_checkpoint 333)
> 
> after compilation i tried:
> ./test &
> kill -STOP 3058                3058 = PID from test
> ./ckpt 3058 > ckpt.image
> 
> now i get a Segmentation fault (it's at the syscall(__NR_checkpoint.  
> pid, STDOUT_FILENO, 0) line).

Hi Gordon,

Just to make sure, did you check out the v15-dev branch of user-cr?
By default you get the v14 branch which is not compatible.  I
suspect you're using v14 becaues sys_checkpoint is being
called with flags 0, not 4, which is (now) wrong.

thanks,
-serge

> dmesg:
> [ 3948.213442] ckpt[3218]: segfault at 46 ip b7e1213d sp bf835e18  
> error 4 in libc-2.7.so[b7db4000+155000]
> 
> Any idea what may be the problem?
> Do i have a problem with my libc?
> 
> My System spec:
> Debian 5.0 i686
> CPU: AMD Athlon XP 2000+
> 
> Regards,
> Gordon
> _______________________________________________
> Containers mailing list
> Containers at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list