
On Oct 22, 2009, at 16:04 , Mike Tegtmeyer wrote:
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_test.cc>_______________________________________________
Search the mail list (subject "Double free from UTF") and see the bug database https://svn.boost.org/trac/boost/ticket/3432 This is a known issue and has a patch in place, though not yet released AFAIK. Stephen