segfault when using Python interface.

Berthold Höllmann bhoel at server.python.net
Thu Jul 1 19:14:48 EDT 1999


Hello,

I experience a segmentation fault when I try to run python on mace.py:

>gdb python
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 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 "i686-pc-linux-gnu"...
(gdb) run mace.py
Starting program: /usr/local/bin/python mace.py

Program received signal SIGSEGV, Segmentation fault.
0x4062c281 in vtkRenderWindowInteractor::JoystickRotateCamera ()
(gdb) where
#0  0x4062c281 in vtkRenderWindowInteractor::JoystickRotateCamera ()
#1  0x404dde94 in vtkXRenderWindowInteractorTimer ()
#2  0x402e9d4c in DoOtherSources ()
#3  0x402e9fc4 in XtAppNextEvent ()
#4  0x402dfd67 in XtAppMainLoop ()
#5  0x404de612 in vtkXRenderWindowInteractor::Start ()
#6  0x40790a28 in PyvtkRenderWindowInteractor_Start ()
#7  0x8076240 in call_builtin (func=0x80d17f0, arg=0x809fdc0, kw=0x0)
    at ceval.c:2359
#8  0x8076158 in PyEval_CallObjectWithKeywords (func=0x80d17f0,
arg=0x809fdc0, 
    kw=0x0) at ceval.c:2324
#9  0x8075325 in eval_code2 (co=0x80cbef0, globals=0x80a0bb8,
locals=0x80a0bb8, 
    args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0,
owner=0x0)
    at ceval.c:1654
#10 0x8073692 in PyEval_EvalCode (co=0x80cbef0, globals=0x80a0bb8,
locals=0x80a0bb8)
    at ceval.c:324
#11 0x805b74e in run_node (n=0x80bb710, filename=0xbffff4f8 "mace.py", 
    globals=0x80a0bb8, locals=0x80a0bb8) at pythonrun.c:887
#12 0x805b708 in run_err_node (n=0x80bb710, filename=0xbffff4f8
"mace.py", 
    globals=0x80a0bb8, locals=0x80a0bb8) at pythonrun.c:872
#13 0x805b6e0 in PyRun_File (fp=0x809e828, filename=0xbffff4f8
"mace.py", 
    start=257, globals=0x80a0bb8, locals=0x80a0bb8) at pythonrun.c:860
#14 0x805ae6e in PyRun_SimpleFile (fp=0x809e828, filename=0xbffff4f8
"mace.py")
    at pythonrun.c:570
#15 0x805ab01 in PyRun_AnyFile (fp=0x809e828, filename=0xbffff4f8
"mace.py")
    at pythonrun.c:451
#16 0x804efcb in Py_Main (argc=2, argv=0xbffff304) at main.c:287
#17 0x804eac8 in main (argc=2, argv=0xbffff304) at python.c:12
(gdb) The program is running.  Exit anyway? (y or n) y

I'm running a Linux glibc2 system (mostly SuSE 6.1). I compiled
vtk_nightly from 19990701.

Greetings 

Berthold


-- 
bhoel at starship.python.net / http://starship.python.net/crew/bhoel/
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list