Boost C++ Libraries: Ticket #1508: text_map_binary_archive failure https://svn.boost.org/trac10/ticket/1508 <p> VC++ 2008 throws an error ("string iterator not dereferencable") when running text_map_binary_archive </p> <p> The problem occurs in text_iarchive_impl.ipp at the line </p> <pre class="wiki">is.read(&amp;(*s.begin()), size); </pre><p> in routine text_iarchive_impl&lt;Archive&gt;::load(std::string &amp;s) </p> <p> size=0 and and s="" </p> <p> The call stack is </p> <pre class="wiki"> msvcp90d.dll!std::_Debug_message(const wchar_t * message=0x10062948, const wchar_t * file=0x10062990, unsigned int line=112) Line 24 C++ boost_serialization-vc90-mt-gd-1_35.dll!std::_String_const_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::operator*() Line 112 + 0x12 bytes C++ boost_serialization-vc90-mt-gd-1_35.dll!std::_String_iterator&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;::operator*() Line 370 C++ boost_serialization-vc90-mt-gd-1_35.dll!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load(std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; s="") Line 56 + 0x29 bytes C++ &gt; test_map_text_archive_dll.exe!boost::archive::load_access::load_primitive&lt;boost::archive::text_iarchive,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="") Line 97 C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::load_primitive::invoke(boost::archive::text_iarchive &amp; ar={...}, std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="") Line 339 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="") Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="") Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="", int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="", int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="", int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;(std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; t="") Line 64 C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::load&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int __formal=0) Line 87 C++ test_map_text_archive_dll.exe!boost::serialization::access::member_load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 102 C++ test_map_text_archive_dll.exe!boost::serialization::detail::member_loader&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 54 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::split_member&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 69 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt;::serialize&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int file_version=0) Line 88 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::serialization::access::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 110 C++ test_map_text_archive_dll.exe!boost::serialization::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 81 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::serialize_adl&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 140 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;::load_only::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}) Line 351 + 0xf bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}) Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}) Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load_wrapper&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, boost::mpl::bool_&lt;1&gt; __formal={...}) Line 583 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}) Line 589 + 0x12 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}, int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}) Line 64 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&amp;&lt;boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &gt; &amp; t={...}) Line 71 C++ test_map_text_archive_dll.exe!A::serialize&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int __formal=0) Line 94 C++ test_map_text_archive_dll.exe!boost::serialization::access::serialize&lt;boost::archive::text_iarchive,A&gt;(boost::archive::text_iarchive &amp; ar={...}, A &amp; t={...}, const unsigned int file_version=0) Line 110 C++ test_map_text_archive_dll.exe!boost::serialization::serialize&lt;boost::archive::text_iarchive,A&gt;(boost::archive::text_iarchive &amp; ar={...}, A &amp; t={...}, const unsigned int file_version=0) Line 81 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::serialize_adl&lt;boost::archive::text_iarchive,A&gt;(boost::archive::text_iarchive &amp; ar={...}, A &amp; t={...}, const unsigned int file_version=0) Line 140 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::iserializer&lt;boost::archive::text_iarchive,A&gt;::load_object_data(boost::archive::detail::basic_iarchive &amp; ar={...}, void * x=0x0012f730, const unsigned int file_version=0) Line 164 + 0x1a bytes C++ boost_serialization-vc90-mt-gd-1_35.dll!boost::archive::detail::basic_iarchive_impl::load_object(boost::archive::detail::basic_iarchive &amp; ar={...}, void * t=0x0012f730, const boost::archive::detail::basic_iserializer &amp; bis={...}) Line 388 C++ boost_serialization-vc90-mt-gd-1_35.dll!boost::archive::detail::basic_iarchive::load_object(void * t=0x0012f730, const boost::archive::detail::basic_iserializer &amp; bis={...}) Line 523 C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,A&gt;::load_standard::invoke(boost::archive::text_iarchive &amp; ar={...}, A &amp; t={...}) Line 365 C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,A&gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, A &amp; t={...}) Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,A&gt;(boost::archive::text_iarchive &amp; ar={...}, A &amp; t={...}) Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;A&gt;(A &amp; t={...}, int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;A&gt;(A &amp; t={...}, int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;A&gt;(A &amp; t={...}, int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;A&gt;(A &amp; t={...}) Line 64 C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;A&gt;::load&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int __formal=0) Line 87 C++ test_map_text_archive_dll.exe!boost::serialization::access::member_load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}, const unsigned int file_version=0) Line 102 C++ test_map_text_archive_dll.exe!boost::serialization::detail::member_loader&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}, const unsigned int file_version=0) Line 54 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::split_member&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}, const unsigned int file_version=0) Line 69 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;A&gt;::serialize&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int file_version=0) Line 88 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::serialization::access::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}, const unsigned int file_version=0) Line 110 C++ test_map_text_archive_dll.exe!boost::serialization::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}, const unsigned int file_version=0) Line 81 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::serialize_adl&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}, const unsigned int file_version=0) Line 140 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;::load_only::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}) Line 351 + 0xf bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}) Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;A&gt; &amp; t={...}) Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load_wrapper&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;A&gt; &amp; t={...}, boost::mpl::bool_&lt;1&gt; __formal={...}) Line 583 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;A&gt; &amp; t={...}) Line 589 + 0x12 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;A&gt; const &gt;(const boost::serialization::nvp&lt;A&gt; &amp; t={...}, int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;A&gt; const &gt;(const boost::serialization::nvp&lt;A&gt; &amp; t={...}, int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;A&gt; const &gt;(const boost::serialization::nvp&lt;A&gt; &amp; t={...}, int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;boost::serialization::nvp&lt;A&gt; const &gt;(const boost::serialization::nvp&lt;A&gt; &amp; t={...}) Line 64 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&amp;&lt;boost::serialization::nvp&lt;A&gt; const &gt;(const boost::serialization::nvp&lt;A&gt; &amp; t={...}) Line 71 C++ test_map_text_archive_dll.exe!boost::serialization::serialize&lt;boost::archive::text_iarchive,random_key const ,A&gt;(boost::archive::text_iarchive &amp; ar={...}, std::pair&lt;random_key const ,A&gt; &amp; p=({m_i=17505 },{b=true f=553902118 g=661662372 ...}), const unsigned int __formal=0) Line 43 C++ test_map_text_archive_dll.exe!boost::serialization::serialize_adl&lt;boost::archive::text_iarchive,std::pair&lt;random_key const ,A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...}), const unsigned int file_version=0) Line 140 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::iserializer&lt;boost::archive::text_iarchive,std::pair&lt;random_key const ,A&gt; &gt;::load_object_data(boost::archive::detail::basic_iarchive &amp; ar={...}, void * x=0x0012f728, const unsigned int file_version=0) Line 164 + 0x1a bytes C++ boost_serialization-vc90-mt-gd-1_35.dll!boost::archive::detail::basic_iarchive_impl::load_object(boost::archive::detail::basic_iarchive &amp; ar={...}, void * t=0x0012f728, const boost::archive::detail::basic_iserializer &amp; bis={...}) Line 388 C++ boost_serialization-vc90-mt-gd-1_35.dll!boost::archive::detail::basic_iarchive::load_object(void * t=0x0012f728, const boost::archive::detail::basic_iserializer &amp; bis={...}) Line 523 C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,std::pair&lt;random_key const ,A&gt; &gt;::load_standard::invoke(boost::archive::text_iarchive &amp; ar={...}, std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...})) Line 365 C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,std::pair&lt;random_key const ,A&gt; &gt;::load_conditional::invoke(boost::archive::text_iarchive &amp; ar={...}, std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...})) Line 371 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,std::pair&lt;random_key const ,A&gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...})) Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,std::pair&lt;random_key const ,A&gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...})) Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::pair&lt;random_key const ,A&gt; &gt;(std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...}), int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::pair&lt;random_key const ,A&gt; &gt;(std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...}), int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::pair&lt;random_key const ,A&gt; &gt;(std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...}), int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;std::pair&lt;random_key const ,A&gt; &gt;(std::pair&lt;random_key const ,A&gt; &amp; t=({m_i=17505 },{b=true f=553902118 g=661662372 ...})) Line 64 C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt;::load&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int __formal=0) Line 87 C++ test_map_text_archive_dll.exe!boost::serialization::access::member_load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 102 C++ test_map_text_archive_dll.exe!boost::serialization::detail::member_loader&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 54 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::split_member&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 69 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt;::serialize&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int file_version=0) Line 88 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::serialization::access::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 110 C++ test_map_text_archive_dll.exe!boost::serialization::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 81 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::serialize_adl&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 140 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;::load_only::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}) Line 351 + 0xf bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}) Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}) Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load_wrapper&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, boost::mpl::bool_&lt;1&gt; __formal={...}) Line 583 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}) Line 589 + 0x12 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}, int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::pair&lt;random_key const ,A&gt; &gt; &amp; t={...}) Line 64 C++ test_map_text_archive_dll.exe!boost::serialization::stl::archive_input_multi&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;::operator()(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; s=[0](), const unsigned int v=0) Line 96 C++ test_map_text_archive_dll.exe!boost::serialization::stl::load_collection&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;,boost::serialization::stl::archive_input_multi&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;,boost::serialization::stl::no_reserve_imp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; s=[0]()) Line 135 C++ test_map_text_archive_dll.exe!boost::serialization::load&lt;boost::archive::text_iarchive,A,random_key,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), const unsigned int __formal=0) Line 101 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::serialization::free_loader&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), const unsigned int file_version=0) Line 58 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::serialization::split_free&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), const unsigned int file_version=0) Line 74 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::serialize&lt;boost::archive::text_iarchive,A,random_key,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), const unsigned int file_version=0) Line 112 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::serialize_adl&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), const unsigned int file_version=0) Line 140 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::iserializer&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;::load_object_data(boost::archive::detail::basic_iarchive &amp; ar={...}, void * x=0x0012feec, const unsigned int file_version=0) Line 164 + 0x1a bytes C++ boost_serialization-vc90-mt-gd-1_35.dll!boost::archive::detail::basic_iarchive_impl::load_object(boost::archive::detail::basic_iarchive &amp; ar={...}, void * t=0x0012feec, const boost::archive::detail::basic_iserializer &amp; bis={...}) Line 388 C++ boost_serialization-vc90-mt-gd-1_35.dll!boost::archive::detail::basic_iarchive::load_object(void * t=0x0012feec, const boost::archive::detail::basic_iserializer &amp; bis={...}) Line 523 C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;::load_standard::invoke(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0]()) Line 365 C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0]()) Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0]()) Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;(std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;(std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;(std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0](), int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;(std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &amp; t=[0]()) Line 64 C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;::load&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int __formal=0) Line 87 C++ test_map_text_archive_dll.exe!boost::serialization::access::member_load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 102 C++ test_map_text_archive_dll.exe!boost::serialization::detail::member_loader&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 54 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::split_member&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 69 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt;::serialize&lt;boost::archive::text_iarchive&gt;(boost::archive::text_iarchive &amp; ar={...}, const unsigned int file_version=0) Line 88 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::serialization::access::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 110 C++ test_map_text_archive_dll.exe!boost::serialization::serialize&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 81 + 0x11 bytes C++ test_map_text_archive_dll.exe!boost::serialization::serialize_adl&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, const unsigned int file_version=0) Line 140 + 0x18 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;::load_only::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}) Line 351 + 0xf bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::load_non_pointer_type&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;::invoke(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}) Line 414 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}) Line 561 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load_wrapper&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, boost::mpl::bool_&lt;1&gt; __formal={...}) Line 583 + 0xd bytes C++ test_map_text_archive_dll.exe!boost::archive::load&lt;boost::archive::text_iarchive,boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &gt;(boost::archive::text_iarchive &amp; ar={...}, const boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}) Line 589 + 0x12 bytes C++ test_map_text_archive_dll.exe!boost::archive::detail::common_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, int __formal=0) Line 59 + 0x15 bytes C++ test_map_text_archive_dll.exe!boost::archive::basic_text_iarchive&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, int __formal=0) Line 63 C++ test_map_text_archive_dll.exe!boost::archive::text_iarchive_impl&lt;boost::archive::text_iarchive&gt;::load_override&lt;boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}, int __formal=0) Line 66 C++ test_map_text_archive_dll.exe!boost::archive::detail::interface_iarchive&lt;boost::archive::text_iarchive&gt;::operator&gt;&gt;&lt;boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; const &gt;(const boost::serialization::nvp&lt;std::multimap&lt;random_key,A,std::less&lt;random_key&gt;,std::allocator&lt;std::pair&lt;random_key const ,A&gt; &gt; &gt; &gt; &amp; t={...}) Line 64 C++ test_map_text_archive_dll.exe!test_multimap() Line 139 C++ test_map_text_archive_dll.exe!test_main(int __formal=1, int __formal=1) Line 241 C++ test_map_text_archive_dll.exe!main(int argc=1, char * * argv=0x00c61ca0) Line 166 + 0xd bytes C++ test_map_text_archive_dll.exe!__tmainCRTStartup() Line 582 + 0x19 bytes C test_map_text_archive_dll.exe!mainCRTStartup() Line 399 C </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1508 Trac 1.4.3 Richard Webb <richard.webb@…> Sun, 09 Dec 2007 12:54:49 GMT <link>https://svn.boost.org/trac10/ticket/1508#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1508#comment:1</guid> <description> <p> I just got this error (plus a few other similar ones) when running an incremental regression test on Trunk. </p> <p> I didnt get the error when i ran the full test, so i'm not sure if it's a result of the incremental test or something that has been changed in the past few days. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Sat, 22 Dec 2007 21:42:44 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1508#comment:2 https://svn.boost.org/trac10/ticket/1508#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> I am curious about this. This is a recent change. I don't trust bjam "incremental". So until I get some more confirmation I'm going to assume its a test artifact. </p> <p> Robert Ramey </p> Ticket Richard Webb <richard.webb@…> Sun, 23 Dec 2007 01:36:51 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/1508#comment:3 https://svn.boost.org/trac10/ticket/1508#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">wontfix</span> </li> </ul> <p> This isn't simply a test artifact - you get the same error with the simple program: </p> <pre class="wiki">int _tmain(int argc, _TCHAR* argv[]) { std::stringstream sss; boost::archive::text_oarchive oa(sss); std::string out; oa &lt;&lt; out; std::string in; boost::archive::text_iarchive ia(sss); ia &gt;&gt; in; return 0; } </pre><p> The same thing happens on both VC8(SP1) and VC9 (and both work fine if the initial string isn't empty). </p> <p> The problem with the </p> <pre class="wiki">is.read(&amp;(*s.begin()), size); </pre><p> is that if size is 0 (and therefore s is empty) you end up dereferencing an 'invalid' iterator, which the debug iterators don't like you doing. </p> Ticket Robert Ramey Sun, 23 Dec 2007 21:55:25 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1508#comment:4 https://svn.boost.org/trac10/ticket/1508#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> OK </p> <p> I've made the following change </p> <p> if(0 &lt; size) </p> <blockquote> <p> is.read(&amp;(*s.begin()), size); </p> </blockquote> <p> Hopefully that should do it. </p> <p> Thanks for spending the time to characterise this. </p> <p> Robert Ramey </p> Ticket