Re: [Boost-bugs] [Boost C++ Libraries] #9601: Unable to load archives with pointer instances which contain self reference cycles in 1.55

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9601: Unable to load archives with pointer instances which contain self reference cycles in 1.55
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-22 20:25:06


#9601: Unable to load archives with pointer instances which contain self reference
cycles in 1.55
-------------------------------+---------------------------
  Reporter: brandon.kohn | Owner: ramey
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by ramey):

 "One note is that it worked in 1.53. It seems to have stopped working when
 a change was made to : ..."

 That's it almost for sure. I made this change about a year ago when some
 guy writing a book claimed that the library was slow. Damn if his case
 wasn't slow - After wracking my brain, I did "fix" this and everything
 passed so I declared victory. The slowness was due to checking the whole
 list of tracked pointers rather than the most recent ones. (IIRC). or
 something like that

 // remember that that the address of these elements could change
 // when we make another call so don't use the address

 This comment reminds us that caching some address, calling lower level
 serialization, might change the address of the object originally pointed
 to. So don't cache the address - or if you do, note that it expires when
 one calls to a lower level.

 Thanks for looking into this. I know it's a bitch.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9601#comment:3>
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:15 UTC