[Devel] Re: [PATCH 0/2] cryo: Re-enable checkpointing of thread area
Benjamin Thery
benjamin.thery at bull.net
Wed Jun 11 07:41:44 PDT 2008
Benjamin Thery wrote:
> I found the cause of one of the general protection faults I saw with
> my test program and I finally managed to completely restart (a very
> dumb) program for the first time!
>
> My program was failing (GPF) at restart in glibc code. After some
> debugging I found the failures occur on SINGLE_THREAD_P calls
> (eg. glibc/sysdeps/posix/system.c:__libc_system()).
>
> I suspected a problem with nptl and remembered the comments in cr.c
> ("for redhat 9.0, NPTL") and in cr.txt ("Support linuxthreads, but not
> NPTL."). I uncommented this code that checkpoints the thread area
> (don't ask me what it is) and, voila, my program restarted!
>
> It doesn't solve everything: I still have issues restarting the 'sleep'
> program.
I spoke too fast... in fact I have no more issue with sleep or mksysvipc
programs. They both restart fine now. :)
Benjamin
--
B e n j a m i n T h e r y - BULL/DT/Open Software R&D
http://www.bull.com
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list