Re: Assertion error

From: Kevin Fink (kevin@n2h2.com)
Date: Wed Apr 07 1999 - 10:40:38 MDT


On Wed, 7 Apr 1999, Alex Rousskov wrote:

> On Wed, 7 Apr 1999, Kevin Fink wrote:
>
> > I'm getting an assertion error when trying to run polysrv:
> >
> > > ./polysrv --goal 5000 --port 5000
> > StatPhase.cc:78: assertion failed: '!theMgr'
> > IOT trap/Abort (core dumped)
> >
> > This is Polygraph 1.0p5
>
> Does it happen immediately after start? You may want to try
> ./polysrv --goal 5000 --port 5000 --verb_lvl 4
> to give us a bit more info. We have a few people running Poly on Linux so
> something weird must be going on.

Yes, it does happen immediately after start. Adding the verb_lvl doesn't
change the output:

> ./polysrv --goal 5000 --port 5000 --verb_lvl 4
StatPhase.cc:78: assertion failed: '!theMgr'
IOT trap/Abort (core dumped)

... Some Time Passes ...

Whoops - figured it out. Removing the compiler optimization (-O3) fixed
the problem.

Kevin

------------------------------------------------------------------------------
 Kevin Fink <kevin@n2h2.com> N2H2, Creators of Bess and Searchopolis
 Chief Technology Officer 900 Fourth Avenue, Suite 3400
 http://www.n2h2.com/ Seattle, WA 98164
 VOICE: 206-336-1501 / 800-971-2622 FAX: 206-336-1556
------------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:05 MDT