Hi David, The first thing I would try is to comment out the code that claims it's an error:
> [15246] mtcp_restart_nolibc.c:160 mtcp_restoreverything: > error: new/current break (0x60C000) != saved break (0x7F5F3751D000) > Segmentation fault That's at mtcp/mtcp_restart_nolibc.c, line 160 This is a little dangerous, but may work. The issue is that the data segment prior to checkpoint was ending at 0x7F5F3751D000 in high memory. For some weird reason, your new restarted process was given a data segment that ends in low memory at 0x60C000. If there are no further calls to sbrk or brk, everything will still work fine. If there is a very large call to malloc after restart, this might cause a call to sbrk, which might fail. Let us know if there is still a problem. There _might_ still be another trick or two possible. Separately, you might want to work with our svn code at: svn co svn://svn.code.sf.net/p/dmtcp/code/trunk dmtcp-trunk We haven't announced it yet, but we will soon be releasing DMTCP-2.0. In the future, DMTCP-1.x will get bug fixes, but new features and new architectures will go into DMTCP-2.0. We're planning on the release this month. Best, - Gene On Thu, Sep 12, 2013 at 02:51:15PM +0000, David Davies 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