Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Test error in Xcode debug build
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-04-13 17:01:31


DeNigris Sean <sean <at> clipperadams.com> writes:

>
> 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


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