id summary reporter owner description type status milestone component version severity resolution keywords cc 1070 [iostreams]boost\iostreams\copy.hpp line80 copy_impl qbowater@… Jonathan Turkanis "boost\iostreams\copy.hpp line 80 - line 100 {{{ #!cpp template std::streamsize copy_impl( Source& src, Sink& snk, std::streamsize buffer_size, mpl::false_, mpl::true_ ) { // Copy from an indirect Source to a direct Sink. using namespace std; typedef typename char_type_of::type char_type; typedef pair pair_type; detail::basic_buffer buf(buffer_size); pair_type p = snk.output_sequence(); streamsize total = 0; bool done = false; while (!done) { streamsize amt; done = (amt = iostreams::read(src, buf.data(), buffer_size)) == -1; std::copy(buf.data(), buf.data() + amt, p.first + total); if (amt != -1) total += amt; } return total; } }}} When ""iostreams::read"" return -1 ,amt equal -1,it will assert in std::copy because iterator last < first. Please read http://article.gmane.org/gmane.comp.lib.boost.devel/161764 for detail." Bugs closed To Be Determined iostreams Boost 1.34.0 Problem fixed