[vtkusers] Problem building VTK 4.0 under Debian Linux

Leila Baghdadi baghdadi at sickkids.ca
Tue Jan 28 19:48:21 EST 2003


Hey Brian

If you can pass all those lines you might want to check your dataset and 
make sure that your dataformat is not the problem as you are trying to 
call a method from vtkCellData(). I have seen this problem alot when I was 
doing FE mesh generation and submitted a wrong dataformat to the class it 
simply crashed specially with classes that dealt with cells and their 
links.


hope this helps

Leila  

 On Tue, 28 Jan 2003, Brian White wrote:

> Hello all,
> 
> I'm still trying to figure out why I can't build VTK 4.0 with Python 
> wrappers and get it to work.  I installed a RedHat 7.3 system, built VTK 
> there, and saw the EXACT same behavior.   Can anyone give me a hand 
> here?  I know plenty of people build this all of the time so I must be 
> doing something obvious.  Again, the commands I'm trying to run are:
> 
> from vtkpython import *
> 
> r = vtkPolyDataReader()
> r.SetFileName('/usr/local/VTKData/Data/bore.vtk')
> r.Update()
> 
> d = r.GetOutput()
> d.GetCellData()
> 
> On the last call i get a segmentation fault.  The last time I tried this 
> I let it dump a core file.  Running that core file through gdb generates 
> the following output.  Any ideas would be greatly appreciated.  This is 
> getting a little frustrating. :-}
> 
> Brian White
> Altarum Institute
> 
> (gdb output follows)
> 
> bwhite at etg9:~/src/tests$ gdb /usr/bin/python2.1 core
> gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, 
> consider re-linking
> GNU gdb 2002-04-01-cvs
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain 
> conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-linux"...(no debugging symbols found)...
> Core was generated by `python2.1 test.py'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...
> done.
> Loaded symbols for /lib/libpthread.so.0
> Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/libutil.so.1...(no debugging symbols 
> found)...done. Loaded symbols for /lib/libutil.so.1
> Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.6
> Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...
> done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /usr/local/lib/vtk/libvtkCommonPython.so...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/vtk/libvtkCommonPython.so
> Reading symbols from /usr/lib/libpython2.1.so.0.0...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libpython2.1.so.0.0
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkCommon.so...(no debugging 
> symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkCommon.so
> Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
> Reading symbols from /usr/local/lib/vtk/libvtkFilteringPython.so...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/vtk/libvtkFilteringPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkCommonPython.so...(no 
> debugging symbols found)...done.
> Loaded symbols for 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkCommonPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkFiltering.so...(no 
> debugging symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkFiltering.so
> Reading symbols from /usr/local/lib/vtk/libvtkIOPython.so...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/vtk/libvtkIOPython.so
> Reading symbols from /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkpng.so...
> (no debugging symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkpng.so
> Reading symbols from /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkzlib.so...
> (no debugging symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkzlib.so
> Reading symbols from /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkjpeg.so...
> (no debugging symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkjpeg.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkFilteringPython.so...(no 
> debugging symbols found)...done.
> Loaded symbols for 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkFilteringPython.so
> Reading symbols from /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkIO.so...
> (no debugging symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkIO.so
> Reading symbols from /usr/local/lib/vtk/libvtkImagingPython.so...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/vtk/libvtkImagingPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkImaging.so...(no debugging 
> symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkImaging.so
> Reading symbols from /usr/local/lib/vtk/libvtkGraphicsPython.so...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/vtk/libvtkGraphicsPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkGraphics.so...(no debugging 
> symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkGraphics.so
> Reading symbols from /usr/local/lib/vtk/libvtkRenderingPython.so...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/vtk/libvtkRenderingPython.so
> Reading symbols from /usr/lib/libGL.so.1...(no debugging symbols found)...
> done.
> Loaded symbols for /usr/lib/libGL.so.1
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkGraphicsPython.so...(no 
> debugging symbols found)...done.
> Loaded symbols for 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkGraphicsPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkImagingPython.so...(no 
> debugging symbols found)...done.
> Loaded symbols for 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkImagingPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkRendering.so...(no 
> debugging symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkRendering.so
> ---Type <return> to continue, or q <return> to quit---
> Reading symbols from /usr/X11R6/lib/libXt.so.6...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libXt.so.6
> Reading symbols from /usr/X11R6/lib/libSM.so.6...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libSM.so.6
> Reading symbols from /usr/X11R6/lib/libICE.so.6...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libICE.so.6
> Reading symbols from /usr/X11R6/lib/libX11.so.6...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libX11.so.6
> Reading symbols from /usr/X11R6/lib/libXext.so.6...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libXext.so.6
> Reading symbols from /usr/lib/libGLcore.so.1...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libGLcore.so.1
> Reading symbols from /usr/local/lib/vtk/libvtkHybridPython.so...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/vtk/libvtkHybridPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkRenderingPython.so...(no 
> debugging symbols found)...done.
> Loaded symbols for 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkRenderingPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkIOPython.so...(no debugging 
> symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkIOPython.so
> Reading symbols from 
> /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkHybrid.so...(no debugging 
> symbols found)...done.
> Loaded symbols for /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkHybrid.so
> #0  0x0808ba89 in PyDict_SetItem ()
> (gdb) where
> #0  0x0808ba89 in PyDict_SetItem ()
> #1  0x0808cd70 in PyDict_SetItemString ()
> #2  0x40764fef in vtkPythonAddClassToHash ()
>    from /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkCommonPython.so
> #3  0x4076532b in vtkPythonGetObjectFromPointer ()
>    from /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkCommonPython.so
> #4  0x406f25f0 in PyvtkDataSet_GetCellData ()
>    from /home/bwhite/src/VTK/python2.1/VTK/bin/libvtkCommonPython.so
> #5  0x08058c5a in PyEval_CallObjectWithKeywords ()
> #6  0x080576f9 in PyEval_EvalCode ()
> #7  0x08054e39 in PyEval_EvalCode ()
> #8  0x0806c993 in PyRun_FileExFlags ()
> #9  0x0806c94a in PyRun_FileExFlags ()
> #10 0x0806c91e in PyRun_FileExFlags ()
> #11 0x0806bd31 in PyRun_SimpleFileExFlags ()
> #12 0x0806b88c in PyRun_AnyFileExFlags ()
> #13 0x08051f00 in Py_Main ()
> #14 0x080519b4 in main ()
> #15 0x400a9a5f in __libc_start_main () from /lib/libc.so.6
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 
> 




More information about the vtkusers mailing list