|
Boost : |
Subject: [boost] boost-test and Mac 10.6
From: Mike Tegtmeyer (tegtmeye_at_[hidden])
Date: 2009-10-22 16:04:02
Does anyone know anything about boost test crashing on Mac 10.6?
Unless I'm missing something, it is completely broken for 1.40 and
trunk. There is a Ticket #2889 (closed Bugs: fixed) for malloc errors
that looks awfully similar to what I'm seeing.
file is:
rotor:~ tegtmeye$ cat boost_test.cc
#define BOOST_TEST_MODULE footest test
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE( test1 )
{
BOOST_CHECK( true );
}
BOOST_AUTO_TEST_CASE( test2 )
{
BOOST_CHECK( true );
}
BOOST_AUTO_TEST_CASE( test3 )
{
BOOST_CHECK( true );
}
BOOST_AUTO_TEST_CASE( test4 )
{
BOOST_CHECK( true );
}
rotor:~ tegtmeye$ g++ boost_test.cc
/usr/local/lib/libboost_unit_test_framework.a
rotor:~ tegtmeye$ ./a.out Running 4 test cases...
*** No errors detected
a.out(69716) malloc: *** error for object 0x30001002002e0: pointer
being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk