[Matrix-SIG] NumPy crashes

Charles G Waldman cgw@pgt.com
Mon, 14 Sep 1998 17:32:06 -0400 (EDT)


I just upgraded to the latest (?) NumPy, from the LLNLPython5 
distribution.  I'm finding it distressingly easy to get Python to dump 
core when reshaping arrays:

Python 1.5 (#5, Sep 14 1998, 17:26:48)  [GCC 2.7.2.3] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Numeric
>>> Numeric.__version__
'1.4'
>>> w,h = 512,512
>>> wh = w*h
>>> x,y = Numeric.indices((w,h))
>>> x.shape = wh,1
Segmentation fault (core dumped)