On Sat, 2002-02-16 at 08:03, Tony Peden wrote:
> On Sat, 2002-02-16 at 06:55, Erik Hofman wrote:
> > Jim Wilson wrote:
> > > Tony Peden <[EMAIL PROTECTED]> said:
> > > 
> > > 
> > >>I'm getting a set fault after resetting twice with either LaRCsim or
> > >>JSBSim. In both cases it's getting through the FDM init, updates the
> > >>material textures, updates sun and moon positions, and then quits after
> > >>printing:
> > >>Logging priority is info
> > >>Set logging classes to
> > >>
> > >>
> > > 
>terrain|astro|flight|input|gl|view|cockpit|general|math|event|aircraft|autopilot|io|clipper|network
> > > 
> > > 
> > > I can't seem to reproduce this here with CVS as of about midnight last night.
> > >  Are you using .fgfsrc or cmd line parameters?  And currently I'm building
> > > without thread support.
> > 
> > I got it at the first reset.
> > Latest FlightGear, SimGear and JSBSim from CVS.
> 
> Well, after a clean rebuild I can only reproduce it with JSBSim.

It looks like this was caused by one of the global pointers to the
FGInterface object not getting updated during the reset.  Sometimes,
the new FGInterface object would get the same address as the previous
and then everything was fine.  Other times, however, it would get a
different one, then everything wasn't so fine.

I've sent a fix to Curt and David.


> 
> > 
> > Erik
> > 
> > 
> > _______________________________________________
> > Flightgear-devel mailing list
> > [EMAIL PROTECTED]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> -- 
> Tony Peden
> [EMAIL PROTECTED]
> We all know Linux is great ... it does infinite loops in 5 seconds. 
> -- attributed to Linus Torvalds
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
-- 
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds. 
-- attributed to Linus Torvalds

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to