[Numpy-tickets] [NumPy] #714: segfault when using 0-d array as index

NumPy numpy-tickets@scipy....
Tue Apr 1 10:34:16 CDT 2008

#714: segfault when using 0-d array as index
 Reporter:  gabriel     |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  high        |    Milestone:          
Component:  numpy.core  |      Version:  none    
 Severity:  major       |   Resolution:          
 Keywords:  segfault    |  
Comment (by gabriel):

 I just compiled a new numpy from svn, and I cannot reproduce the problem
 with that version anymore ('1.0.5.dev4953'). If I go back to 1.0.4 (self-
 compiled from tarball) I can reproduce it. Hmmm... Perhaps I overlooked a
 previous, post-1.0.4 ticket that has been solved.
 Best Gabriel

 Replying to [ticket:714 gabriel]:
 > In [1]: import numpy
 > In [2]: numpy.__version__
 > Out[2]: '1.0.4'
 > In [3]: numpy.zeros(10)[numpy.array(0)]
 > Segmentation fault (core dumped)
 > I work with Linux, pentium 4 machine. But another pc in the lab with
 windows had the same problem. Best, Gabriel

Ticket URL: <http://scipy.org/scipy/numpy/ticket/714#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list