20 Sep
2009
20 Sep
'09
8:09 a.m.
This seems to be once again this bug in Boost.Test:
http://www.nabble.com/-Boost.Test--valgrind-complains-about-invalid-reads-td... http://www.nabble.com/-Boost.Test--Error:-Non-aligned-pointer-being-freed-td...
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.