Re: [Boost-bugs] [Boost C++ Libraries] #11529: regression: boost::archive::archive_exception exception during serialization non latin1 strings to xm

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11529: regression: boost::archive::archive_exception exception during serialization non latin1 strings to xm
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-28 22:27:42


#11529: regression: boost::archive::archive_exception exception during
serialization non latin1 strings to xm
-------------------------------+---------------------------
  Reporter: nikolay@… | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.58.0 | Severity: Regression
Resolution: fixed | Keywords:
-------------------------------+---------------------------

Comment (by ramey):

 I applied your patch and it makes a test fail with GCC 5.1 - GCC reports
 an error in that a malloc allocation has been modified after being freed.
 But I haven't been able to find the source of the problem.

 The test is test_array_xml_archive

 so I had to back it out.

 It's not obvious to me that your test code actually throws an exception -
 this is where the test fails.

 Note that we to invoke imbue - in a rather non - obvious way. You might
 want to check that.

 Note that as the code stands now - everything passes on CLANG compiler and
 GCC -as well as others in the boost test matrix.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11529#comment:5>
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:19 UTC