Hi James, here is some output from valgrind (I have not included the bunch of warnings inside the nvidia library):
Startup: ==9401== Thread 1: ==9401== Conditional jump or move depends on uninitialised value(s) ==9401== at 0x8558F7: GPS::getScratchHasNext() const (gps.cxx:1308) ==9401== by 0xE1D6B6: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:656) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0x6EE57D: FGGlobals::saveInitialState() (globals.cxx:441) ==9401== by 0x6DEB2B: fgPostInitSubsystems() (fg_init.cxx:815) ==9401== by 0x6F73CE: fgIdleFunction() (main.cxx:221) ==9401== by 0xB2DCBE: fgOSMainLoop() (fg_os_osgviewer.cxx:319) ==9401== by 0x6F6769: fgMainInit(int, char**) (main.cxx:363) ==9401== by 0x6B9913: main (bootstrap.cxx:244) ==9401== ==9401== Conditional jump or move depends on uninitialised value(s) ==9401== at 0x8A580C: Transponder::getReplyAnnunciator() const (transponder.cxx:302) ==9401== by 0xE1D6B6: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:656) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0xE1D50F: copyProperties(SGPropertyNode const*, SGPropertyNode*, int, int) (props_io.cxx:732) ==9401== by 0x6EE57D: FGGlobals::saveInitialState() (globals.cxx:441) ==9401== by 0x6DEB2B: fgPostInitSubsystems() (fg_init.cxx:815) ==9401== by 0x6F73CE: fgIdleFunction() (main.cxx:221) ==9401== by 0xB2DCBE: fgOSMainLoop() (fg_os_osgviewer.cxx:319) ==9401== by 0x6F6769: fgMainInit(int, char**) (main.cxx:363) ==9401== by 0x6B9913: main (bootstrap.cxx:244) ==9401== ==9401== Thread 1: ==9401== Conditional jump or move depends on uninitialised value(s) ==9401== at 0x8F12CF: FGAIAircraft::leadPointReached(FGAIWaypoint*) (AIAircraft.cxx:825) ==9401== by 0x8F2B2F: FGAIAircraft::ProcessFlightPlan(double, long) (AIAircraft.cxx:292) ==9401== by 0x8F2E9A: FGAIAircraft::updatePrimaryTargetValues(bool&, bool&) (AIAircraft.cxx:974) ==9401== by 0x8F3128: FGAIAircraft::Run(double) (AIAircraft.cxx:155) ==9401== by 0x8F3AD6: FGAIAircraft::update(double) (AIAircraft.cxx:134) ==9401== by 0x74AC5F: FGATCManager::update(double) (atc_mgr.cxx:253) ==9401== by 0xE4AF4C: SGSubsystemGroup::Member::update(double) (subsystem_mgr.cxx:399) ==9401== by 0xE4C657: SGSubsystemGroup::update(double) (subsystem_mgr.cxx:249) ==9401== by 0xE4A82C: SGSubsystemMgr::update(double) (subsystem_mgr.cxx:502) ==9401== by 0x6F6B6E: fgMainLoop() (main.cxx:96) ==9401== by 0xB2DCBE: fgOSMainLoop() (fg_os_osgviewer.cxx:319) ==9401== by 0x6F6769: fgMainInit(int, char**) (main.cxx:363) ==9401== ==9401== Thread 1: ==9401== Conditional jump or move depends on uninitialised value(s) ==9401== at 0x8A61DE: Transponder::update(double) (transponder.cxx:185) ==9401== by 0xE4AF4C: SGSubsystemGroup::Member::update(double) (subsystem_mgr.cxx:399) ==9401== by 0xE4C657: SGSubsystemGroup::update(double) (subsystem_mgr.cxx:249) ==9401== by 0xE4AF4C: SGSubsystemGroup::Member::update(double) (subsystem_mgr.cxx:399) ==9401== by 0xE4C657: SGSubsystemGroup::update(double) (subsystem_mgr.cxx:249) ==9401== by 0xE4A82C: SGSubsystemMgr::update(double) (subsystem_mgr.cxx:502) ==9401== by 0x6F6B6E: fgMainLoop() (main.cxx:96) ==9401== by 0xB2DCBE: fgOSMainLoop() (fg_os_osgviewer.cxx:319) ==9401== by 0x6F6769: fgMainInit(int, char**) (main.cxx:363) ==9401== by 0x6B9913: main (bootstrap.cxx:244) ==9401== ==9401== Conditional jump or move depends on uninitialised value(s) ==9401== at 0x8A61FE: Transponder::update(double) (transponder.cxx:187) ==9401== by 0xE4AF4C: SGSubsystemGroup::Member::update(double) (subsystem_mgr.cxx:399) ==9401== by 0xE4C657: SGSubsystemGroup::update(double) (subsystem_mgr.cxx:249) ==9401== by 0xE4AF4C: SGSubsystemGroup::Member::update(double) (subsystem_mgr.cxx:399) ==9401== by 0xE4C657: SGSubsystemGroup::update(double) (subsystem_mgr.cxx:249) ==9401== by 0xE4A82C: SGSubsystemMgr::update(double) (subsystem_mgr.cxx:502) ==9401== by 0x6F6B6E: fgMainLoop() (main.cxx:96) ==9401== by 0xB2DCBE: fgOSMainLoop() (fg_os_osgviewer.cxx:319) ==9401== by 0x6F6769: fgMainInit(int, char**) (main.cxx:363) ==9401== by 0x6B9913: main (bootstrap.cxx:244) ==9401== Now shutting down: ==9401== Thread 1: ==9401== Conditional jump or move depends on uninitialised value(s) ==9401== at 0x8558F7: GPS::getScratchHasNext() const (gps.cxx:1308) ==9401== by 0xE15254: SGPropertyNode::untie() (props.cxx:1774) ==9401== by 0x6EC3DD: simgear::TiedPropertyList::Untie() (tiedpropertylist.hxx:129) ==9401== by 0xE4A5DE: SGSubsystemGroup::unbind() (subsystem_mgr.cxx:224) ==9401== by 0xE4A5DE: SGSubsystemGroup::unbind() (subsystem_mgr.cxx:224) ==9401== by 0xE4A7EE: SGSubsystemMgr::unbind() (subsystem_mgr.cxx:495) ==9401== by 0x6EF3A6: FGGlobals::~FGGlobals() (globals.cxx:198) ==9401== by 0x6EF768: FGGlobals::~FGGlobals() (globals.cxx:220) ==9401== by 0x6F677D: fgMainInit(int, char**) (main.cxx:367) ==9401== by 0x6B9913: main (bootstrap.cxx:244) ==9401== ==9401== Invalid read of size 1 ==9401== at 0x949C00: flightgear::FlightPlan::~FlightPlan() (FlightPlan.cxx:90) ==9401== by 0x949EE8: flightgear::FlightPlan::~FlightPlan() (FlightPlan.cxx:99) ==9401== by 0x859A26: GPS::~GPS() (SGSharedPtr.hxx:109) ==9401== by 0x85A2C8: GPS::~GPS() (gps.cxx:114) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== by 0x867319: FGInstrumentMgr::~FGInstrumentMgr() (instrument_mgr.cxx:55) ==9401== by 0x867358: FGInstrumentMgr::~FGInstrumentMgr() (instrument_mgr.cxx:57) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== Address 0x36798900 is 48 bytes inside a block of size 280 free'd ==9401== at 0x4C2B59C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== by 0xE4AD88: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:163) ==9401== by 0xE4B2A7: SGSubsystemMgr::~SGSubsystemMgr() (subsystem_mgr.cxx:434) ==9401== by 0xE4B2F8: SGSubsystemMgr::~SGSubsystemMgr() (subsystem_mgr.cxx:436) ==9401== by 0x6EF3B5: FGGlobals::~FGGlobals() (globals.cxx:199) ==9401== by 0x6EF768: FGGlobals::~FGGlobals() (globals.cxx:220) ==9401== by 0x6F677D: fgMainInit(int, char**) (main.cxx:367) ==9401== by 0x6B9913: main (bootstrap.cxx:244) ==9401== ==9401== Invalid read of size 8 ==9401== at 0x949C04: flightgear::FlightPlan::~FlightPlan() (FlightPlan.cxx:89) ==9401== by 0x949EE8: flightgear::FlightPlan::~FlightPlan() (FlightPlan.cxx:99) ==9401== by 0x859A26: GPS::~GPS() (SGSharedPtr.hxx:109) ==9401== by 0x85A2C8: GPS::~GPS() (gps.cxx:114) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== by 0x867319: FGInstrumentMgr::~FGInstrumentMgr() (instrument_mgr.cxx:55) ==9401== by 0x867358: FGInstrumentMgr::~FGInstrumentMgr() (instrument_mgr.cxx:57) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== Address 0x36798908 is 56 bytes inside a block of size 280 free'd ==9401== at 0x4C2B59C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== by 0xE4AD88: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:163) ==9401== by 0xE4B2A7: SGSubsystemMgr::~SGSubsystemMgr() (subsystem_mgr.cxx:434) ==9401== by 0xE4B2F8: SGSubsystemMgr::~SGSubsystemMgr() (subsystem_mgr.cxx:436) ==9401== by 0x6EF3B5: FGGlobals::~FGGlobals() (globals.cxx:199) ==9401== by 0x6EF768: FGGlobals::~FGGlobals() (globals.cxx:220) ==9401== by 0x6F677D: fgMainInit(int, char**) (main.cxx:367) ==9401== by 0x6B9913: main (bootstrap.cxx:244) ==9401== ==9401== Invalid read of size 8 ==9401== at 0xA3729D: FGNasalSys::gcRelease(int) (NasalSys.cxx:1174) ==9401== by 0xA50D13: NasalFPDelegate::~NasalFPDelegate() (NasalPositioned.cxx:1751) ==9401== by 0xA50D88: NasalFPDelegate::~NasalFPDelegate() (NasalPositioned.cxx:1752) ==9401== by 0x949C0F: flightgear::FlightPlan::~FlightPlan() (FlightPlan.cxx:91) ==9401== by 0x949EE8: flightgear::FlightPlan::~FlightPlan() (FlightPlan.cxx:99) ==9401== by 0x859A26: GPS::~GPS() (SGSharedPtr.hxx:109) ==9401== by 0x85A2C8: GPS::~GPS() (gps.cxx:114) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== by 0x867319: FGInstrumentMgr::~FGInstrumentMgr() (instrument_mgr.cxx:55) ==9401== by 0x867358: FGInstrumentMgr::~FGInstrumentMgr() (instrument_mgr.cxx:57) ==9401== Address 0x367fb830 is 352 bytes inside a block of size 376 free'd ==9401== at 0x4C2B59C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9401== by 0xE4A996: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:383) ==9401== by 0xE4AA08: SGSubsystemGroup::Member::~Member() (subsystem_mgr.cxx:384) ==9401== by 0xE4AD2E: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:161) ==9401== by 0xE4AD88: SGSubsystemGroup::~SGSubsystemGroup() (subsystem_mgr.cxx:163) ==9401== by 0xE4B2A7: SGSubsystemMgr::~SGSubsystemMgr() (subsystem_mgr.cxx:434) ==9401== by 0xE4B2F8: SGSubsystemMgr::~SGSubsystemMgr() (subsystem_mgr.cxx:436) ==9401== by 0x6EF3B5: FGGlobals::~FGGlobals() (globals.cxx:199) ==9401== by 0x6EF768: FGGlobals::~FGGlobals() (globals.cxx:220) ==9401== by 0x6F677D: fgMainInit(int, char**) (main.cxx:367) ==9401== by 0x6B9913: main (bootstrap.cxx:244) hth, Tom -- Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org ------------------------------------------------------------------------ Student of Computer Science @ Graz University of Technology ------------------------------- Austria -------------------------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel