Re: [Boost-bugs] [Boost C++ Libraries] #13400: boost::archive::xml_iarchive Exception in destructor: "input stream error-No error"

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13400: boost::archive::xml_iarchive Exception in destructor: "input stream error-No error"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-17 15:34:36


#13400: boost::archive::xml_iarchive Exception in destructor: "input stream error-
No error"
-------------------------------------------------+-------------------------
  Reporter: Andrei Bryleuski <andrey- | Owner: Robert
  brilevskiy@…> | Ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component:
                                                 | serialization
   Version: Boost 1.66.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+-------------------------

Comment (by Frédéric Devernay <frederic.devernay@…>):

 found the problem.
 This is actually not a bug in boost but a bug in the code that produced
 the xml: the </boost_serialization> tag is missing.

 maybe you used a stringstream as in #13354, and forgot to destroy the
 xml_oarchive before getting the string? see comment 4 in issue #13354

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13400#comment:4>
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 : 2018-02-17 15:45:02 UTC