[Insight-developers] stack overflow problem

Bill Hoffman bill.hoffman@kitware.com
Mon, 30 Apr 2001 16:31:16 -0400


--=====================_538781506==_.ALT
Content-Type: text/plain; charset="us-ascii"

It works in itk, because cmake adds this to the link lines of
executables:


  libOptions += "/STACK:10000000 ";

At 04:27 PM 4/30/2001 -0500, Ting Chen wrote:
>HI!
>I am developing the a gibbs prior image filter for RGB images. 
>itkGibbsPriorFilter works fine in itk and this new itkRGBGibbsPriorFilter class using the same regionlabel method as in itkGibbsPriorFilter, however, the GetPixel method in labelregion method of this new class will cause a stack overflow ( itkImage.GetPixel 
>->itkimagebase.computeoffset() ->itkImageRegion.GetIndex(), please check the itkGIbbsPriorFilter for more detail ). I do not know where this problem comes from. I build the itkRGBGibbsPriorFilter outside the itk workspace and did not use the configuration for itk.
> 
>will you please check what the problem might be? shall I reset some complier or linker variables? anybody has the similar problem?
>Thanks!
>ting

--=====================_538781506==_.ALT
Content-Type: text/html; charset="us-ascii"

It works in itk, because cmake adds this to the link lines of
executables:


  libOptions += "/STACK:10000000 ";

At 04:27 PM 4/30/2001 -0500, Ting Chen wrote:
HI!
I am developing the a gibbs prior image filter for RGB images.
itkGibbsPriorFilter works fine in itk and this new itkRGBGibbsPriorFilter class using the same regionlabel method as in itkGibbsPriorFilter, however, the GetPixel method in labelregion method of this new class will cause a stack overflow ( itkImage.GetPixel
->itkimagebase.computeoffset() ->itkImageRegion.GetIndex(), please check the itkGIbbsPriorFilter for more detail ). I do not know where this problem comes from. I build the itkRGBGibbsPriorFilter outside the itk workspace and did not use the configuration for itk.

 
will you please check what the problem might be? shall I reset some complier or linker variables? anybody has the similar problem?
Thanks!
ting
--=====================_538781506==_.ALT--