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: 2013-04-05 13:25:00


#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 timblechmann):

 i will have to review this specific part carefully. the uninitialized part
 is related to the ABA prevention counter, simply initializing it may
 silent the valgrind warning, but introduce an ABA problem, so this patch
 might break the data structure in a very subtle way.

 this issue could possibly be considered as `false positive' and the better
 way to silence the warning, might be to initialize the memory region, not
 in the constructor, but when allocating memory from the OS.

 might take me some time to review all the code ...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8395#comment:2>
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-02-16 18:50:12 UTC