Boost logo

Boost Users :

From: Andras Joo (jooandras_at_[hidden])
Date: 2007-07-07 17:03:57


Dear All,

I'm facing the following problem.
I have the following class hierarchy:

AbstractBase <--- AbstractDerived <----
ConcreteDerived

I managed to make the serialization of
AbstractBase using text and binary archives
(text_[i/o]archive, binary_[i/o]archive),
tested, and works fine.

However when AbstractBase pointers are sent with MPI
functions a runtime exception occurs:

/usr/include/boost-1_35/boost/archive/detail/oserializer.hpp:413:
static void
boost::archive::detail::save_pointer_type<Archive,
TPtr>::polymorphic<T>::save(Archive&, const T&, const
boost::archive::detail::basic_pointer_oserializer*)
[with T = AbstractBase, Archive =
boost::mpi::packed_oarchive, TPtr = AbstractBase*]:
Assertion `__null != bpos_ptr' failed.

I appreciate any help.
Thank you, and have a nice weekend.

Andras

       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net