some runtime errors in shared_count.hpp
boost/smart_ptr/detail/shared_count.hpp:484:41: runtime error: member call on address 0x0000055807b0 which does not point to an object of type 'sp_counted_base' 0x0000055807b0: note: object is of type 'boost::detail::sp_counted_impl_pboost::detail::thread_data_base' 00 00 00 00 10 82 bd b4 c1 7f 00 00 01 00 00 00 01 00 00 00 c0 29 5a 05 00 00 00 00 41 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'boost::detail::sp_counted_impl_pboost::detail::thread_data_base' boost/smart_ptr/detail/shared_count.hpp:625:43: runtime error: member call on address 0x0000055807b0 which does not point to an object of type 'sp_counted_base' 0x0000055807b0: note: object is of type 'boost::detail::sp_counted_impl_pboost::detail::thread_data_base' 00 00 00 00 10 82 bd b4 c1 7f 00 00 02 00 00 00 01 00 00 00 c0 29 5a 05 00 00 00 00 41 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'boost::detail::sp_counted_impl_pboost::detail::thread_data_base' boost/smart_ptr/detail/shared_count.hpp:473:36: runtime error: member call on address 0x0000055807b0 which does not point to an object of type 'sp_counted_base' 0x0000055807b0: note: object is of type 'boost::detail::sp_counted_impl_pboost::detail::thread_data_base' 00 00 00 00 10 82 bd b4 c1 7f 00 00 02 00 00 00 02 00 00 00 c0 29 5a 05 00 00 00 00 41 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'boost::detail::sp_counted_impl_pboost::detail::thread_data_base'
On 15/08/2016 23:04, David Frank wrote:
boost/smart_ptr/detail/shared_count.hpp:484:41: runtime error: member call on address 0x0000055807b0 which does not point to an object of type 'sp_counted_base' 0x0000055807b0: note: object is of type 'boost::detail::sp_counted_impl_pboost::detail::thread_data_base' 00 00 00 00 10 82 bd b4 c1 7f 00 00 01 00 00 00 01 00 00 00 c0 29 5a 05 00 00 00 00 41 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~
Given that sp_counted_base is a base class of sp_counted_impl_p<>, I'm inclined to think that whatever is reporting that is confused. It's also useless to make a post like this without specifying what version of Boost you are using and which tool is reporting these errors.
participants (2)
-
David Frank
-
Gavin Lambert