[Boost-bugs] [Boost C++ Libraries] #1267: Assertion `new_cid == cid' failed in basic_iarchive

Subject: [Boost-bugs] [Boost C++ Libraries] #1267: Assertion `new_cid == cid' failed in basic_iarchive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-09-14 16:14:54


#1267: Assertion `new_cid == cid' failed in basic_iarchive
--------------------------------+-------------------------------------------
 Reporter: mbergin_at_[hidden] | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 This has previously been reported on http://lists.boost.org/boost-
 users/2006/01/16604.php

 This bug seems to appear when a class containing a polymorphic object
 pointer is serialized with separate save/load methods and the
 BOOST_IS_ABSTRACT() macro is used on the polymorphic base.

 I've attached a simpler test case which is another modified version of
 test_exported.cpp based on Troy D. Straszheim's version in the above
 mailing list post. It fails on GCC 3.2.3 and 3.4.5 (Linux x86) with:

 {{{
 ../../../libs/serialization/src/basic_iarchive.cpp:466:
 const boost::archive::detail::basic_pointer_iserializer*
 boost::archive::detail::basic_iarchive_impl::load_pointer(
   boost::archive::detail::basic_iarchive&, void*&,
   const boost::archive::detail::basic_pointer_iserializer*,
   const boost::archive::detail::basic_pointer_iserializer*(*)(const
 boost::serialization::extended_type_info&)):
 Assertion `new_cid == cid' failed.
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1267>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC