Menu

#4 python -i interp_dopri_test.py segfaults

closed-fixed
nobody
5
2009-03-18
2009-03-18
Nils Wagner
No

gdb python
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...
(no debugging symbols found)
(gdb) run interp_dopri_test.py
Starting program: /usr/bin/python interp_dopri_test.py
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
/home/nwagner/local/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
[ 0.05714896 0.20918955 0.58088371]
[ 3.60595823e-01+0.j -2.29878191e-17+0.j 6.16263995e-02+0.j]
[ 0.06162640+0.j 0.36059582+0.j]
-------- Test: InterpolateTable
names for variables: xnames = ['x1', 'x2']
timeData = [ 0. 11. 20. 30.]
x1data = [ 10.2 -1.4 4.1 6. ]
x2data = [ 0.1 0.01 0.4 -0.8 ]
interptable.variables['x1'](0.4) = 9.77818181818

itabletraj(11, ['x1']) = x1: -1.4 (preferred syntax)

-------- Test: ODE system

Information for Contents

algparams:
init_step: 0.02
checklevel: 2
fnspecs:
auxval1: ([t, x], if(x>100,2*cos(10*t/pi),-0.5))
auxval2: ([x], x/2)
ics:
w: 30.0
y: 80
inputs: Variable x1(t)
name: ODEtest
pars:
a: 2
k: 1
tdata: [0, 10]
tdomain: [0, 20]
varspecs:
w: 100 -(1+a)*w*heav(0.2-sin(t+1)) -2*x1 -k*auxval1(t, w)*auxval2(y)
y: 50 - (w/100)*y
xdomain:
w: [0, 340]
y: [0, 150]

Integrating...

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b14cab in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0
(gdb) bt
#0 0x00007ffff7b14cab in PyEval_EvalFrameEx ()
from /usr/lib64/libpython2.6.so.1.0
#1 0x00007ffff7b1b6c0 in PyEval_EvalCodeEx ()
from /usr/lib64/libpython2.6.so.1.0
#2 0x00007ffff7b14f24 in PyEval_EvalFrameEx ()
from /usr/lib64/libpython2.6.so.1.0
#3 0x00007ffff7b1b6c0 in PyEval_EvalCodeEx ()
from /usr/lib64/libpython2.6.so.1.0
#4 0x00007ffff7b14f24 in PyEval_EvalFrameEx ()
from /usr/lib64/libpython2.6.so.1.0
#5 0x00007ffff7b1b6c0 in PyEval_EvalCodeEx ()
from /usr/lib64/libpython2.6.so.1.0
#6 0x00007ffff7b13822 in PyEval_EvalCode () from /usr/lib64/libpython2.6.so.1.0
#7 0x00007ffff7b34b13 in ?? () from /usr/lib64/libpython2.6.so.1.0
#8 0x00007ffff7b34bca in PyRun_FileExFlags ()
from /usr/lib64/libpython2.6.so.1.0
#9 0x00007ffff7b3550d in PyRun_SimpleFileExFlags ()
from /usr/lib64/libpython2.6.so.1.0
#10 0x00007ffff7b40dba in Py_Main () from /usr/lib64/libpython2.6.so.1.0
#11 0x00007ffff6e94586 in __libc_start_main () from /lib64/libc.so.6
#12 0x00000000004006e9 in _start ()

Discussion

  • Rob Clewley

    Rob Clewley - 2009-03-18
    • status: open --> open-fixed
     
  • Rob Clewley

    Rob Clewley - 2009-03-18

    64 bit python lib issue that is fixed in SVN

     
  • Rob Clewley

    Rob Clewley - 2009-03-18
    • status: open-fixed --> closed-fixed