id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9567,De-serialization of enable_shared_from_this through base class pointer fails,Tim Regan,Robert Ramey,"Given the following class structure: Base is a simple class. Derived inherits from Base. Derived also inherits from boost::enable_shared_from_this. Base and Derived implement boost::serialization. When deserializing an instance of Derived into a vector of boost::shared_ptr: Base and Derived members are reconstructed correctly. Derived::shared_from_this() works as expected. But when deserializing an instance of Derived into a vector of boost::shared_ptr: Base and Derived members are still reconstructed correctly. Derived::shared_from_this() throws a bad_weak_ptr exception. This is because enable_shared_from_this::weak_ptr is NOT reconstructed - It is zero. See test code in attached file that demonstrates both of the above cases.",Bugs,closed,To Be Determined,serialization,Boost 1.53.0,Problem,wontfix,serialization enable_shared_from_this shared_ptr weak_ptr,