Hi Rohan, Thanks for the quick response. After the change and re-compile, it hits this issue when restarting.
[root@demeter qemu-1.2.0]# /opt/dmtcp/dmtcp-1.2.8/bin/dmtcp_restart ckpt_qemu-system-i386_1d4a8584596cf84-25076-5232172e.dmtcp dmtcp_checkpoint (DMTCP + MTCP) 1.2.8 Copyright (C) 2006-2011 Jason Ansel, Michael Rieker, Kapil Arya, and Gene Cooperman This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see COPYING file for details. (Use flag "-q" to hide this message.) dmtcp_coordinator starting... Port: 7779 Checkpoint Interval: disabled (checkpoint manually instead) Exit on last client: 1 Backgrounding... [25076] mtcp_restart_nolibc.c:160 mtcp_restoreverything: error: new/current break (0x60C000) != saved break (0x7FE932274000) gettime: Invalid argument Internal timer error: aborting [root@demeter qemu-1.2.0]# David Davies ASIC Verification Project Manager, PLX Technology, Inc. 408-962-3474 -----Original Message----- From: Rohan [mailto:rohg...@ccs.neu.edu] Sent: Thursday, September 12, 2013 11:37 AM To: David Davies Cc: dmtcp-forum@lists.sourceforge.net; Rohan Garg; Kapil Arya Subject: Re: [Dmtcp-forum] DMTCP version 1.2.8 issue Hi David, Could you please comment out the following line in $DMTCP_SRC_DIR/mtcp/mtcp_restart_nolibc.c, re-compile, and test: 157 else { 158 if (new_brk == current_brk) 159 MTCP_PRINTF("error: new/current break (%p) != saved break (%p)\n", 160 current_brk, mtcp_saved_break); 161 else 162 MTCP_PRINTF("error: new break (%p) != current break (%p)\n", 163 new_brk, current_brk); 164 // mtcp_abort (); /* COMMENT THIS LINE */ 165 } This should fix the problem without affecting other functionality. Thanks, Rohan On Thu, Sep 12, 2013 at 11:06:38AM -0400, Kapil Arya wrote: > Hi Rohan, > > Can you take an quick look and see what is going on? > > thanks, > Kapil > > > On Thu, Sep 12, 2013 at 10:51 AM, David Davies <ddav...@plxtech.com> wrote: > > > Hi,**** > > > > ** ** > > > > I’m trying to checkpoint and restart a Synopsys VCS simulation that > > runs concurrently with a Virtual Machine (QEMU) that communicate > > together over TCP sockets.**** > > > > I can successfully checkpoint and restart the Synopsys VCS > > simulation alone, but not the QEMU. The restart of QEMU gives the > > following:**** > > > > ** ** > > > > ** ** > > > > [root@demeter qemu-1.2.0]# /opt/dmtcp/dmtcp-1.2.8/bin/dmtcp_restart > > ckpt_qemu-system-i386_1d4a8584596cf84-15246-5231ce7f.dmtcp**** > > > > dmtcp_checkpoint (DMTCP + MTCP) 1.2.8**** > > > > Copyright (C) 2006-2011 Jason Ansel, Michael Rieker, Kapil Arya, > > and**** > > > > Gene > > Cooperman**** > > > > This program comes with ABSOLUTELY NO WARRANTY.**** > > > > This is free software, and you are welcome to redistribute it**** > > > > under certain conditions; see COPYING file for details.**** > > > > (Use flag "-q" to hide this message.)**** > > > > ** ** > > > > [15246] mtcp_restart_nolibc.c:160 mtcp_restoreverything:**** > > > > error: new/current break (0x60C000) != saved break > > (0x7F5F3751D000)**** > > > > Segmentation fault**** > > > > [root@demeter qemu-1.2.0]#**** > > > > ** ** > > > > ** ** > > > > ** ** > > > > Machine details:**** > > > > ---------------------**** > > > > [root@demeter qemu-1.2.0]# uname -a**** > > > > Linux demeter 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT > > 2011 > > x86_64 x86_64 x86_64 GNU/Linux**** > > > > ** ** > > > > [root@demeter qemu-1.2.0]# cat /etc/redhat-release **** > > > > CentOS release 6.2 (Final)**** > > > > ** ** > > > > Any advice would be greatly appreciated.**** > > > > ** ** > > > > David Davies**** > > > > ASIC Verification Project Manager, PLX Technology, Inc.**** > > > > 408-962-3474**** > > > > ** ** > > > > > > -------------------------------------------------------------------- > > ---------- How ServiceNow helps IT people transform IT departments: > > 1. Consolidate legacy IT systems to a single system of record for IT > > 2. Standardize and globalize service processes across IT 3. > > Implement zero-touch automation to replace manual, redundant tasks > > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg > > .clktrk _______________________________________________ > > Dmtcp-forum mailing list > > Dmtcp-forum@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/dmtcp-forum > > > > ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ Dmtcp-forum mailing list Dmtcp-forum@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dmtcp-forum