[issue1302] Checkpoint regression?

Matthew Dillon dillon at apollo.backplane.com
Sat Feb 28 23:32:32 PST 2009


:New submission from Samuel J. Greear <sjg at evilcode.net>:
:
:DragonFly 2.3.0-DEVELOPMENT #10: Fri Feb 27 20:15:21 PST 2009   =20
:sjg at dfdev1.in.evilprojects.net:/usr/obj/usr/src/sys/GENERIC
:
:Either CKPT or CKPTEXIT will create a .ckpt, but CKPTEXIT does not cause th=
:e
:process to terminate (unless explicitly handled).

    I'm not sure it ever worked this way.  They were designed so they
    could be handled differently by the program if it wanted to handle
    them.

:Attempting to thaw any checkpoint seems to result in:
:thaw failed error -1 Unknown error: -1

    This one now fixed!  The reordering of the ELF coredump code broke
    the checkpoint restore code.

    I'll note here that the new ELF coredump code includes thread info.
    I'm not sure if it has enough (i.e. also the thread id for each thread),
    but if it does we would be able to have the checkpoint restore code
    also restore multiple threads.  Now THAT would be very, very cool
    if someone wanted to mess with it.

						-Matt






More information about the Bugs mailing list