[Insight-users] Segmentation fault with 2.2G data but not with smaller subset

Sean McBride sean at rogue-research.com
Mon Aug 10 10:38:21 EDT 2009


On 8/10/09 8:41 AM, lynx.abraxas at freenet.de said:

>Is there some way  to
>find out if itk is compiled as 64-bit?

Your backtrace suggests you are indeed running as 64 bit:

(gdb) where
#0  0x00000000005916f0 in itk::ConvertPixelBuffer<unsigned char,
unsigned short, itk::DefaultConvertPixelTraits<unsigned short>
>::ConvertGrayToGray ()
#1  0x00000000005d25be in itk::ConvertPixelBuffer<unsigned char,
unsigned short, itk::DefaultConvertPixelTraits<unsigned short> >::Convert ()

Those addresses are 64 bit.

It could well be a bug in ITK... since you know how to use gdb, I'd
suggest looking for some code that does something like use a small
integer type (like int) for storing sizes.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the Insight-users mailing list