Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9612: Memory Access Violation when recursively serializing classes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-07 20:04:00
#9612: Memory Access Violation when recursively serializing classes
------------------------------------------+---------------------------
Reporter: Chris Rusby <chris.rusby@â¦> | Owner: ramey
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: serialization
Version: Boost 1.55.0 | Severity: Problem
Resolution: invalid | Keywords:
------------------------------------------+---------------------------
Comment (by ramey):
If you look into basic_serializer_map.cpp you'll find a passage of
commented out code which I implemented just to trap this type of
situation. I believe that uncommenting this code would be effective in
your situation.
I had to comment it out because so many people just ignored this issue and
instantiated code all over the place and this prevented their code from
compiling. They complained a lot that the serialization library was
"buggy" because of this. So I had to comment it out.
Probably this should be re-enabled but permit the check to be suppressed
with a run-time switch. But then this is also a hassle to implement so I
just left it commented out.
You might want to experiment with enabling this code and see what impact
it would have on your application and perhaps think about how to
conditionally enable it. - assuming you've got nothing else to do.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9612#comment:13> 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