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

NumPy numpy-tickets@scipy....
Tue Apr 1 10:07:42 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       |    Keywords:  segfault
------------------------+---------------------------------------------------
 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>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list