id summary reporter owner description type status milestone component version severity resolution keywords cc 11915 Bug in xml_iarchive_impl::load(std::wstring &ws) anonymous Robert Ramey "There is a problem when serialization calls {{{ xml_iarchive_impl::load(wchar_t * ws) }}} or {{{ xml_iarchive_impl::load(std::wstring &ws) }}} in Visual Studio VC 2010. When std::mbrtowc is called in this function needs that ""std::mbstate_t mbs"" must be initialized to ""std::mbstate_t()"" in its first loop. Current value is undefined in this platform because mbstate_t is only an int (typedef int mbstate_t). It should be initialized before you use. My proposed fix should be: {{{ std::mbstate_t mbs = std::mbstate_t(); }}} " Bugs closed To Be Determined serialization Boost 1.61.0 Problem fixed