[Numpy-discussion] 64bit check_manyways segfault.

Arnd Baecker baecker at physik.tu-dresden.de
Tue Mar 28 21:54:02 CST 2006


Hi,

with current svn I get a segfault for numpy.test(10, 10):

check_manyways (numpy.lib.tests.test_arraysetops.test_aso)Segmentation
fault

There are no "incompatible pointer type" during the build of numpy.
The backtrace is below.

I hope this has not been reported during the last two days
(I hardly manage to keep up with the traffic during the week ;-).

Best, Arnd


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912507335168 (LWP 12055)]
0x00002aaaabaa4513 in PyArray_NewFromDescr (subtype=0x2aaaabbef320,
descr=0x2aaaabbeba80, nd=1, dims=0x0, strides=0x0, data=0x0,
    flags=0, obj=0x0) at arrayobject.c:3969
3969                    if (dims[i] < 0) {
(gdb) bt
#0  0x00002aaaabaa4513 in PyArray_NewFromDescr (subtype=0x2aaaabbef320,
descr=0x2aaaabbeba80, nd=1, dims=0x0, strides=0x0,
    data=0x0, flags=0, obj=0x0) at arrayobject.c:3969
#1  0x00002aaaabaa6b2e in PyArray_Zeros (nd=1, dims=0x0,
type=0x2aaaabad4c40, fortran_=0) at multiarraymodule.c:4679
#2  0x00002aaaabacebd5 in array_zeros (ignored=0x2aaaabbef320,
args=0x2aaaabbef320, kwds=0x2aaaabad4c40)
    at multiarraymodule.c:4723
#3  0x0000000000478cfb in PyEval_EvalFrame (f=0x95dd30) at ceval.c:3558
#4  0x0000000000479fb1 in PyEval_EvalFrame (f=0x701c80) at ceval.c:3640
#5  0x0000000000479fb1 in PyEval_EvalFrame (f=0x716970) at ceval.c:3640
#6  0x0000000000479fb1 in PyEval_EvalFrame (f=0x7178c0) at ceval.c:3640
#7  0x0000000000479fb1 in PyEval_EvalFrame (f=0x6e4740) at ceval.c:3640
#8  0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab948d50,
globals=0x2aaaabad4c40, locals=0x0, args=0x6e4740, argcount=2,
    kws=0x91bad0, kwcount=0, defs=0x2aaaab950ce8, defcount=1, closure=0x0)
at ceval.c:2736
#9  0x00000000004c6099 in function_call (func=0x2aaaab95e758,
arg=0x2aaaae026758, kw=0x91b1e0) at funcobject.c:548
#10 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#11 0x00000000004772ea in PyEval_EvalFrame (f=0x6e7bb0) at ceval.c:3835
#12 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab948dc0,
globals=0x2aaaabad4c40, locals=0x0, args=0x6e7bb0, argcount=2,
    kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ceval.c:2736
#13 0x00000000004c6099 in function_call (func=0x2aaaab95e7d0,
arg=0x2aaaae0265f0, kw=0x0) at funcobject.c:548
#14 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#15 0x0000000000420ee0 in instancemethod_call (func=0x2aaaabbef320,
arg=0x2aaaae0265f0, kw=0x0) at classobject.c:2447
#16 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#17 0x00000000004777d9 in PyEval_EvalFrame (f=0x80c070) at ceval.c:3766
#18 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab93a340,
globals=0x2aaaabad4c40, locals=0x0, args=0x80c070, argcount=2,
    kws=0x0, kwcount=0, defs=0x2aaaab9607a8, defcount=1, closure=0x0) at
ceval.c:2736
#19 0x00000000004c6099 in function_call (func=0x2aaaab961cf8,
arg=0x2aaaae026878, kw=0x0) at funcobject.c:548
#20 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#21 0x0000000000420ee0 in instancemethod_call (func=0x2aaaabbef320,
arg=0x2aaaae026878, kw=0x0) at classobject.c:2447
#22 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#23 0x000000000044fd80 in slot_tp_call (self=0x2aaaad97d890,
args=0x2aaaae04e450, kwds=0x0) at typeobject.c:4536
#24 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#25 0x00000000004777d9 in PyEval_EvalFrame (f=0x739bd0) at ceval.c:3766
#26 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab94c810,
globals=0x2aaaabad4c40, locals=0x0, args=0x739bd0, argcount=2,
    kws=0x8af160, kwcount=0, defs=0x0, defcount=0, closure=0x0) at
ceval.c:2736
#27 0x00000000004c6099 in function_call (func=0x2aaaab95f050,
arg=0x2aaaae029248, kw=0x91afa0) at funcobject.c:548
#28 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#29 0x00000000004772ea in PyEval_EvalFrame (f=0x7301d0) at ceval.c:3835
#30 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab94c880,
globals=0x2aaaabad4c40, locals=0x0, args=0x7301d0, argcount=2,
    kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ceval.c:2736
#31 0x00000000004c6099 in function_call (func=0x2aaaab95f0c8,
arg=0x2aaaae026d40, kw=0x0) at funcobject.c:548
#32 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#33 0x0000000000420ee0 in instancemethod_call (func=0x2aaaabbef320,
arg=0x2aaaae026d40, kw=0x0) at classobject.c:2447
#34 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#35 0x000000000044fd80 in slot_tp_call (self=0x2aaaaca7acd0,
args=0x2aaaae022c50, kwds=0x0) at typeobject.c:4536
#36 0x0000000000417700 in PyObject_Call (func=0x2aaaabbef320,
arg=0x2aaaabad4c40, kw=0x0) at abstract.c:1756
#37 0x00000000004777d9 in PyEval_EvalFrame (f=0x7760a0) at ceval.c:3766
#38 0x0000000000479fb1 in PyEval_EvalFrame (f=0x6ec260) at ceval.c:3640
#39 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab93adc0,
globals=0x2aaaabad4c40, locals=0x0, args=0x6ec260, argcount=3,
    kws=0x6d26d0, kwcount=0, defs=0x2aaaab963578, defcount=2, closure=0x0)
at ceval.c:2736
#40 0x00000000004788f7 in PyEval_EvalFrame (f=0x6d2520) at ceval.c:3650
#41 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaaab23dc0,
globals=0x2aaaabad4c40, locals=0x0, args=0x6d2520, argcount=2,
    kws=0x66c900, kwcount=0, defs=0x2aaaaca84e30, defcount=2, closure=0x0)
at ceval.c:2736
#42 0x00000000004788f7 in PyEval_EvalFrame (f=0x66c760) at ceval.c:3650
---Type <return> to continue, or q <return> to quit---
#43 0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaab948030,
globals=0x2aaaabad4c40, locals=0x0, args=0x66c760, argcount=0,
    kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ceval.c:2736
#44 0x000000000047af72 in PyEval_EvalCode (co=0x2aaaabbef320,
globals=0x2aaaabad4c40, locals=0x0) at ceval.c:484
#45 0x00000000004a1c72 in PyRun_InteractiveOneFlags (fp=0x2aaaaab132f0,
filename=0x4cbf24 "<stdin>", flags=0x7fffff82fcfc)
    at pythonrun.c:1265
#46 0x00000000004a1e04 in PyRun_InteractiveLoopFlags (fp=0x2aaaab556b00,
filename=0x4cbf24 "<stdin>", flags=0x7fffff82fcfc)
    at pythonrun.c:695
#47 0x00000000004a2350 in PyRun_AnyFileExFlags (fp=0x2aaaab556b00,
filename=0x2aaaabad4c40 "number of dimensions must be >=0",
    closeit=0, flags=0x7fffff82fcfc) at pythonrun.c:658
#48 0x0000000000410788 in Py_Main (argc=0, argv=0x7fffff832721) at
main.c:484
#49 0x00002aaaab34d5aa in __libc_start_main () from /lib64/tls/libc.so.6
#50 0x000000000040fdfa in _start () at start.S:113
#51 0x00007fffff82fdf8 in ?? ()
#52 0x00002aaaaabc19c0 in rtld_errno () from /lib64/ld-linux-x86-64.so.2
#53 0x0000000000000001 in ?? ()





More information about the Numpy-discussion mailing list