[gme-users] unknown exception in interpreter

Jeff Parsons parsons at isis.vanderbilt.edu
Thu Apr 14 14:01:44 CDT 2005


Hi,

I commented out the push_back() call, and got another exception saying
that one of my BONExtension classes was invalid. So maybe the problem is
not the vector after all. Maybe I should ask, has anyone seen such an
exception in the Release version of their interpreter?

thanks,

Jeff

> -----Original Message-----
> From: Zoltan Molnar
> Sent: Thursday, April 14, 2005 12:58 PM
> To: gme-users
> Subject: RE: [gme-users] unknown exception in interpreter
> 
> I would try it with STLport to see whether it makes a difference.
> Zoli
> 
> > -----Original Message-----
> > From: Jeff Parsons
> > Sent: Thursday, April 14, 2005 12:16 PM
> > To: gme-users
> > Subject: RE: [gme-users] unknown exception in interpreter
> >
> >
> > Hi,
> >
> > Ah, sorry, I forgot to specify that. Built-in.
> >
> > Jeff
> >
> > > -----Original Message-----
> > > From: Zoltan Molnar
> > > Sent: Thursday, April 14, 2005 12:11 PM
> > > To: gme-users
> > > Subject: RE: [gme-users] unknown exception in interpreter
> > >
> > >
> > > Which STL are you using? Built-in or Stlport?
> > >
> > > Zoli
> > >
> > > > -----Original Message-----
> > > > From: Jeff Parsons
> > > > Sent: Thursday, April 14, 2005 12:04 PM
> > > > To: gme-users
> > > > Subject: [gme-users] unknown exception in interpreter
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I'm using GME 4.11.10 with VC 7.1. My interpreter uses
> > BON 2. To one
> > > > of the BONExtension classes I've added an std::vector member.
The
> > > > interpreter works fine if I build and register the Debug
version,
> > > > but when running the Release version, I get a "unknown unhandled
> > > > exception.." error. I've traced it to the first time I call
> > > > push_back() on this vector. The type being pushed back is
> > the same
> > > > type as the class which contains the vector, and has been
checked
> > > > for null before
> > > > push_back() is called. I've traced it as far as the
> > > > push_back() operation body itself, and the line
> > > >
> > > > if (size() < capacity())
> > > >
> > > > is where the exception occurs. I've never had to worry about
> > > > initializing an std class before, so this is puzzling. Has
anyone
> > > > else ever encountered this or a similar problem?
> > > >
> > > > thanks,
> > > >
> > > > Jeff Parsons
> > > >
> > > > _______________________________________________
> > > > gme-users mailing list
> > > > gme-users at list.isis.vanderbilt.edu
> > > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > > >
> > > _______________________________________________
> > > gme-users mailing list
> > > gme-users at list.isis.vanderbilt.edu
> > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> >
> > _______________________________________________
> > gme-users mailing list
> > gme-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> >
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users



More information about the gme-users mailing list