Re: Core dumps & restarting (fwd)

John David Regehr (
Thu, 31 Oct 1996 20:55:44 -0500 (EST)

> I.E.
> kill -SEGV <my_process>
> ./core
> and have it continue.
> Now the answer: If I remember right, that's how GNU emacs works... but since
> I don't use emacs I don't remember. I just had to help someone build it once.
> But part of the build process involved a core dump.

Emacs' unexec() creates a new executable with a zero size bss, whose data
segment contains the original data plus the stuff from bss at the time
that unexec was called. The new executable starts at main(), and (as far
as I know) heap and stack contents are *not* saved. So, it isn't suitable
for checkpointing.

That said, does anybody know if there exists a Linux utility that is
suitable for checkpointing?

John Regehr