[vtkusers] segmentation fault

Dharmendra P dharmendra at strandgenomics.com
Wed Sep 4 00:14:35 EDT 2002


Hi all,
    Iam sending the gdb output(backtrace).When i call new
on any vtk classes it is giving this errors.Strangely example programs are
working.

I am working on linux(debian) with vtk 4.0,

thanks
dharmendra

   Program received signal SIGSEGV, Segmentation fault.
0x40cc528f in malloc () from /lib/libc.so.6
(gdb) backtrace
#0  0x40cc528f in malloc () from /lib/libc.so.6
#1  0x40cc4914 in malloc () from /lib/libc.so.6
#2  0x40c188b9 in __builtin_new () from /usr/lib/libstdc++-libc6.2-2.so.3
#3  0x40a2742a in vtkRayCaster::New ()
   from /home/gans/docking/dharm/viz/../VTK/bin/libvtkRendering.so
#4  0x409699ca in vtkRenderer::vtkRenderer ()
   from /home/gans/docking/dharm/viz/../VTK/bin/libvtkRendering.so
#5  0x409c782c in vtkOpenGLRenderer::vtkOpenGLRenderer ()
   from /home/gans/docking/dharm/viz/../VTK/bin/libvtkRendering.so
#6  0x409c7781 in vtkOpenGLRenderer::New ()
   from /home/gans/docking/dharm/viz/../VTK/bin/libvtkRendering.so
#7  0x4092c373 in vtkGraphicsFactory::CreateInstance ()
   from /home/gans/docking/dharm/viz/../VTK/bin/libvtkRendering.so
#8  0x40969bdc in vtkRenderer::New ()
   from /home/gans/docking/dharm/viz/../VTK/bin/libvtkRendering.so
#9  0x8049790 in ligand::initGraphics (this=0x8057d88) at ligand.cpp:23
#10 0x8049f12 in ligand::display (this=0x8057d88, 
    path=0x8054c80 "/home/gans/docking/dharm/viz/out.mol2") at
ligand.cpp:138
#11 0x804a251 in main () at ligand.cpp:193
#12 0x40c71dcc in __libc_start_main () from /lib/libc.so.6





More information about the vtkusers mailing list