Boost C++ Libraries: Ticket #11299: Crash when serializing objects with tracking information https://svn.boost.org/trac10/ticket/11299 <p> 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. </p> <p> 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. </p> <p> 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? </p> <p> Any help gratefully received. Attached is the test code, plus the two output xml zip files. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11299 Trac 1.4.3 Chris Rusby <chris.rusby@…> Wed, 13 May 2015 16:32:21 GMT <link>https://svn.boost.org/trac10/ticket/11299#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11299#comment:1</guid> <description> <p> Apologies, please close this as a duplicate of 11298 (the system is very slow and I must have clicked "Submit" twice). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Sat, 23 May 2015 22:48:20 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11299#comment:2 https://svn.boost.org/trac10/ticket/11299#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">duplicate</span> </li> </ul> Ticket