[vtkusers] Core dump in Cube.cxx with vtk in RedHat7.0

Tom G. Smith (B75826) smitty at kcc.com
Tue Oct 17 17:03:56 EDT 2000


In addition to tcl scripts failing, I get a similar core dump from
Cube.cxx, after installing vtk 3.1.2 on RedHat 7.0:

sh-2.04$ cp /opt/vtk/graphics/examplesCxx/Cube.cxx .
sh-2.04$ vud `which vtkbuildmake`
sh-2.04$ vtkbuildmake Cube
sh-2.04$ make -f Cube.make Cube
c++  -g -O2 -fPIC -DVTK_USE_PTHREADS -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. -I/opt/vtk/common -I/opt/vtk/patented -I/opt/vtk/graphics/examplesCxx  -I/opt/vtk/graphics -DVTK_USE_GRAPHICS -I/opt/vtk/imaging -DVTK_USE_IMAGING -I/opt/vtk/contrib -DVTK_USE_CONTRIB -DVTK_USE_OGLR    -I/usr/X11R6/include -c Cube.cxx -o Cube.o
c++ -o Cube  -g -O2 -fPIC -DVTK_USE_PTHREADS -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. -I/opt/vtk/common -I/opt/vtk/patented -I/opt/vtk/graphics/examplesCxx  -I/opt/vtk/graphics -DVTK_USE_GRAPHICS -I/opt/vtk/imaging -DVTK_USE_IMAGING -I/opt/vtk/contrib -DVTK_USE_CONTRIB -DVTK_USE_OGLR    -I/usr/X11R6/include Cube.o  /opt/vtk/imaging/libVTKImaging.so /opt/vtk/contrib/libVTKContrib.so /opt/vtk/graphics/libVTKGraphics.so /opt/vtk/common/libVTKCommon.so -L/usr/X11R6/lib -lGL -ldl -lpthread \
-L/usr/X11R6/lib -lSM -lICE  \
-lSM -lICE -lXext -lXt -lX11 -lm
sh-2.04$ ./Cube
Segmentation fault (core dumped)
sh-2.04$ gdb -c core -e Cube -d .
...
#0  0x40b876d0 in glXGetCurrentContext () from /usr/lib/libGL.so.1


------------------------------------------------------------------------------
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.

==============================================================================




More information about the vtkusers mailing list