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