Hi Joshua, I have identified the problem with the test program that you provided. I am working on the fix and will update you once it has been committed into the svn.
Kapil On Fri, Mar 22, 2013 at 1:01 PM, Kapil Arya <[email protected]> wrote: > Hi Joshua, > > I am in the middle of fixing a different bug right now, but this one > is in the queue, sit tight :-). > > Kapil > > On Fri, Mar 22, 2013 at 11:41 AM, Louie, Joshua D > <[email protected]> wrote: >> I have a test case taken from >> http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/examples.html, the >> serialization >> >> example. I have modified it to possibly do dmtcpCheckpoint() in the server >> or client code. In the server, I did it in >> >> handle_accept after doing conn->async_write. And if I enabled it on the >> client side, I did in handle_connect before async_read. >> >> I also did testing in which I didn’t do the dmtcpCheckpoint in the code, but >> did it by launching the coordinator manually first, >> >> and then at that same point where a checkpoint would normally occur in the >> code, doing one manually. Here’s the results I got: >> >> >> >> Test: Coordinator launched by: Checkpoint by: Run: Restore: >> >> 1 server server Completed Completed >> >> 2 manually server Completed Completed >> >> 3 manually coordinator Fail Fail >> >> 4 server client Fail Fail >> >> 5 manually client Fail Fail >> >> >> >> Occasionally hit this on restore of test 1 and 2. Maybe when I restart a >> little too quickly. But it still runs... >> >> [40000] WARNING at socketconnection.cpp:493 in postRestart; >> REASON='JWARNING(sock.bind((sockaddr*) &_bindAddr,_bindAddrlen)) failed' >> >> (strerror((*__errno_location ()))) = Address already in use >> >> id() = 4bfe32141b50c203-40000-513923b5(99004) >> >> Message: Bind failed. >> >> >> >> Error seen on client for test 3, 4, 5. Fails in same manner for both run and >> restore: >> >> End of file >> >> >> >> Basically, if the checkpoint occurs within the server, everything seems to >> work fine. If I do it from the client side or try to do >> >> the checkpoint manually through setting up the coordinator first and doing >> “c”, it fails. >> >> >> >> I have files if needed to share. And I found this on the trunk, though I >> think it has problems on 1.2.6 as well. >> >> >> >> Joshua Louie >> >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_mar >> _______________________________________________ >> Dmtcp-forum mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum >> ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Dmtcp-forum mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
