Jonathan Polley wrote: > I updated plib, SimGear, and FlightGear before rebuilding. I cleaned > everything on Windows because there were some changes to plib headers > (MSVC isn't always smart enough to properly handle header changes if > they are not in YOUR project). I haven't cleaned the MacOS build > because gcc hasn't had such problems.
I just got bitten by this too after a CVS update. Your diagnosis was correct; it's a plib bug. Changes that Steve made two days ago introduced an new variable without a default initialization. Here's the note I just sent to the plib list: > The most recent changes have an uninitialized data bug. The new > ssgContext member "ovState" is never assigned to a default value in > the constructor, but is nonetheless tested against NULL at runtime. > Trivial patch follows. > > Andy > > diff -u -r1.19 ssgContext.cxx > --- ssgContext.cxx 10 Nov 2002 17:12:13 -0000 1.19 > +++ ssgContext.cxx 12 Nov 2002 21:14:07 -0000 > @@ -48,6 +48,7 @@ > cullFace = TRUE ; > ovTexture = FALSE ; > ovCullface = FALSE ; > + ovState = NULL ; > > sgCopyMat4 ( cameraMatrix, _ssgOpenGLAxisSwapMatrix ) ; Andy -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com "Men go crazy in conflagrations. They only get better one by one." - Sting (misquoted) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
