Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] Malloc exceptions when using test framework on 64bit OS X 10.6.1
From: Vrai Stacey (vrai_at_[hidden])
Date: 2009-09-20 04:09:23


> This seems to be once again this bug in Boost.Test:
>
> http://www.nabble.com/-Boost.Test--valgrind-complains-about-invalid-reads-td20500154.html
> http://www.nabble.com/-Boost.Test--Error:-Non-aligned-pointer-being-freed-td24335733.html
>
> Try making the test_unit destructor virtual and your problem should be
> resolved.

Changing the test_unt destructor (in
boost/test/unit_test_suite_impl.hpp) fixes the problem in both 1.37
and 1.40. However the issue remains unfixed in SVN as of the current
time. Anyway, in the short term I can at least start finding 64bit
problems that are my fault.

Thanks for the help,
vrai.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net