Opened 7 years ago

Closed 7 years ago

#11299 closed Bugs (duplicate)

Crash when serializing objects with tracking information

Reported by: Chris Rusby <chris.rusby@…> Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (2)

comment:1 by Chris Rusby <chris.rusby@…>, 7 years ago

Apologies, please close this as a duplicate of 11298 (the system is very slow and I must have clicked "Submit" twice).

comment:2 by Robert Ramey, 7 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.