Re: Question about the segment [[ 60000fff80000000-60000fff80004000 rw-p 0000000000000000 00:00 0 ]]

From: vamsi krishna <>
Date: 2006-06-08 19:39:49
Hello Andreas,

On 6/8/06, Andreas Schwab <> wrote:
> "vamsi krishna" <> writes:
> > Looks like If I dont overwrite the RSE backing store fclose on my open
> > files seem to crash when I restore my program.
> You also need to make sure that all function descriptors end up at the
> very same address.

More to add to this I found that '__IO_flush_all' seem to get stuck ,
when I dont overwrite my RSE backing store, if I overwrite my RSE
backing store some of the data on the stack is getting corrupted.

is '__IO_flush_all' a weak symbol so that I can override ? also
fflush(NULL) hangs and also fcloseall() (I think all are calling

In my program to restore the state just as emacs unexec I try to save
all the mmaps and either overwrite (for heap) or mmap for all the
things above &_etext.

I tried to save all the maps in /proc/pid/maps except the RSE backing
store and it seems problems in __IO_flush_all , I also made sure that
I flushed all my filestreams before I save.

Really appreciate your comments, let me know if you need more info.

Thank you,
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Jun 08 19:40:23 2006

This archive was generated by hypermail 2.1.8 : 2006-06-08 19:40:32 EST