[SciPy-dev] Segfault with arange
Prabhu Ramachandran
prabhu_r at users.sf.net
Tue Dec 13 11:32:06 EST 2005
Hi,
I accidentally typed this on an interpreter session and got a
segfault:
import scipy
s = scipy.arange((10,10,10))
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075417856 (LWP 11145)]
0x0805ba60 in PyObject_IsSubclass ()
(gdb) bt
#0 0x0805ba60 in PyObject_IsSubclass ()
#1 0x0805a547 in PyNumber_TrueDivide ()
#2 0x4044a47a in _calc_length (start=0x813edbc, stop=0x0, step=0x813edb0,
next=0xbffff3f8, cmplx=0) at scipy/base/src/multiarraymodule.c:4244
#3 0x4042398d in PyArray_ArangeObj (start=0x813edbc, stop=0x41ac3a04,
step=0x813edb0, dtype=0x4045a700) at scipy/base/src/multiarraymodule.c:4315
#4 0x4044a7c0 in array_arange (ignored=0x0, args=0x0, kws=0x0)
at scipy/base/src/multiarraymodule.c:4375
#5 0x080fdede in PyCFunction_Call ()
HTH.
cheers,
prabhu
More information about the SciPy-Dev
mailing list