id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3650,Text Serialization crashes when istream close unexpectedly,Doug Wallas,Robert Ramey,"I am using TextSerialization over a tcp::iostream. I am retrieving object pointers through the serialization mecanisms. boost::archive::text_iarchive ia(*_stream); while(!_stream->eof()) { boost::shared_ptr msg; ia >> msg; ... } If the socket stream close unexpectedly, then the program goes to fault. It seems that moving the check for stream failure after the data reads in the basic_text_iprimitive.hpp file fixes the problem. Thanks ",Feature Requests,reopened,Boost 1.42.0,serialization,Boost Development Trunk,Problem,,,