[SciPy-dev] fft segfault, 64 Bit Opteron

Arnd Baecker arnd.baecker at web.de
Fri Dec 9 10:44:31 CST 2005


Hi Travis,

some more info on the segfault for fft when running scipy.test(10,10).

Looks similar to the other one, but is a different place:

    Multi-dimensional Fast Fourier Transform
===================================================
          |    real input     |   complex input
---------------------------------------------------
   size   |  scipy  | Numeric |  scipy  |  Numeric
---------------------------------------------------
  100x100
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912507335168 (LWP 2965)]
DOUBLE_subtract (args=0x1620400, dimensions=0x7fffffed722c,
steps=0x16bd550, func=0x2aaab7bce000)
    at umathmodule.c:1959
1959                    *((double *)op)=*((double *)i1) - *((double *)i2);
(gdb) bt
#0  DOUBLE_subtract (args=0x1620400, dimensions=0x7fffffed722c,
steps=0x16bd550, func=0x2aaab7bce000)
    at umathmodule.c:1959
#1  0x00002aaaabd421fd in PyUFunc_GenericFunction (self=0x719520,
args=0x2aaab600c830, mps=0x2)
    at ufuncobject.c:1569
#2  0x00002aaaabd44c69 in ufunc_generic_call (self=0x719520,
args=0x2aaab600c830)
    at ufuncobject.c:2553
#3  0x0000000000417808 in PyObject_CallFunction (callable=0x719520,
    format=0x67fffffd796 <Address 0x67fffffd796 out of bounds>) at
abstract.c:1756
#4  0x00002aaaabba68f7 in array_subtract (m1=0x67fffffd796,
m2=0x7fffffed722c) at arrayobject.c:2261
#5  0x00000000004145a7 in binary_op1 (v=0x159a530, w=0x162f490, op_slot=8)
at abstract.c:371
#6  0x000000000041500e in PyNumber_Subtract (v=0x159a530, w=0x162f490) at
abstract.c:422
#7  0x0000000000474c9e in PyEval_EvalFrame (f=0xf741c0) at ceval.c:1144
#8  0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaabd233b0,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0xf741c0, argcount=2, kws=0xf736b8, kwcount=0,
defs=0x2aaaae93ce28,
    defcount=1, closure=0x0) at ceval.c:2736
#9  0x00000000004788f7 in PyEval_EvalFrame (f=0xf734b0) at ceval.c:3650
#10 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab944e30,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0xf734b0, argcount=2, kws=0x834010, kwcount=0,
defs=0x2aaaab967a88,
    defcount=2, closure=0x0) at ceval.c:2736
#11 0x00000000004788f7 in PyEval_EvalFrame (f=0x833e20) at ceval.c:3650
#12 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaab68f6c00,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0x833e20, argcount=1, kws=0x6f1490, kwcount=0,
defs=0x2aaab68f5b28,
    defcount=1, closure=0x0) at ceval.c:2736
#13 0x00000000004788f7 in PyEval_EvalFrame (f=0x6f12e0) at ceval.c:3650
#14 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab95c810,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0x6f12e0, argcount=2, kws=0xb32110, kwcount=0,
defs=0x2aaaab9643a8,
    defcount=1, closure=0x0) at ceval.c:2736
#15 0x00000000004c6099 in function_call (func=0x2aaaab969758,
arg=0x2aaab5425128, kw=0xfab4e0)
    at funcobject.c:548
#16 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756
#17 0x00000000004772ea in PyEval_EvalFrame (f=0x894f90) at ceval.c:3835
#18 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab95c880,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0x894f90, argcount=2, kws=0x0, kwcount=0,
defs=0x0, defcount=0,
    closure=0x0) at ceval.c:2736
#19 0x00000000004c6099 in function_call (func=0x2aaaab9697d0,
arg=0x2aaab54215a8, kw=0x0)
    at funcobject.c:548
#20 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756
#21 0x0000000000420ee0 in instancemethod_call (func=0x1620400,
arg=0x2aaab54215a8, kw=0x0)
    at classobject.c:2447
#22 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756
#23 0x00000000004777d9 in PyEval_EvalFrame (f=0x833780) at ceval.c:3766
#24 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaaab42340,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0x833780, argcount=2, kws=0x0, kwcount=0,
defs=0x2aaaab964168, defcount=1,
    closure=0x0) at ceval.c:2736
#25 0x00000000004c6099 in function_call (func=0x2aaaab96b668,
arg=0x2aaab5421488, kw=0x0)
    at funcobject.c:548
#26 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756
#27 0x0000000000420ee0 in instancemethod_call (func=0x1620400,
arg=0x2aaab5421488, kw=0x0)
    at classobject.c:2447
#28 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756
#29 0x000000000044fd80 in slot_tp_call (self=0x2aaab68f5d10,
args=0x2aaab693ef90, kwds=0x0)
    at typeobject.c:4536
#30 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756
#31 0x00000000004777d9 in PyEval_EvalFrame (f=0x6d3dc0) at ceval.c:3766
#32 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab95e2d0,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0x6d3dc0, argcount=2, kws=0xf51060, kwcount=0,
defs=0x0, defcount=0,
    closure=0x0) at ceval.c:2736
#33 0x00000000004c6099 in function_call (func=0x2aaaab96a050,
arg=0x2aaab5421680, kw=0xf4d590)
    at funcobject.c:548
#34 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756
#35 0x00000000004772ea in PyEval_EvalFrame (f=0xc00a80) at ceval.c:3835
#36 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab95e340,
globals=0x7fffffed722c,
    locals=0x16bd550, args=0xc00a80, argcount=2, kws=0x0, kwcount=0,
defs=0x0, defcount=0,
    closure=0x0) at ceval.c:2736
#37 0x00000000004c6099 in function_call (func=0x2aaaab96a0c8,
arg=0x2aaab5421518, kw=0x0)
    at funcobject.c:548
#38 0x0000000000417700 in PyObject_Call (func=0x1620400,
arg=0x7fffffed722c, kw=0x16bd550)
    at abstract.c:1756

HTH, Arnd




More information about the Scipy-dev mailing list