Boost logo

Boost Testing :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-02-03 15:51:31


On Thu, 3 Feb 2005 15:24:47 -0500, Caleb Epstein
<caleb.epstein_at_[hidden]> wrote:
> I'm running into numerous examples of the regression test programs

Actually it was just two, and the tests are getting SIGSEGV, not a SIGBUS.

The other test which exhibits this failure:

libs/range/test/std_container_test

(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) run
Running: std_container_test
(process id 26100)
Running 1 test case...
signal SEGV (no mapping at the fault address) in _free_unlocked at 0x7fa42bbc
0x7fa42bbc: _free_unlocked+0x0040: ld [%i0 - 0x8], %o0
Current function is boost::test_tools::predicate_result::~predicate_result
   47 ~predicate_result() { delete m_message; }
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
  [1] _free_unlocked(0x2000, 0x7fabc008, 0x2000, 0x7fabc008, 0x22310,
0x7fa42b64), at 0x7fa42bbc
  [2] free(0x2000, 0xab790, 0xffbec910, 0xffffffff, 0x220b8, 0x681e4),
at 0x7fa42b6c
  [3] operator delete(0x2000, 0xffbec988, 0x1, 0x2, 0xa14d8, 0x681cc),
at 0x7fb46260
  [4] std::basic_stringbuf<char,std::char_traits<char>,std::allocator<char>
>::~basic_stringbuf(0xffbedb60, 0xffbec9e0, 0x1, 0x2, 0xa14d8, 0x2),
at 0x714b8
  [5] std::basic_ostringstream<char,std::char_traits<char>,std::allocator<char>
>::~basic_ostringstream(0xffbedb58, 0xffbedc10, 0xab790, 0x30160,
0xab6b8, 0x0), at 0x662d8
  [6] boost::basic_wrap_stringstream<char>::~basic_wrap_stringstream(0xffbedb58,
0xffbecdf3, 0x14c, 0xa17c0, 0xa1804, 0xa17c4), at 0x384c0
=>[7] boost::test_tools::predicate_result::~predicate_result(this =
0xffbed7b0), line 47 in "predicate_result.hpp"
  [8] check_std_container(), line 51 in "std_container.cpp"
  [9] boost::unit_test::function_test_case::do_run(this = 0xab2a8),
line 138 in "unit_test_suite.hpp"
  [10] boost::unit_test::ut_detail::unit_test_monitor::function(this =
0xa0a90), line 79 in "unit_test_monitor.ipp"
  [11] boost::execution_monitor::run_function(this = 0xa0a90), line
197 in "execution_monitor.ipp"
  [12] boost::detail::catch_signals(exmon = CLASS, catch_system_errors
= true, timeout = 0), line 418 in "execution_monitor.ipp"
  [13] boost::execution_monitor::execute(this = 0xa0a90,
catch_system_errors = true, timeout = 0), line 223 in
"execution_monitor.ipp"
  [14] boost::unit_test::ut_detail::unit_test_monitor::execute_and_translate(this
= 0xa0a90, target_test_case = 0xab2a8, f = 0xffbee024, timeout = 0),
line 46 in "unit_test_monitor.ipp"
  [15] boost::unit_test::test_case::run(this = 0xab2a8), line 173 in
"unit_test_suite.ipp"
  [16] boost::unit_test::test_suite::do_run(this = 0xab1c8), line 277
in "unit_test_suite.ipp"
  [17] boost::unit_test::test_case::run(this = 0xab1c8), line 186 in
"unit_test_suite.ipp"
  [18] main(argc = 1, argv = 0xffbee4dc), line 84 in "unit_test_main.ipp"

-- 
Caleb Epstein
caleb dot epstein at gmail dot com

Boost-testing list run by mbergal at meta-comm.com