Hi Ankit, Sorry about the delay, I haven’t had time to work on this, but I think I have a temporary fix for this. Could you please try out the attached patch and let me know how it behaves? (I’m assuming you are using the latest version of DMTCP from github.)
ckptfile.patch
Description: Binary data
The patch basically creates a backup of an existing file, and then replaces the file with its checkpointed copy. Thank you for your patience, Rohan > On Oct 28, 2014, at 2:00 AM, Ankit Garg <[email protected]> wrote: > > Hi, > Any updates on this how can I get rid of this issue. > > Regards > Ankit > > > On 10/17/2014 07:52 AM, Garg, Ankit wrote: >> Hi Rohan, >> Thanks for the reply. Yes I am using the "--ckpt-open-files" >> option to save the copy of files open at the time of checkpoint. But files >> which are open in write mode and being written during the emulation would >> always be different in the end that what at the time of checkpoint. So >> choosing file copy at the time of checkpoint always seems to be the right >> option. >> >> Secondly how can I force the option of choosing file at the time of >> checkpoint rather than giving this error. >> >> Regards >> Ankit >> >> >> ________________________________________ >> From: Rohan Garg [[email protected]] >> Sent: Thursday, October 16, 2014 11:27 PM >> To: Garg, Ankit >> Cc: [email protected] >> Subject: Re: [Dmtcp-forum] Getting error during Restart >> >> Hi Ankit, >> >> I believe you are using the "--ckpt-open-files" flag. As I mentioned earlier >> this saves a copy of the files open at the time of checkpoint. This allows >> applications to resume from the same state later if the original files >> get deleted. >> >> The error that you are getting is probably because on restart you have an >> existing copy of one of the checkpointed files, and this file diverged from >> its checkpointed version. On restart, DMTCP tries to compare the two versions >> (checkpointed and existing), uses the existing if they are equal, and asserts >> if they are not equal (because there's no way for DMTCP to know what the user >> might want). Could you please verify that this is the case? >> >> If yes, then what would you like DMTCP to do -- use the checkpointed version, >> or use the newer version? Either way, this will be a minor modification. >> >> Thanks, >> Rohan >> >> ----- Original Message ----- >> From: "Ankit Garg" <[email protected]> >> To: [email protected] >> Sent: Friday, October 10, 2014 6:51:05 AM GMT -05:00 US/Canada Eastern >> Subject: [Dmtcp-forum] Getting error during Restart >> >> Hi, >> I am getting following error during restart. How to debug this >> further ? >> >> >> [66000] ERROR at fileconnection.cpp:926 in areFilesEqual; >> REASON='JASSERT(Util::readAll(fd, buf2, readBytes) == readBytes) failed' >> testbench.veloce (66000): Terminating... >> >> >> Thanks & Regards >> Ankit >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Dmtcp-forum mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum > >
------------------------------------------------------------------------------
_______________________________________________ Dmtcp-forum mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
