Hi Michele,
Would it be possible for you to provide us a smaller test case to reproduce
the failure locally? This will help us in finding the solution rather
quickly. If not, we can try some alternate route.
Best,
Kapil
On Mon, Nov 4, 2013 at 9:06 PM, Michele Vallisneri <[email protected]>wrote:
> Dear DMTCP maintainers,
>
> thanks for the great job you're doing on this piece of software.
>
> I'm trying to checkpoint a pair of client/server applications that
> communicate by way of sysv shared memory. The server creates and writes to
> a shared memory block, the client attaches to it and reads from it.
>
> I'm having intermittent problems where one of the processes fails to
> "shmat" the shared memory segment to its own address space, so I get an
> error from the "JASSERT (_real_shmat...)" line in
> dmtcp::ShmSegment::postRestart().
>
> I suspect (but I'm not sure) that this is because upon checkpointing the
> client is sometimes made checkpoint leader, and information about the
> segment is then obtained from the client's "shmget", which has a size of
> zero (the client does not know it in advance). Does this sound like a
> possible explanation?
>
> Thanks a lot for your help!
>
> Michele
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Dmtcp-forum mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
>
>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum