[vtkusers] Python + VTK:[vtkRenderWidget.py, vtkTkRenderWidget.py] core dump

Dean N. Williams williams13 at llnl.gov
Mon Oct 7 12:47:51 EDT 2002


Prabhu,

    I will rebuild the VTK again and hope that this clears things up. 
Here is the
    outcome of running ldd on both shared libraries:

cloud% ldd  /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40144000)
        libdl.so.2 => /lib/libdl.so.2 (0x40159000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x4015c000)
        libvtkCommon.so => /data/vtk4.0/VTK/bin/libvtkCommon.so (0x401c8000)
        libvtkFiltering.so => /data/vtk4.0/VTK/bin/libvtkFiltering.so 
(0x40399000)
        libvtkImaging.so => /data/vtk4.0/VTK/bin/libvtkImaging.so 
(0x403fe000)
        libvtkGraphics.so => /data/vtk4.0/VTK/bin/libvtkGraphics.so 
(0x406ca000)        libvtkRendering.so => 
/data/vtk4.0/VTK/bin/libvtkRendering.so (0x40964000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40b4e000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40b9a000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40ba2000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40bb9000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40c8e000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40c9c000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
(0x40cbe000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

cloud% ldd /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40145000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        libdl.so.2 => /lib/libdl.so.2 (0x4021b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Neither show the use of tcl/tk.

-Dean

>>>>>>"DNW" == Dean N Williams <williams13 at llnl.gov> writes:
>>>>>>            
>>>>>>
>
>    DNW> Charl, This is the output I received from running "gdb":
>
>    DNW> Program received signal SIGSEGV, Segmentation fault.
>    DNW> [Switching to Thread 1024 (LWP 13266)] 0x400360c7 in
>    DNW> pthread_mutex_lock () from /lib/i686/libpthread.so.0 (gdb) bt
>    DNW> #0 0x400360c7 in pthread_mutex_lock () from
>    DNW> /lib/i686/libpthread.so.0 #1 0x4207ac18 in free () from
>    DNW> /lib/i686/libc.so.6 #2 0x41831952 in TclpFree () from
>    DNW> /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so #3
>    DNW> 0x417db236 in Tcl_Free () from
>
>[snip]
>
>    DNW> /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so #9
>
>
>This might be a Tcl/Tk version issue.  Try these:
>
>   ldd  /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
>
>   ldd /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
>
>And make sure they both point to the same version of libtcl*.so and
>libtk*.so.
>
>If they don't then recompile VTK with the libtcl and libtk pointing to
>the same libtcl/tk that your Python's _tkinter.so points to.  This
>might fix your problem.
>
>Good luck!
>
>cheers,
>prabhu
>_______________________________________________
>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