[SciPy-dev] Segmentation fault

Nils Wagner nwagner at mecha.uni-stuttgart.de
Sat Dec 10 06:06:53 CST 2005


scipy.test(1,10) results in a segfault.
Here comes the backtrace

check_basic 
(scipy.io.array_import.test_array_import.test_numpyio) ...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076175008 (LWP 15562)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x421e4861 in numpyio_tofile (self=0x0, 
args=0x45ac5b6c) at numpyiomodule.c:324
#2  0x0811eb56 in PyCFunction_Call (func=0x402b91ac, 
arg=0x45ac5b6c, kw=0x0) at methodobject.c:93
#3  0x080c74ed in PyEval_EvalFrame (f=0x81f0cec) at 
ceval.c:1499
#4  0x080c8551 in PyEval_EvalFrame (f=0x82ca60c) at 
ceval.c:3640
#5  0x080c8bb4 in PyEval_EvalCodeEx (co=0x402c7b60, 
globals=0x402b8b54, locals=0x0, args=0x45903858,
     argcount=2, kws=0x85dbf18, kwcount=0, 
defs=0x402ce9f8, defcount=1, closure=0x0) at ceval.c:2736
#6  0x0811de51 in function_call (func=0x402d1224, 
arg=0x4590384c, kw=0x45ad4d74) at funcobject.c:548
#7  0x0805935e in PyObject_Call (func=0x402d1224, 
arg=0x4590384c, kw=0x45ad4d74) at abstract.c:1756
#8  0x080c4a4d in PyEval_EvalFrame (f=0x8290b04) at 
ceval.c:3835
#9  0x080c8bb4 in PyEval_EvalCodeEx (co=0x402c7ba0, 
globals=0x402b8b54, locals=0x0, args=0x459037d8,
     argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, 
closure=0x0) at ceval.c:2736
#10 0x0811dda2 in function_call (func=0x402d125c, 
arg=0x459037cc, kw=0x0) at funcobject.c:548
#11 0x0805935e in PyObject_Call (func=0x402d125c, 
arg=0x459037cc, kw=0x0) at abstract.c:1756
#12 0x08064bd4 in instancemethod_call (func=0x3, 
arg=0x459037cc, kw=0x0) at classobject.c:2447
#13 0x0805935e in PyObject_Call (func=0x45aefd4c, 
arg=0x45b0774c, kw=0x0) at abstract.c:1756
#14 0x08097c47 in slot_tp_call (self=0x45add74c, 
args=0x45b0774c, kwds=0x0) at typeobject.c:4536
#15 0x0805935e in PyObject_Call (func=0x45add74c, 
arg=0x45b0774c, kw=0x0) at abstract.c:1756
#16 0x080c4c5e in PyEval_EvalFrame (f=0x81e6dfc) at 
ceval.c:3766
#17 0x080c8bb4 in PyEval_EvalCodeEx (co=0x402cc160, 
globals=0x402b8b54, locals=0x0, args=0x459038f8,
     argcount=2, kws=0x8616a30, kwcount=0, defs=0x0, 
defcount=0, closure=0x0) at ceval.c:2736
#18 0x0811de51 in function_call (func=0x402d1614, 
arg=0x459038ec, kw=0x45ad4cec) at funcobject.c:548
#19 0x0805935e in PyObject_Call (func=0x402d1614, 
arg=0x459038ec, kw=0x45ad4cec) at abstract.c:1756
#20 0x080c4a4d in PyEval_EvalFrame (f=0x84436bc) at 
ceval.c:3835
#21 0x080c8bb4 in PyEval_EvalCodeEx (co=0x402cc1a0, 
globals=0x402b8b54, locals=0x0, args=0x45903838,
     argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, 
closure=0x0) at ceval.c:2736
#22 0x0811dda2 in function_call (func=0x402d164c, 
arg=0x4590382c, kw=0x0) at funcobject.c:548
#23 0x0805935e in PyObject_Call (func=0x402d164c, 
arg=0x4590382c, kw=0x0) at abstract.c:1756
#24 0x08064bd4 in instancemethod_call (func=0x3, 
arg=0x4590382c, kw=0x0) at classobject.c:2447
#25 0x0805935e in PyObject_Call (func=0x458fda7c, 
arg=0x45af554c, kw=0x0) at abstract.c:1756
#26 0x08097c47 in slot_tp_call (self=0x459092cc, 
args=0x45af554c, kwds=0x0) at typeobject.c:4536
#27 0x0805935e in PyObject_Call (func=0x459092cc, 
arg=0x45af554c, kw=0x0) at abstract.c:1756
#28 0x080c4c5e in PyEval_EvalFrame (f=0x822257c) at 
ceval.c:3766
#29 0x080c8551 in PyEval_EvalFrame (f=0x820d4ec) at 
ceval.c:3640
#30 0x080c8bb4 in PyEval_EvalCodeEx (co=0x402b47e0, 
globals=0x402b835c, locals=0x0, args=0x82b20b8,
---Type <return> to continue, or q <return> to quit---
     argcount=3, kws=0x82b20c4, kwcount=0, 
defs=0x402d4038, defcount=2, closure=0x0) at ceval.c:2736
#31 0x080c5f67 in PyEval_EvalFrame (f=0x82b1f6c) at 
ceval.c:3650
#32 0x080c8bb4 in PyEval_EvalCodeEx (co=0x4566cb20, 
globals=0x4026c824, locals=0x4026c824, args=0x0,
     argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, 
closure=0x0) at ceval.c:2736
#33 0x080c8de5 in PyEval_EvalCode (co=0x4566cb20, 
globals=0x4026c824, locals=0x4026c824) at ceval.c:484
#34 0x080f7c26 in PyRun_InteractiveOneFlags 
(fp=0x4024d720, filename=0x8124263 "<stdin>", 
flags=0xbfffed04)
     at pythonrun.c:1265
#35 0x080f7e89 in PyRun_InteractiveLoopFlags 
(fp=0x4024d720, filename=0x8124263 "<stdin>", 
flags=0xbfffed04)
     at pythonrun.c:695
#36 0x080f7fb0 in PyRun_AnyFileExFlags (fp=0x4024d720, 
filename=0x8124263 "<stdin>", closeit=0,
     flags=0xbfffed04) at pythonrun.c:658
#37 0x08055917 in Py_Main (argc=0, argv=0xbfffedd4) at 
main.c:484
#38 0x08054fc8 in main (argc=1, argv=0xbfffedd4) at 
python.c:23

Nils




More information about the Scipy-dev mailing list