Boost logo

Boost Users :

Subject: Re: [Boost-users] some runtime errors in shared_count.hpp
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-08-15 19:21:20


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_p<boost::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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net