[Boost-bugs] [Boost C++ Libraries] #5939: Problems while trying to deserialize an std::string

Subject: [Boost-bugs] [Boost C++ Libraries] #5939: Problems while trying to deserialize an std::string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-25 12:19:10


#5939: Problems while trying to deserialize an std::string
-------------------------------------+--------------------------------------
 Reporter: enmarantispam@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: serialize std:;string |
-------------------------------------+--------------------------------------
 To reproduce:
 Windows XP Sp3
 QtCreator 2.2.1
 mingw440 for windows as the compiler

 Write a code that serializes then deserializes an std::string.
 Enter it in debug mode.
 For each instance of string deserialized you will get:

 {{{
 HEAP[SerializationTest.exe]:
 Invalid Address specified to RtlFreeHeap( 003E0000, 0047AC74 )
 }}}

 and the debugger will stop at:

 {{{

 template<class CharType>
 bool basic_xml_grammar<CharType>::parse_string(IStream & is, StringType &
 s){
 ...
 s = rv.contents;
 }}}

 It wont halt the application and deserialization seems to work but this
 completely messes up debug sessions because amount of stops at these
 alarms quickly gets unbearable.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5939>
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:07 UTC