[IGSTK-Users] Segmentation fault + GLXBadDrawable

"Özgür Güler" ozgur_guler at gmx.at
Thu Oct 4 12:21:46 EDT 2007


No suggestions yet, again my problem. Please help
Hi,

the error occurs also, when I try to load images twice in the needlebiopsy example application.
I put a snippet of the statemachine output below.
1. attempt to load a image: works fine 
2. attempt to load a image: I get the "LoadImageSuccesInput" but the app crashes when it executes the function ConnectImageRepresentationProcessing()
error forcing part in the function:

...
this->m_ImageRepresentationAxial->RequestGetSliceNumberBounds();
this->m_ImageRepresentationSagittal->RequestGetSliceNumberBounds();
this->m_ImageRepresentationCoronal->RequestGetSliceNumberBounds();

this->DisplayAxial->AddObserver( TransformModifiedEvent(), 
                                   m_ViewPickerObserver );
this->DisplaySagittal->AddObserver( TransformModifiedEvent(), 
                                   m_ViewPickerObserver );
this->DisplayCoronal->AddObserver( TransformModifiedEvent(), 
                                   m_ViewPickerObserver );   
...

StateMachineOutput "NeedleBiopsy"
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 PatientNameReadyState(131)  with RequestLoadImag eInput(152) ---> WaitingForDICOMDirectoryState(132).
(DEBUG) Set ImageReader directory: /Images /HeadSkullCT/CT-20070707/20070707/
(DEBUG) ImageReader loading images...
(DEBUG) Image Loaded...
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 WaitingForDICOMDirectoryState(132)  with LoadIma geSuccessInput(153) ---> ImageReadyState(133).
(DEBUG) Patient name mismatch
(DEBUG) Patient name is overwritten to:HNO ^PHANTOM ,^^^^
(ERROR) In class NeedleBiopsy No transitions have been defined for current state and input  State = 133 [ImageReadyState] Inp ut = 153 [LoadImageSuccessInput]
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 ImageReadyState(133)  with OverwritePatientNameI nput(156) ---> PatientNameVerifiedState(134).
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 PatientNameVerifiedState(134)  with AxialBoundsI nput(180) ---> PatientNameVerifiedState(134).
(DEBUG) SetAxialSliderBounds()
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 PatientNameVerifiedState(134)  with SagittalBoun dsInput(181) ---> PatientNameVerifiedState(134).
(DEBUG) SetSagittalSliderBounds()
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 PatientNameVerifiedState(134)  with CoronalBound sInput(182) ---> PatientNameVerifiedState(134).
(DEBUG) SetCoronalSliderBounds()
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 PatientNameVerifiedState(134)  with RequestLoadI mageInput(152) ---> WaitingForDICOMDirectoryState(132).
(DEBUG) Set ImageReader directory: /Images/H EAD_4626330^CT-4626330/CT-20000707-181259.000/20000707/
(DEBUG) ImageReader loading images...
(DEBUG) Image Loaded...
(DEBUG) State transition is being made : N eedleBiopsy  PointerID 0x8e8ee0 WaitingForDICOMDirectoryState(132)  with LoadIma geSuccessInput(153) ---> ImageReadyState(133).
(DEBUG) Patient name mismatch
ERROR: In /home/ozi/Desktop/toolkits/VTK/Filtering/vtkStreamingDemandDrivenPipel ine.cxx, line 628
vtkStreamingDemandDrivenPipeline (0x116c3e0): The update extent specified in the  information for output port 0 on algorithm vtkImageMapToColors(0x971d90) is 0 5 11 0 511 223 223, which is outside the whole extent 0 511 0 511 0 75.

ERROR: In /home/ozi/Desktop/toolkits/VTK/Filtering/vtkImageData.cxx, line 1450
vtkImageData (0x16d1ad0): GetScalarPointer: Pixel (0, 0, 223) not in memory.
 Current extent= (0, 511, 0, 511, 0, 75)

Segmentation fault

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the IGSTK-Users mailing list