[IGSTK-Developers] Memory errors in View

David Gobbi dgobbi at atamai.com
Thu Mar 2 14:46:38 EST 2006


There are memory errors on the dashboard related to the View2D class and 
the TimeStamp class.

View2D::PrintSelf(), in igstkView2D.cxx line 49, from igstkViewTest:

UMC ==18695== Conditional jump or move depends on uninitialised value(s)
==18695==    at 0x2932A64: std::ostreambuf_iterator > std::num_put > >::_M_convert_int(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.5.0.7)
==18695==    by 0x293269F: std::num_put > >::do_put(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.5.0.7)
==18695==    by 0x294899B: std::ostream::operator<<(long) (in /usr/lib/libstdc++.so.5.0.7)
==18695==    by 0x2948E70: std::ostream::operator<<(int) (in /usr/lib/libstdc++.so.5.0.7)
==18695==    by 0x8829A63: igstk::View2D::PrintSelf(std::ostream&, itk::Indent) const (igstkView2D.cxx:49)
==18695==    by 0x8811A3F: igstk::View::Print(std::ostream&, itk::Indent) const (igstkView.cxx:877)
==18695==    by 0x85892F1: igstkViewTest(int, char**) (igstkViewTest.cxx:254)
==18695==    by 0x831951B: main (igstkTestMain.h:133)

TimeStamp::SetStartTimeNowAndExpireAfter(), in igstkTimeStamp.cxx line 56, from igstkSpatialObjectTest:

UMR ==18661== Use of uninitialised value of size 8
==18661==    at 0x8783E44: igstk::TimeStamp::SetStartTimeNowAndExpireAfter(double) (igstkTimeStamp.cxx:56)
==18661==    by 0x87ADE4E: igstk::Transform::SetToIdentity(double) (igstkTransform.cxx:167)
==18661==    by 0x83F5286: igstk::SpatialObjectTest::MyTracker::InternalUpdateStatus() (igstkSpatialObjectTest.cxx:116)
==18661==    by 0x8791C4F: igstk::Tracker::AttemptToUpdateStatusProcessing() (igstkTracker.cxx:674)
==18661==    by 0x879CD31: igstk::StateMachine::ProcessInput(unsigned long const&) (igstkStateMachine.txx:368)
==18661==    by 0x8799DE0: igstk::StateMachine::ProcessInputs() (igstkStateMachine.txx:298)
==18661==    by 0x878CF85: igstk::Tracker::UpdateStatus() (igstkTracker.cxx:277)
==18661==    by 0x87A2857: itk::SimpleMemberCommand::Execute(itk::Object*, itk::EventObject const&) (itkCommand.h:248)
==18661==    by 0x89D614D: itk::SubjectImplementation::InvokeEvent(itk::EventObject const&, itk::Object*) (itkSmartPointer.h:71)
==18661==    by 0x89D7170: itk::Object::InvokeEvent(itk::EventObject const&) (itkObject.cxx:450)
==18661==    by 0x873AD13: igstk::PulseGenerator::EmitPulseProcessing() (igstkPulseGenerator.cxx:284)
==18661==    by 0x8742363: igstk::StateMachine::ProcessInput(unsigned long const&) (igstkStateMachine.txx:368)
==18661==    by 0x873FFBC: igstk::StateMachine::ProcessInputs() (igstkStateMachine.txx:298)
==18661==    by 0x873AA1F: igstk::PulseGenerator::CallbackTimer() (igstkPulseGenerator.cxx:261)
==18661==    by 0x873A799: igstk::PulseGenerator::CallbackTimerGlobal(void*) (igstkPulseGenerator.cxx:248)
==18661==    by 0x873B601: igstk::PulseGenerator::InvokeTimeoutActions() (igstkPulseGenerator.cxx:422)
==18661==    by 0x873B493: igstk::PulseGenerator::CheckTimeouts() (igstkPulseGenerator.cxx:375)
==18661==    by 0x83F36F4: igstkSpatialObjectTest(int, char**) (igstkSpatialObjectTest.cxx:194)
==18661==    by 0x831951B: main (igstkTestMain.h:133)




More information about the IGSTK-Developers mailing list