Re: [Boost-bugs] [Boost C++ Libraries] #13354: xml_iarchive destructor calls abort()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13354: xml_iarchive destructor calls abort()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-26 10:50:43


#13354: xml_iarchive destructor calls abort()
-------------------------------+---------------------------
  Reporter: anonymous | Owner: Robert Ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.66.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by steto84@…):

 seems that the problem is due to the following portion of code in
 basic_xml_grammar.ipp:
 {{{
 if(is.fail()){
             boost::serialization::throw_exception(
                 boost::archive::archive_exception(
                     archive_exception::input_stream_error,
                     std::strerror(errno)
                 )
             );
         }
 }}}

 reverting the file to the previous version seems to solve the problem:

 {{{
  if(is.fail()){
             return false;
         }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13354#comment:2>
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-01-26 10:55:24 UTC