Boost.Test error in Xcode debug build

817 Bus error or in the debugger: Program received signal: “EXC_BAD_ACCESS”. Stack: #0 0x001007c8 in boost::unit_test::framework::get at
Hi list! When I run my Boost.Test app in Xcode 3.1.2 in a debug build, I get: framework.ipp:387
test_unit& get( test_unit_id id, test_unit_type t ) { test_unit* res = s_frk_impl().m_test_units[id];
Execution paused at this line (below):
if( (res->p_type & t) == 0 ) throw internal_error( "Invalid test unit type" );
return *res; }
If I change to release build, everything runs fine. Any ideas? Sean DeNigris

DeNigris Sean
Hi list! When I run my Boost.Test app in Xcode 3.1.2 in a debug build, I get:
Can you give more details on your OS/compiler setup? Is it GCC version? What version of Boost r u using? What usage variant of Boost.Test?
817 Bus error
or in the debugger:
Program received signal: “EXC_BAD_ACCESS”.
Can you post simplest example here.
Stack: #0 0x001007c8 in boost::unit_test::framework::get at framework.ipp:387
test_unit& get( test_unit_id id, test_unit_type t ) { test_unit* res = s_frk_impl().m_test_units[id];
What is the value of id? What os the value of res?
Execution paused at this line (below):
if( (res->p_type & t) == 0 ) throw internal_error( "Invalid test unit type" );
You mean if line, right? Gennadiy
participants (2)
-
DeNigris Sean
-
Gennadiy Rozental