From: min li (fly.limin_at_gmail_dot_com)
Date: Tue Nov 24 2009 - 00:30:05 PST
Hi everyone: I want to make checkpoints for "vim" , so that once i restart the "vim" application with the "cr_restart" command, the cursor can be located at where i make the checkpoints, and also the edited file can be the same as that is checkpointed. I make checkpoints with "cr_checkpoint" with "--save-all" parameters, so that the .swap file can be saved, which will be deleted after vim quits. but when i restart the vim, it turns out some problems like the followings: - Failed to locate newborn mmap()ed space - cr_rstrt_child [6336]: Unable to load mmap()ed data! (err=-22) Restart failed: Invalid argument the i tried "geidt" , it failed when i was making checkpoints with the following comments: - vfs_read returned -22 - write returned -22 on copy-out of mmap()ed data Checkpoint failed: Invalid argument I think "vim" and "gedit" are quite common applications , maybe this kind of problem has already been solved in the mailing list..... but i really appreciate to have suggestions from you , thanks -- Min Li School of Computer Science and Technology Cluster and Grid Computing Lab Services Computing Technology and System Lab Huazhong University of Science and Technology Wuhan, 430074, China Tel: +86-139-8625-1431 Email: fly.limin_at_gmail_dot_com