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

Dean N. Williams williams13 at llnl.gov
Mon Oct 7 09:38:17 EDT 2002


Charl,

    This is the output I received from running "gdb":

cloud% gdb python
GNU gdb Red Hat Linux (5.1.90CVS-5)
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-redhat-linux"...
(gdb) run vtkRenderWidget.py
Starting program: /data/ASD_work/cdat/bin/python vtkRenderWidget.py
[New Thread 1024 (LWP 13266)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 13266)]
0x400360c7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
(gdb) bt
#0  0x400360c7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#1  0x4207ac18 in free () from /lib/i686/libc.so.6
#2  0x41831952 in TclpFree ()
   from /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
#3  0x417db236 in Tcl_Free ()
   from /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
#4  0x41816780 in ResetObjResult ()
   from /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
#5  0x41815fd5 in Tcl_SetResult ()
   from /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
#6  0x4183a590 in Tk_MainWindow ()
   from /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
#7  0x417d41e0 in Vtkrenderingpythontkwidgets_Init ()
   from /data/vtk4.0/VTK/bin/libvtkRenderingPythonTkWidgets.so
#8  0x4013e3c6 in Tcl_LoadObjCmd ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#9  0x401286d4 in TclExecuteByteCode ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#10 0x4010e1da in Tcl_EvalObjEx ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#11 0x40111e51 in Tcl_CatchObjCmd ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#12 0x4014450a in EvalObjv ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#13 0x40144c0d in Tcl_EvalEx ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#14 0x40144f0d in Tcl_Eval ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#15 0x4008cbd1 in Tkapp_Eval ()
   from /data/ASD_work/cdat/lib/python2.2/lib-dynload/_tkinter.so
#16 0x080b146b in PyCFunction_Call ()
#17 0x080723ec in eval_frame ()
#18 0x0807339f in PyEval_EvalCodeEx ()
#19 0x08074189 in fast_function ()
#20 0x0807248b in eval_frame ()
#21 0x0807339f in PyEval_EvalCodeEx ()
#22 0x080a7865 in function_call ()
#23 0x0809a7c4 in PyObject_Call ()
#24 0x0809fc1f in instancemethod_call ()
#25 0x0809a7c4 in PyObject_Call ()
#26 0x08073f2d in PyEval_CallObjectWithKeywords ()
#27 0x0809cb3d in PyInstance_New ()
#28 0x0809a7c4 in PyObject_Call ()
#29 0x0807440b in do_call ()
#30 0x080724a2 in eval_frame ()
#31 0x0807339f in PyEval_EvalCodeEx ()
#32 0x08074189 in fast_function ()
#33 0x0807248b in eval_frame ()
---Type <return> to continue, or q <return> to quit---
#34 0x0807339f in PyEval_EvalCodeEx ()
#35 0x0806fcfa in PyEval_EvalCode ()
#36 0x08088f8c in run_node ()
#37 0x08088f4d in run_err_node ()
#38 0x08088f1a in PyRun_FileExFlags ()
#39 0x080882bf in PyRun_SimpleFileExFlags ()
#40 0x08087dc3 in PyRun_AnyFileExFlags ()
#41 0x08053423 in Py_Main ()
#42 0x08052d51 in main ()
#43 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

>On Mon, 2002-10-07 at 14:45, Dean N. Williams wrote:
>  
>
>>    I am trying to run VTK 4.0 on my PC Linux Red Hat 7.2 platform with 
>>Python 2.2.1
>>    and tcl/tk 8.3.3. For the most part Python/VTK works, but I am 
>>running into the following
>>    core dumps in the Wrapping/Python directory:
>>
>>cloud% python vtkGetDataRoot.py
>>cloud% python vtkLoadPythonTkWidgets.py
>>cloud% python vtkpython.py
>>cloud% python vtkpythontk.py
>>cloud% python vtkRenderWidget.py
>>Segmentation fault
>>cloud% python vtkTkImageViewerWidget.py
>>Segmentation fault
>>cloud% python vtkTkImageWindowWidget.py
>>Segmentation fault
>>cloud% python vtkTkRenderWidget.py
>>Segmentation fault
>>cloud%
>>    
>>
>
>I haven't seen these before.  Could you try generating a back-trace? 
>I.e. do the following in the Wrapping/Python directory:
>1. $ gdb python
>2. (gdb) run vtkRenderWidget.py
>... wait for the segmentation fault.
>3. (gdb) bt
>
>Study the output for possibilities and/or send it to this list.
>
>Regards,
>Charl
>
>  
>





More information about the vtkusers mailing list