[Dcmlib] vtkgdcmViewer
jean-michel.rouet at philips.com
jean-michel.rouet at philips.com
Fri Dec 17 11:30:29 CET 2004
Bonjour,
Lorsque je fais tourner vtkgdcmViewer sur l'image
ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm
le viewer affiche correctement la premiere image, mais des que j'appuie
sur une touche, alors la le programme se fige. plus rien ne marche.
Qu'a cela ne tienne, j'ai lancé purify dessus pour voir ce qui se passe,
et j'ai compilé vtk (version cvs) en debug.
resultat des courses, un debordement de tableau apparait dans
vtkImageMapToWindowLevelColorsExectue()
mais j'y comprend pas grand chose de plus... (ci joint la sortie de
purify).
Est-ce un probleme du a vtk, ou est-ce un probleme du au vtkgdcmViewer qui
utilise mal vtk ???
JM
[E] ABW: Array bounds write in
E::vtkImageMapToWindowLevelColorsExecute(class
vtkImageMapToWindowLevelColors *,class vtkImageData *,unsigned char
*,class vtkImageData *,unsigned char *,int * const,int) {1 occurrence}
Writing 1 byte to 0x2cb84050 (1 byte at 0x2cb84050 illegal)
Address 0x2cb84050 is 1 byte past the end of a 1327104 byte block
at 0x2ca40050
Address 0x2cb84050 points to a C++ new block in heap 0x0cac0000
Thread ID: 0xc84
Error location
E::vtkImageMapToWindowLevelColorsExecute(class
vtkImageMapToWindowLevelColors *,class vtkImageData *,unsigned char
*,class vtkImageData *,unsigned char *,int * const,int)
[vtkimagemaptowindowlevelcolors.cxx:370]
vtkImageMapToWindowLevelColors::ThreadedRequestData(vtkInformation
*,vtkInformationVector * *,vtkInformationVector *,vtkImageData * *
*,vtkImageData * *,int * const,int)
[vtkimagemaptowindowlevelcolors.cxx:411]
vtkThreadedImageAlgorithmThreadedExecute(void *)
[vtkthreadedimagealgorithm.cxx:192]
vtkMultiThreader::SingleMethodExecute(void)
[vtkmultithreader.cxx:270]
vtkThreadedImageAlgorithm::RequestData(vtkInformation
*,vtkInformationVector * *,vtkInformationVector *)
[vtkthreadedimagealgorithm.cxx:265]
vtkImageMapToWindowLevelColors::RequestData(vtkInformation
*,vtkInformationVector * *,vtkInformationVector *)
[vtkimagemaptowindowlevelcolors.cxx:80]
vtkImageAlgorithm::ProcessRequest(vtkInformation
*,vtkInformationVector * *,vtkInformationVector *)
[vtkimagealgorithm.cxx:108]
vtkExecutive::CallAlgorithm(vtkInformation *,int)
[vtkexecutive.cxx:634]
vtkDemandDrivenPipeline::ExecuteData(vtkInformation *)
[vtkdemanddrivenpipeline.cxx:434]
vtkDemandDrivenPipeline::ProcessRequest(vtkInformation *)
[vtkdemanddrivenpipeline.cxx:205]
vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation *)
[vtkstreamingdemanddrivenpipeline.cxx:127]
vtkDemandDrivenPipeline::UpdateData(int)
[vtkdemanddrivenpipeline.cxx:398]
vtkDataObject::UpdateData(void) [vtkdataobject.cxx:665]
vtkImageActor::RenderOpaqueGeometry(vtkViewport *)
[vtkimageactor.cxx:169]
vtkRenderer::UpdateGeometry(void) [vtkrenderer.cxx:465]
Allocation location
new(UINT) [newop.cpp:10]
<>=(UINT) [newaop.cpp:7]
vtkDataArrayTemplate<BYTE>::Allocate(int,int)
[vtkdataarraytemplate.txx:95]
vtkDataArrayTemplate<BYTE>::SetNumberOfValues(int)
[vtkdataarraytemplate.txx:491]
vtkDataArrayTemplate<BYTE>::SetNumberOfTuples(int)
[vtkdataarraytemplate.txx:286]
vtkImageData::AllocateScalars(void) [vtkimagedata.cxx:1540]
vtkImageAlgorithm::AllocateOutputData(vtkImageData *,int *)
[vtkimagealgorithm.cxx:208]
vtkThreadedImageAlgorithm::RequestData(vtkInformation
*,vtkInformationVector * *,vtkInformationVector *)
[vtkthreadedimagealgorithm.cxx:236]
vtkImageMapToWindowLevelColors::RequestData(vtkInformation
*,vtkInformationVector * *,vtkInformationVector *)
[vtkimagemaptowindowlevelcolors.cxx:80]
vtkImageAlgorithm::ProcessRequest(vtkInformation
*,vtkInformationVector * *,vtkInformationVector *)
[vtkimagealgorithm.cxx:108]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20041217/171b2767/attachment.html>
More information about the Dcmlib
mailing list