All of lore.kernel.org
 help / color / mirror / Atom feed
* Segmentation fault @ checkpoint
@ 2009-05-13 11:30 Ralph-Gordon Paul
       [not found] ` <5B2F91AA-3148-4E5A-A464-773BE9B1E5CE-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ralph-Gordon Paul @ 2009-05-13 11:30 UTC (permalink / raw)
  To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

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).

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Segmentation fault @ checkpoint
       [not found] ` <5B2F91AA-3148-4E5A-A464-773BE9B1E5CE-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
@ 2009-05-13 21:37   ` Serge E. Hallyn
       [not found]     ` <20090513213703.GA23429-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Serge E. Hallyn @ 2009-05-13 21:37 UTC (permalink / raw)
  To: Ralph-Gordon Paul; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

Quoting Ralph-Gordon Paul (Ralph-Gordon.Paul-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org):
> 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-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linux-foundation.org/mailman/listinfo/containers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Segmentation fault @ checkpoint
       [not found]     ` <20090513213703.GA23429-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2009-05-14  8:51       ` Ralph-Gordon Paul
  0 siblings, 0 replies; 3+ messages in thread
From: Ralph-Gordon Paul @ 2009-05-14  8:51 UTC (permalink / raw)
  To: Serge E. Hallyn; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA


Am 13.05.2009 um 23:37 schrieb Serge E. Hallyn:

> Quoting Ralph-Gordon Paul (Ralph-Gordon.Paul-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org):
>> 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

Hi Serge,

That was the problem. :-)
Now i have the linux-cr v15-dev  and user-cr v15-dev.

Thanks very much :-)

Gordon


>
>> 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-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
>> https://lists.linux-foundation.org/mailman/listinfo/containers
> _______________________________________________
> Containers mailing list
> Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linux-foundation.org/mailman/listinfo/containers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-14  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 11:30 Segmentation fault @ checkpoint Ralph-Gordon Paul
     [not found] ` <5B2F91AA-3148-4E5A-A464-773BE9B1E5CE-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
2009-05-13 21:37   ` Serge E. Hallyn
     [not found]     ` <20090513213703.GA23429-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-14  8:51       ` Ralph-Gordon Paul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.