OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/2] cryo: Re-enable checkpointing of thread area
[PATCH 0/2] cryo: Re-enable checkpointing of thread area [message #30976] Wed, 11 June 2008 14:13 Go to previous message
Benjamin Thery is currently offline  Benjamin Thery
Messages: 79
Registered: March 2007
Member
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
 
Read Message
Read Message
Previous Topic: [PATCH 2/2] cryo: minimal test program
Next Topic: [PATCH 1/2] cryo: re-enable checkpointing of thread area
Goto Forum:
  


Current Time: Mon Sep 08 23:15:15 GMT 2025

Total time taken to generate the page: 0.07639 seconds