Re: [Boost-bugs] [Boost C++ Libraries] #8395: Valgrind error in lockfree::queue

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8395: Valgrind error in lockfree::queue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-16 05:31:19


#8395: Valgrind error in lockfree::queue
-------------------------------+--------------------------
  Reporter: adam@… | Owner: timblechmann
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lockfree
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------

Comment (by anonymous):

 Same here with boost 1.58. Compiled in debug with --track-origins=yes, I
 have:


 {{{
 ==10410== Conditional jump or move depends on uninitialised value(s)
 ==10410== at 0x401939: compare_exchange_weak (ops_gcc_atomic.hpp:132)
 ==10410== by 0x401939: compare_exchange_weak (atomic_template.hpp:386)
 ==10410== by 0x401939: compare_exchange_weak (atomic_template.hpp:393)
 ==10410== by 0x401939: bool boost::lockfree::queue<int*,
 boost::parameter::void_, boost::parameter::void_,
 boost::parameter::void_>::do_push<false>(int* const&) (queue.hpp:307)
 ==10410== by 0x400C48: boost::lockfree::queue<int*,
 boost::parameter::void_, boost::parameter::void_,
 boost::parameter::void_>::push(int* const&) (queue.hpp:267)
 ==10410== by 0x4008DC: main (plap.cpp:9)
 ==10410== Uninitialised value was created by a stack allocation
 ==10410== at 0x40361E:
 boost::atomics::atomic<boost::lockfree::detail::tagged_ptr<boost::lockfree::queue<int*,
 boost::parameter::void_, boost::parameter::void_,
 boost::parameter::void_>::node> >::atomic() (atomic_template.hpp:680)
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8395#comment:7>
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-04-16 05:33:58 UTC