[vtkusers] Segmentation fault with sample applications (ATI graphics problem?)

Charlotte Curtis curtisc at uoguelph.ca
Wed Sep 26 17:06:02 EDT 2007


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):

#0  0xb7a01f2f in memcpy () from /lib/libc.so.6
#1  0xb64b080f in std::string::_S_copy_chars () from /usr/lib/libstdc++.so.5
#2  0xb64b466d in
std::string::_M_replace_safe<__gnu_cxx::__normal_iterator<char*,
std::string> () from /usr/lib/libstdc++.so.5
#3  0xb64b4595 in std::string::_M_replace<char const*> () from
/usr/lib/libstdc++.so.5
#4  0xb64b29fb in std::string::replace () from /usr/lib/libstdc++.so.5
#5  0xb6c0eb60 in Initialize () from /usr/lib/dri/fglrx_dri.so
#6  0xb6beccb8 in ShSetResourceLimits () from /usr/lib/dri/fglrx_dri.so
#7  0xb6756a09 in __glslATIInitFrontEndParser () from
/usr/lib/dri/fglrx_dri.so
#8  0xb6957da3 in __glEarlyInitContext () from /usr/lib/dri/fglrx_dri.so
#9  0xb67b3942 in __glATICreateContext () from /usr/lib/dri/fglrx_dri.so
#10 0xb6a3cfb9 in fglX11CreateHWContext () from /usr/lib/dri/fglrx_dri.so
#11 0xb6a540a8 in ?? () from /usr/lib/dri/fglrx_dri.so
#15 0xb6a53345 in ?? () from /usr/lib/dri/fglrx_dri.so
#23 0xb6a535b6 in ?? () from /usr/lib/dri/fglrx_dri.so

>From the looks of things, it's something to do with the direct rending of my
graphics card driver (ATI X1600).

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,

Charlotte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070926/e796f29b/attachment.htm>


More information about the vtkusers mailing list