I'm a new user of ITK/VTK, and I just finished compiling and building the sample applications for ITK. However, when I run them (for example, ThresholdSegmentationLevelSet), I always get a segmentation fault. Sometimes it happens when I click on Image Display, and sometimes I can display the image no problem - the only consistency is that it always crashes when I click VTK Render. I tried running it in GDB and this is my stack trace (minus a bunch of garbage lines):
<br><br>#0 0xb7a01f2f in memcpy () from /lib/libc.so.6<br>#1 0xb64b080f in std::string::_S_copy_chars () from /usr/lib/libstdc++.so.5<br>#2 0xb64b466d in std::string::_M_replace_safe<__gnu_cxx::__normal_iterator<char*, std::string> () from /usr/lib/libstdc++.so.5
<br>#3 0xb64b4595 in std::string::_M_replace<char const*> () from /usr/lib/libstdc++.so.5<br>#4 0xb64b29fb in std::string::replace () from /usr/lib/libstdc++.so.5<br>#5 0xb6c0eb60 in Initialize () from /usr/lib/dri/fglrx_dri.so
<br>#6 0xb6beccb8 in ShSetResourceLimits () from /usr/lib/dri/fglrx_dri.so<br>#7 0xb6756a09 in __glslATIInitFrontEndParser () from /usr/lib/dri/fglrx_dri.so<br>#8 0xb6957da3 in __glEarlyInitContext () from /usr/lib/dri/fglrx_dri.so
<br>#9 0xb67b3942 in __glATICreateContext () from /usr/lib/dri/fglrx_dri.so<br>#10 0xb6a3cfb9 in fglX11CreateHWContext () from /usr/lib/dri/fglrx_dri.so<br>#11 0xb6a540a8 in ?? () from /usr/lib/dri/fglrx_dri.so<br>#15 0xb6a53345 in ?? () from /usr/lib/dri/fglrx_dri.so
<br>#23 0xb6a535b6 in ?? () from /usr/lib/dri/fglrx_dri.so<br><br>From the looks of things, it's something to do with the direct rending of my graphics card driver (ATI X1600).<br><br>This happens with my dataset as well as with VTKData samples (such as VTKData/data/HeadMRVolume.mhd). Any clue what I can do? It's a little discouraging that not even the sample applications work. Thanks,
<br><br>Charlotte<br>