Boost C++ Libraries: Ticket #2151: Cannot build MPI datatypes for enumeration types https://svn.boost.org/trac10/ticket/2151 <p> When building MPI datatypes for enumeration types for which is_mpi_datatype is true, Boost.MPI ends up building a broken MPI datatype that causes segmentation faults. The problem seems to be that load_enum_type and save_enum_type (in boost/archive/iserializer.hpp and boost/archive/oserializer.hpp, respectively) actually perform the serialization call on an "int" rather than on the enum itself, causing the mpi_datatype_oarchive to receive an address on the stack. </p> <p> Full test case is attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2151 Trac 1.4.3 Douglas Gregor Mon, 28 Jul 2008 20:08:33 GMT attachment set https://svn.boost.org/trac10/ticket/2151 https://svn.boost.org/trac10/ticket/2151 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">enum_test.cpp</span> </li> </ul> <p> Test case </p> Ticket anonymous Tue, 04 Aug 2009 20:37:22 GMT owner changed https://svn.boost.org/trac10/ticket/2151#comment:1 https://svn.boost.org/trac10/ticket/2151#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">Matthias Troyer</span> </li> </ul> Ticket Matthias Troyer Wed, 05 Aug 2009 05:07:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2151#comment:2 https://svn.boost.org/trac10/ticket/2151#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket