Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam.exe crash on Windows Vista
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-08-24 03:20:32


On Monday 24 August 2009 Alexey Badyaev wrote:

> Vladimir Prus пишет:
> > Build Boost.Jam with debug information, by going to tools/jam/src and
> > running
> >
> > build.bat --debug
> >
> > Then, run that version. When it crashes, you should be able to fire up
> > visual studio and see where it crashed. Please provide the complete
> > backtrace.
>
> Hi, Vladimir!
>
> Debugger say, crash in file class.c in line 120. In body of function:
>
> char * make_class_module( LIST * xname, LIST * bases, FRAME * frame )
> {
> char * name = class_module_name( xname->string );
> char * * pp = &xname->string;
> module_t * class_module = 0;
> module_t * outer_module = frame->module;
>
> if ( !classes )
> classes = hashinit( sizeof( char * ), "classes" );
>
> if ( hashcheck( classes, (HASHDATA * *)&pp ) )
> {
> printf( "Class %s already defined\n", xname->string );
> abort();
> }

This is not really a crash, this is a diagnostic then. Do you see
the above error message printed? If so, you might want to check
what class is being defined twice.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk