[Boost-bugs] [Boost C++ Libraries] #13233: address sanitize dumps error

Subject: [Boost-bugs] [Boost C++ Libraries] #13233: address sanitize dumps error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-09-29 03:16:34


#13233: address sanitize dumps error
------------------------------+-----------------------------
 Reporter: anonymous | Owner: Andrey Semashev
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
  Version: Boost 1.65.0 | Severity: Optimization
 Keywords: |
------------------------------+-----------------------------
 When compiler user code with -fsanitize=address -fsanitize=undefined,it
 dumps:

 {{{
 /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<boost::log::v2_mt_posix::core>'
  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<boost::log::v2_mt_posix::core>'
 /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<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > >'
  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<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > >'
 }}}

 could you fix it?It may caused by logging::core instance

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13233>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-09-29 03:23:06 UTC