[IGSTK-Users] Segmentation fault + GLXBadDrawable
Andinet Enquobahrie
andinet.enqu at kitware.com
Tue Oct 2 09:55:13 EDT 2007
Hi Özgür,
You don't need to directly call LoadImageProcessing(). You should use
RequestReadImage() instead.
Actually LoadImageProcessing() method is not designed to be used for
public interface.
That was a bug. If you update your IGSTK checkout, a fix has been committed.
If you can share part of your code that loads and reloads images, we
should be able to help you figure
out the problem.
HTH
-Andinet
>Hello,
>
>I get the above error message, when I try to reload images.
>e.g. after I called the method LoadImageProcessing() I try to
>load new set of images again with LoadImageProcessing() but it fails.
>The first time I call this function it works, but not twice.
>
>thx
>
>XRequest.145: GLXBadDrawable 0x3c00006
>ERROR: In /home/ozi/Desktop/toolkits/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 628
>vtkStreamingDemandDrivenPipeline (0x171cc60): The update extent specified in the information for output port 0 on algorithm vtkImageMapToColors(0x1727c90) is 0 511 255 255 0 311, 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 (0x1711630): GetScalarPointer: Pixel (0, 255, 156) not in memory.
> Current extent= (0, 511, 0, 511, 0, 75)
>
>
--
==========================================================
Andinet A. Enquobahrie, PhD
R&D Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x124
www.kitware.com
More information about the IGSTK-Users
mailing list