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

Reply via email to