[IGSTK-Developers] UMC in ImageSpatialObjectRepresentation

Luis Ibanez luis.ibanez at kitware.com
Tue Nov 22 18:50:02 EST 2005


Hi David,

Thanks for pointing this out.

The issue was entered in the bug tracker as Bug #2516
http://public.kitware.com/Bug/bug.php?op=show&bugid=2516&pos=0

and a fix has been committed in CVS:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/igstkImageSpatialObjectRepresentation.txx?root=IGSTK&sortby=date&r2=1.12&r1=1.11

A test case was added to the file
igstkCTImageSpatialObjectReadingAndRepresentationTest

http://public.kitware.com/cgi-bin/viewcvs.cgi/Testing/igstkCTImageSpatialObjectReadingAndRepresentationTest.cxx?root=IGSTK&sortby=date&r2=1.4&r1=1.3

To test the behavior when an image from a non-updated reader
has been connected and when an image from an updated reader
has been connected.


   Thanks


      Luis



--------------------
David Gobbi wrote:
>> From the nightly DynamicAnalysis of 
>> igstkCTImageSpatialObjectReadingAndRepresentationTest:
> 
> 
> It looks like an uninitialized m_ImageData is used in 
> ImageSpatialObjectRepresentation::CreateActors(), here are the details:
> 
> 
> UMC ==12345== Conditional jump or move depends on uninitialised value(s)
> ==12345==    at 0x1CB7774D: vtkImageAlgorithm::SetInput(int, 
> vtkDataObject*)
> (vtkImageAlgorithm.cxx:375)
> ==12345==    by 0x1CB77737: vtkImageAlgorithm::SetInput(vtkDataObject*)
> (vtkImageAlgorithm.cxx:369)
> ==12345==    by 0x8542A06: 
> igstk::ImageSpatialObjectRepresentation::CreateActors()
> (igstkImageSpatialObjectRepresentation.txx:385)
> ==12345==    by 0x866BF66: igstk::View::AddObject() (igstkView.cxx:467)
> ==12345==    by 0x867655B: igstk::StateMachine::ProcessInput(unsigned 
> long const&)
> (igstkStateMachine.txx:302)
> ==12345==    by 0x86735FC: igstk::StateMachine::ProcessInputs() 
> (igstkStateMachine.txx:233)
> ==12345==    by 0x866BC87: 
> igstk::View::RequestAddObject(igstk::ObjectRepresentation*)
> (igstkView.cxx:452)
> ==12345==    by 0x837E75F: 
> igstkCTImageSpatialObjectReadingAndRepresentationTest(int, char**)
> (igstkCTImageSpatialObjectReadingAndRepresentationTest.cxx:98)
> ==12345==    by 0x8287D48: main (itkTestMain.h:130)
> 
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
> 
> 




More information about the IGSTK-Developers mailing list