Re: [Boost-bugs] [Boost C++ Libraries] #2647: valgrind error with Boost.Test

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2647: valgrind error with Boost.Test
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-28 05:44:16


#2647: valgrind error with Boost.Test
-------------------------------------+--------------------------------------
 Reporter: baraclese | Owner: rogeeff
     Type: Patches | Status: new
Milestone: Boost 1.41.0 | Component: test
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
Changes (by smr@…):

  * milestone: Boost 1.40.0 => Boost 1.41.0

Comment:

 This has also been reported to distributors such as Debian
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538946). Debian has
 elected to follow the suggestion of Peter Klotz; see the final message of
 http://www.nabble.com/-Boost.Test--valgrind-complains-about-invalid-reads-
 td20500154.html

 In summary:
  1. The destructor of class test_unit is made virtual and public.
  1. The method framework::clear() is much simpler: no downcast needed.

 Patch attached.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2647#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:01 UTC