Boost C++ Libraries: Ticket #13233: address sanitize dumps error https://svn.boost.org/trac10/ticket/13233 <p> When compiler user code with -fsanitize=address -fsanitize=undefined,it dumps: </p> <pre class="wiki">/usr/local/include/boost/smart_ptr/detail/shared_count.hpp:426:36: runtime error: member call on address 0x6030000134b0 which does not point to an object of type 'sp_counted_base' 0x6030000134b0: note: object is of type 'boost::detail::sp_counted_impl_p&lt;boost::log::v2_mt_posix::core&gt;' 03 00 80 6a 40 2a 4f fb b6 7f 00 00 05 00 00 00 01 00 00 00 b0 ed 00 00 20 60 00 00 00 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'boost::detail::sp_counted_impl_p&lt;boost::log::v2_mt_posix::core&gt;' /usr/local/include/boost/log/attributes/attribute_value.hpp:200:37: runtime error: member call on address 0x60400000cad0 which does not point to an object of type 'impl' 0x60400000cad0: note: object is of type 'boost::log::v2_mt_posix::attributes::attribute_value_impl&lt;std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;' 01 00 00 43 88 2a 4f fb b6 7f 00 00 01 00 00 00 be be be be b0 22 01 00 30 60 00 00 1d 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'boost::log::v2_mt_posix::attributes::attribute_value_impl&lt;std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;' </pre><p> could you fix it?It may caused by logging::core instance </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13233 Trac 1.4.3 boost-san@… Tue, 14 Nov 2017 18:07:14 GMT attachment set https://svn.boost.org/trac10/ticket/13233 https://svn.boost.org/trac10/ticket/13233 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">Sanitizer.txt</span> </li> </ul> <p> My version of the same error </p> Ticket Lukas Barth <boost@…> Tue, 20 Feb 2018 15:14:36 GMT <link>https://svn.boost.org/trac10/ticket/13233#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13233#comment:1</guid> <description> <p> Hi, </p> <p> I seem to be hit by the same problem, however I only see the first of the two runtime errors: </p> <pre class="wiki">/home/lukas/opt/boost_install/include/boost/smart_ptr/detail/shared_count.hpp:426:36: runtime error: member call on address 0x6030000070f0 which does not point to an object of type 'sp_counted_base' 0x6030000070f0: note: object is of type 'boost::detail::sp_counted_impl_p&lt;boost::log::v2_mt_posix::core&gt;' 01 00 00 3f 38 c5 66 c6 a6 7f 00 00 02 00 00 00 01 00 00 00 50 e9 00 00 20 60 00 00 00 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'boost::detail::sp_counted_impl_p&lt;boost::log::v2_mt_posix::core&gt;' </pre><p> My instrumentation flags are </p> <pre class="wiki">-fstack-protector -fsanitize=undefined -ftrapv -fno-sanitize-recover -fsanitize=address </pre> </description> <category>Ticket</category> </item> <item> <author>Lukas Barth <boost@…></author> <pubDate>Tue, 20 Feb 2018 15:21:01 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13233#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13233#comment:2</guid> <description> <p> Sorry, providing a little bit more information: I'm using boost 1.66.0 and GCC 5.4.0. </p> </description> <category>Ticket</category> </item> </channel> </rss>