Boost logo

Boost Users :

Subject: Re: [Boost-users] Segfault when trying to deserialize std::lists in a multi_array
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2011-07-24 21:39:22


> I'm trying to send a 3D boost::multi_array containing std::list of
> pointers to particle structs via boost::mpi and keep getting a segfault
> on receive.
>
> typedef Vector3d V3D; //Convenience typedef for Eigen3 vector
>
> struct Particle {
>    V3D    r, u;
> ...
>
> };

Looks like you may be missing EIGEN_MAKE_ALIGNED_OPERATOR_NEW. See
http://eigen.tuxfamily.org/dox/TopicStructHavingEigenMembers.html.

No idea if that's ultimately the cause, but it looks quite suspect and
should be fixed regardless,
Rhys


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