hi all,
i've reported an issue before that boost.test in the release branch is
pretty broken. *all* tests of the boost.heap testsuite segfault like this:
--Program received signal SIGSEGV, Segmentation fault.
0x00000000005f4975 in boost::unit_test::test_suite::add (this=0x8cefa0,
tu=0x9, expected_failures=0, timeout=0) at
../../../boost/test/impl/unit_test_suite.ipp:139
139 m_members.push_back( tu->p_id );
(gdb) bt
#0 0x00000000005f4975 in boost::unit_test::test_suite::add
(this=0x8cefa0, tu=0x9, expected_failures=0, timeout=0) at
../../../boost/test/impl/unit_test_suite.ipp:139
#1 0x00000000005fda9c in
boost::unit_test::ut_detail::test_init_caller::operator()
(this=0x8d4e08) at ../../../boost/test/impl/framework.ipp:96
#2 0x00000000006031a2 in
boost::unit_test::ut_detail::invoker<int>::invokeboost::unit_test::ut_detail::test_init_caller
(this=0x7fffffffc36f, f=...)
at ../../../boost/test/utils/callback.hpp:42
#3 0x0000000000603071 in
boost::unit_test::ut_detail::callback0_impl_t::invoke (this=0x8d4e00)
at ../../../boost/test/utils/callback.hpp:89
#4 0x000000000060e03d in boost::unit_test::callback0<int>::operator()
(this=0x7fffffffcfc0) at ../../../boost/test/utils/callback.hpp:118
#5 0x000000000060de8a in
boost::detail::do_invokeboost::detail::translate_exception_base,
boost::unit_test::callback0<int> > (tr=..., F=...)
at ../../../boost/test/impl/execution_monitor.ipp:281
#6 0x000000000060d1a8 in boost::execution_monitor::catch_signals
(this=0x7fffffffcfd0, F=...) at
../../../boost/test/impl/execution_monitor.ipp:885
#7 0x000000000060d262 in boost::execution_monitor::execute
(this=0x7fffffffcfd0, F=...) at
../../../boost/test/impl/execution_monitor.ipp:1211
#8 0x00007ffff7b0bf33 in boost::unit_test::framework::init
(init_func=0x4e3f30 , argc=1, argv=0x7fffffffd198)
at ../../../boost/test/impl/framework.ipp:268
#9 0x00007ffff7b22267 in boost::unit_test::unit_test_main
(init_func=0x4e3f30 , argc=1, argv=0x7fffffffd198)
at ../../../boost/test/impl/unit_test_main.ipp:177
#10 0x00000000004e3f62 in main (argc=1, argv=0x7fffffffd198) at
../../../boost/test/unit_test.hpp:59
--
boost.test in trunk works fine, though ... i wonder, will it eventually
be merged to release?
tim