[vtkusers] Python + VTK:[vtkRenderWidget.py, vtkTkRenderWidget.py] core dump
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon Oct 7 11:18:32 EDT 2002
>>>>> "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
More information about the vtkusers
mailing list