Boost logo

Boost Users :

Subject: [Boost-users] Boost.Test error in Xcode debug build
From: DeNigris Sean (sean_at_[hidden])
Date: 2009-04-13 13:14:50


Hi list!

When I run my Boost.Test app in Xcode 3.1.2 in a debug build, I get:
> 817 Bus error
or in the debugger:
> Program received signal: “EXC_BAD_ACCESS”.
> 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];
>
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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net