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 18:29:56


#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:
-------------------------------+---------------------------
Changes (by ramey):

 * status: new => assigned

Comment:

 boy - I bet this cost a lot of effort to figure out.

 Note that the test set includes a specific test for cyclic pointers which
 is passing.

 I'm thinking that the difference between that test and your test isn't so
 much a cycle as a self referential object. I remember when I wrote code to
 address cyclical pointers many other serialization system failed on
 cyclical chains so I took special care to make this work. This should be
 apparent from all the comments.

 I'm also thinking that the correct fix is to tweak the code so that it
 addresses the special case of a self referential object such as yours.

 Of course I wrote this many years ago and this is extremely intricate
 code. It takes me at least a day to wrap my head around this case, make a
 small test case and integrate it into the test suite. Since you've
 already done the head wrapping part, maybe you want to make a stab at
 tweaking the code to address this corner case.

 This is predicated on my guess that this is really just a corner case I
 failed to consider and not some fundamental issue which requires a major
 overhaul. If I'm wrong about this, feel free to let me know.

 Robert Ramey

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