[Openais] Re: openais segfault

Mark Haverkamp markh at osdl.org
Wed Apr 5 15:11:06 PDT 2006


On Wed, 2006-04-05 at 14:50 -0700, Steven Dake wrote:
> Does it also crash if you specify a DEBUG version in Makefile.inc?  This
> is a release version (with optimization)...

When did all this stuff get added?

Anyway, it did start up OK setting the Makfile.inc up this way.

Mark.

> 
> from Makefile.inc:
> # OPENAIS_BUILD can be defined as RELEASE or DEBUG
> #
> ifndef OPENAIS_BUILD
>         OPENAIS_BUILD=DEBUG
> endif
> 
> 
> On Wed, 2006-04-05 at 14:48 -0700, Mark Haverkamp wrote:
> > On Wed, 2006-04-05 at 14:39 -0700, Steven Dake wrote:
> > > Love those bugs that go away with printfs :)
> > > 
> > > Can you try it without optimization without the printfs.  If that works,
> > > then it is likely an optimization bug.  It looks like you are already
> > > running in debug mode though.  So please do the following
> > > 
> > > rm lcr_ifact.c
> > > svn udpate lcr_ifact.c
> > > make (with DEBUG)
> > > objdump -S lcr_ifact.o
> > > 
> > > I'll analyze the differences in the compiler output.
> > 
> > cc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_LINUX -I../include -g -DDEBUG  -c -o lcr_ifact.o lcr_ifact.c
> > 
> > 
> > > 
> > > Regards
> > > -steve
> > > 
> > 
-- 
Mark Haverkamp <markh at osdl.org>




More information about the Openais mailing list