[Boost-bugs] [Boost C++ Libraries] #11298: Crash when serializing objects with tracking information

Subject: [Boost-bugs] [Boost C++ Libraries] #11298: Crash when serializing objects with tracking information
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-13 15:40:42


#11298: Crash when serializing objects with tracking information
-----------------------------------------+---------------------------
 Reporter: Chris Rusby <chris.rusby@…> | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
-----------------------------------------+---------------------------
 I am puzzled by the boost serialization library behaviour. If I have
 tracking turned on for an object, the output contains object ids - which
 looks fine. However, when I serialize it back in, the code crashes.

 If I comment out the tracking (Variant.h line 59) the output looks similar
 but without the object ids. This time serializing back in succeeds.

 What I don't get, though, is that the crash seems to be because the inner
 object is not tracked correctly. Looking at the XML, this still has
 class_ids and object_ids set correctly - so why is it that the object_ids
 on the other objects causes this issue?

 Any help gratefully received. Attached is the test code, plus the two
 output xml zip files.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11298>
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:50:18 UTC