[Numpy-discussion] Current SVN segfaults under VC7
oliphant.travis at ieee.org
Wed Mar 22 19:27:03 CST 2006
Tim Hochberg wrote:
> OK, now that I've got things working, I can report a real segfault
> under VC7. The following snippet of code:
> from numpy import *
> a = arange(100.)
> b = array(1+1j)
> (a+1) ** (b+3)
> will cause current CVS to crash. [under Window XP compiled with VC7].
> I also get a segfaults using 0.9.6 from scipy.org, which I believe is
> compiled with mingw, so it must not just be a vc7 thing. It doesn't
> happen if b is python scalar as opposed to a numpy scalar, FWIW.
> Can anyone reproduce this on a non-windows platform?
Should be fixed in SVN, now. The problem was the use of
PyArray_ISINTEGER macro on a non array object.
More information about the Numpy-discussion