Opened 10 years ago

Last modified 10 years ago

#7013 new Bugs

Serialization Versioning Broken

Reported by: shaderaider@… Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

Version numbers are set to random garbage numbers with or without using BOOST_CLASS_VERSION. Sample code attached, sample output with version 1.49.0 on RHEL5 is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="9">
<Nested class_id="0" tracking_level="0" version="2057815296">
        <c>99</c>
</Nested>
</boost_serialization>

Attachments (1)

versioning.cpp (777 bytes ) - added by shaderaider@… 10 years ago.
Source code example of broken versioning

Download all attachments as: .zip

Change History (3)

by shaderaider@…, 10 years ago

Attachment: versioning.cpp added

Source code example of broken versioning

comment:1 by shaderaider@…, 10 years ago

This same code does work with a previous version, exactly which I'm not sure, but the version for <boost_serialization> is set to 6 on the working older copy of the boost serialization library.

comment:2 by viboes, 10 years ago

Component: Noneserialization
Owner: set to Robert Ramey
Note: See TracTickets for help on using tickets.