Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2007-02-27 20:23:24

Bugs item #1670451, was opened at 2007-02-27 17:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: serialization
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Robert Ramey (ramey)
Summary: Possible bug in basic_iarchive_impl::reset_object_address

Initial Comment:
In basic_iarchive_impl::reset_object_address (file libs/serialization/src/basic_iarchive.cpp), the loop index i gets incremented twice in each iteration of the second for loop: first in the "for" line, and then at the last line before the end of the loop. This causes some object addresses to not be updated as they should. In turn, this causes problems when serializing pointers to object contained in a map.

This seems to be a bug. In some preliminary tests, the problem disappears if I take out the second "i++" (line 297 of version


You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at