[Boost-bugs] [Boost C++ Libraries] #1036: assert failure in oserializer.hpp:418

Subject: [Boost-bugs] [Boost C++ Libraries] #1036: assert failure in oserializer.hpp:418
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-06-06 23:25:23

#1036: assert failure in oserializer.hpp:418
 Reporter: tg38_at_[hidden] | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: release 1.34.0
 Severity: Showstopper | Keywords:
 a.out: /usr/include/boost/archive/detail/oserializer.hpp:418: static void
 TPtr>::polymorphic<T>::save(Archive&, const T&, const
 boost::archive::detail::basic_pointer_oserializer*) [with T = I, Archive =
 boost::archive::binary_oarchive, TPtr = I*]: Assertion `__null !=
 bpos_ptr' failed.

 from oserializer.hpp:

             // sice true_type is valid, and this only gets made if the
             // pointer oserializer object has been created, this should
             // fail
             bpos_ptr = archive_pointer_oserializer<Archive>::find(*
             assert(NULL != bpos_ptr);

 using ubuntu 7.04 64 bits (gcc 4.1.1) and boost 1.33.1
 attached file is source code to raise it.

Ticket URL: <http://svn.boost.org/trac/boost/ticket/1036>
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:55 UTC